mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 01:52:11 +00:00
Using Nest and IFTTT to turn lights on/off
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Uses the Nest thermostat to turn on lights and turn them off.
|
||||
|
||||
- alias: 'Upstairs Light Turn'
|
||||
- alias: 'Upstairs Light Turn on'
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: upstairs_light_on
|
||||
@@ -13,3 +13,12 @@
|
||||
action:
|
||||
service: light.turn_on
|
||||
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
|
||||
Reference in New Issue
Block a user