2016-10-19 17:47:13 +00:00
|
|
|
###################################
|
|
|
|
## Holiday Lights on/off with IFTTT/Alexa support
|
|
|
|
###################################
|
|
|
|
|
2016-10-19 17:38:48 +00:00
|
|
|
- alias: 'Holiday Stuff on'
|
|
|
|
trigger:
|
|
|
|
- platform: sun
|
|
|
|
event: sunset
|
|
|
|
- platform: event
|
|
|
|
event_type: halloween_lights_on
|
|
|
|
|
|
|
|
action:
|
|
|
|
- service: switch.turn_on
|
2016-10-20 21:39:40 +00:00
|
|
|
entity_id: switch.halloween_lights_den
|
|
|
|
- delay: 00:00:30
|
|
|
|
- service: switch.turn_on
|
|
|
|
entity_id: switch.halloween_lights_dining_room
|
|
|
|
|
2016-10-19 17:38:48 +00:00
|
|
|
- alias: 'Holiday Stuff off'
|
|
|
|
trigger:
|
|
|
|
- platform: sun
|
|
|
|
event: sunrise
|
2016-10-20 21:39:40 +00:00
|
|
|
offset: '-03:30:00'
|
2016-10-19 17:38:48 +00:00
|
|
|
- platform: event
|
|
|
|
event_type: halloween_lights_off
|
|
|
|
|
|
|
|
action:
|
2016-10-20 21:39:40 +00:00
|
|
|
- service: switch.turn_off
|
|
|
|
entity_id: switch.halloween_lights_den
|
|
|
|
- delay: 00:00:30
|
|
|
|
- service: switch.turn_off
|
|
|
|
entity_id: switch.halloween_lights_dining_room
|
2016-11-05 23:35:54 +00:00
|
|
|
|
2016-10-19 17:38:48 +00:00
|
|
|
|