Put away all the halloween stuff and add a colored light to the foyer outside!

This commit is contained in:
CCOSTAN
2016-11-05 23:35:54 +00:00
parent b7a9b3b4a6
commit a55bac2953
9 changed files with 46 additions and 21 deletions

View File

@@ -3,8 +3,8 @@
###################################
- alias: 'halloween flasher'
trigger:
- platform: sun
event: sunset
# - platform: sun
# event: sunset
- platform: event
event_type: skybell_motion_disabled_until_next_year

View File

@@ -15,9 +15,6 @@
- delay: 00:00:30
- service: switch.turn_on
entity_id: switch.halloween_lights_dining_room
- delay: 00:00:30
- service: switch.turn_on
entity_id: switch.pumpkin_lights
- alias: 'Holiday Stuff off'
trigger:
@@ -33,7 +30,5 @@
- delay: 00:00:30
- service: switch.turn_off
entity_id: switch.halloween_lights_dining_room
- delay: 00:00:30
- service: switch.turn_off
entity_id: switch.pumpkin_lights

27
automation/sunrise_turnon.yaml Executable file
View File

@@ -0,0 +1,27 @@
###################################
## Holiday Lights on/off with IFTTT/Alexa support
###################################
- alias: 'Sunset Stuff on'
trigger:
- platform: sun
event: sunset
# - platform: event
# event_type: halloween_lights_on
action:
- service: switch.turn_on
entity_id: switch.foyer_plug
- alias: 'Sunset Stuff off'
trigger:
- platform: sun
event: sunrise
offset: '-03:30:00'
# - platform: event
# event_type: halloween_lights_off
action:
- service: switch.turn_off
entity_id: switch.foyer_plug