mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
Adding new back yard thermostat
This commit is contained in:
@@ -15,18 +15,6 @@ trigger:
|
||||
from: 'on'
|
||||
to: 'off'
|
||||
|
||||
# - id: projector_off
|
||||
# platform: state
|
||||
# entity_id: switch.shelly_projector
|
||||
# from: 'on'
|
||||
# to: 'off'
|
||||
|
||||
# - id: projector_on
|
||||
# platform: state
|
||||
# entity_id: switch.shelly_projector
|
||||
# from: 'off'
|
||||
# to: 'on'
|
||||
|
||||
- id: setting_change
|
||||
platform: state
|
||||
entity_id:
|
||||
@@ -40,8 +28,8 @@ action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: switch.shelly_projector
|
||||
state: 'on'
|
||||
entity_id: media_player.downstairs_roku
|
||||
state: 'playing'
|
||||
sequence:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
@@ -61,8 +49,8 @@ action:
|
||||
entity_id: input_boolean.great_room_cycle_same
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: switch.shelly_projector
|
||||
state: 'off'
|
||||
entity_id: media_player.downstairs_roku
|
||||
state: 'idle'
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
@@ -109,8 +97,8 @@ action:
|
||||
entity_id: input_boolean.great_room_cycle_same
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: switch.shelly_projector
|
||||
state: 'on'
|
||||
entity_id: media_player.downstairs_roku
|
||||
state: 'playing'
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
@@ -280,8 +268,8 @@ action:
|
||||
- choose: # If the projector is off, go ahead and reference all the lights
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: switch.shelly_projector
|
||||
state: 'off'
|
||||
entity_id: media_player.downstairs_roku
|
||||
state: 'idle'
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data_template:
|
||||
|
||||
Reference in New Issue
Block a user