Using Nest and IFTTT to turn lights on/off

This commit is contained in:
CCOSTAN
2016-10-12 00:56:40 +00:00
parent 76fc776a67
commit 948192f3ec
2 changed files with 12 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
#Todo List
* AUTOMATE LAMP UPSTAIRS using Nest thermostat.
* (Using IFTTT for now - Need to switch over to native HA)
* Put Dash Buttons out there.
* Put door sensor on garage door

View File

@@ -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