Logging stuff and using IFTTT

This commit is contained in:
CCOSTAN
2016-10-12 00:45:09 +00:00
parent 0f04ee03a7
commit 76fc776a67
4 changed files with 44 additions and 6 deletions

View File

@@ -2,9 +2,6 @@
- alias: 'GoodNight - Away Mode'
trigger:
- platform: state
entity_id: group.family
state: 'not_home'
- platform: event
event_type: good_night

View File

@@ -0,0 +1,15 @@
# Uses the Nest thermostat to turn on lights and turn them off.
- alias: 'Upstairs Light Turn'
trigger:
- platform: event
event_type: upstairs_light_on
condition:
condition: state
- platform: sun
event: sunset
action:
service: light.turn_on
entity_id: group.upstairs