mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 01:52:11 +00:00
Put away all the halloween stuff and add a colored light to the foyer outside!
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
27
automation/sunrise_turnon.yaml
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user