diff --git a/Todo.md b/Todo.md index a8546f27..0a88058b 100755 --- a/Todo.md +++ b/Todo.md @@ -1,6 +1,7 @@ #Todo List -* AUTOMATE LAMP UPSTAIRS using Nest thermostat. +* 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 diff --git a/automation/upstairs_motion_ifttt.yaml b/automation/upstairs_motion_ifttt.yaml index 8172af07..2b0e43ea 100755 --- a/automation/upstairs_motion_ifttt.yaml +++ b/automation/upstairs_motion_ifttt.yaml @@ -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 \ No newline at end of file