|
|
|
@ -5,8 +5,8 @@
|
|
|
|
- platform: event
|
|
|
|
- platform: event
|
|
|
|
event_type: upstairs_light_on
|
|
|
|
event_type: upstairs_light_on
|
|
|
|
- platform: state
|
|
|
|
- platform: state
|
|
|
|
entity_id: sensor.upstairs_away_mode
|
|
|
|
entity_id: binary_sensor.upstairs_nest_away
|
|
|
|
to: 'False'
|
|
|
|
to: 'off'
|
|
|
|
|
|
|
|
|
|
|
|
condition:
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
- condition: state
|
|
|
|
@ -24,8 +24,8 @@
|
|
|
|
- platform: event
|
|
|
|
- platform: event
|
|
|
|
event_type: upstairs_light_off
|
|
|
|
event_type: upstairs_light_off
|
|
|
|
- platform: state
|
|
|
|
- platform: state
|
|
|
|
entity_id: sensor.upstairs_away_mode
|
|
|
|
entity_id: binary_sensor.upstairs_nest_away
|
|
|
|
to: 'True'
|
|
|
|
to: 'on'
|
|
|
|
|
|
|
|
|
|
|
|
action:
|
|
|
|
action:
|
|
|
|
service: light.turn_off
|
|
|
|
service: light.turn_off
|
|
|
|
|