|
|
|
@ -1,6 +1,6 @@
|
|
|
|
# Uses the Nest thermostat to turn on lights and turn them off.
|
|
|
|
# Uses the Nest thermostat to turn on lights and turn them off.
|
|
|
|
|
|
|
|
|
|
|
|
- alias: 'Upstairs Light Turn'
|
|
|
|
- alias: 'Upstairs Light Turn on'
|
|
|
|
trigger:
|
|
|
|
trigger:
|
|
|
|
- platform: event
|
|
|
|
- platform: event
|
|
|
|
event_type: upstairs_light_on
|
|
|
|
event_type: upstairs_light_on
|
|
|
|
@ -13,3 +13,12 @@
|
|
|
|
action:
|
|
|
|
action:
|
|
|
|
service: light.turn_on
|
|
|
|
service: light.turn_on
|
|
|
|
entity_id: group.upstairs
|
|
|
|
entity_id: group.upstairs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- alias: 'Upstairs Light Turn off'
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
|
|
|
|
- platform: event
|
|
|
|
|
|
|
|
event_type: upstairs_light_off
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
action:
|
|
|
|
|
|
|
|
service: light.turn_off
|
|
|
|
|
|
|
|
entity_id: group.upstairs
|