2016-11-05 23:35:54 +00:00
|
|
|
###################################
|
2016-11-09 06:48:10 +00:00
|
|
|
## Sunrise and Sunset stuff
|
2016-11-05 23:35:54 +00:00
|
|
|
###################################
|
|
|
|
|
|
|
|
- alias: 'Sunset Stuff on'
|
|
|
|
trigger:
|
|
|
|
- platform: sun
|
|
|
|
event: sunset
|
|
|
|
# - platform: event
|
|
|
|
# event_type: halloween_lights_on
|
|
|
|
|
|
|
|
action:
|
|
|
|
- service: switch.turn_on
|
2016-11-05 23:55:39 +00:00
|
|
|
entity_id: switch.foyer_outlet
|
2016-11-09 06:48:10 +00:00
|
|
|
- service: light.turn_on
|
|
|
|
entity_id: light.pool_bathroom
|
2016-11-07 22:57:26 +00:00
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
entity_id: light.outdoor_foyer
|
|
|
|
brightness: 200
|
2016-11-20 01:50:56 +00:00
|
|
|
#rgb_color: [61,178,112]
|
|
|
|
#Green
|
|
|
|
rgb_color: [255,112,242]
|
|
|
|
#Purple
|
|
|
|
|
2016-11-05 23:35:54 +00:00
|
|
|
- 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
|
2016-11-05 23:55:39 +00:00
|
|
|
entity_id: switch.foyer_outlet
|
2016-11-07 22:57:26 +00:00
|
|
|
- service: light.turn_off
|
2016-11-15 01:00:24 +00:00
|
|
|
entity_id: light.outdoor_foyer
|
2016-11-20 01:50:56 +00:00
|
|
|
data:
|
|
|
|
transition: 1200
|
2016-11-15 01:00:24 +00:00
|
|
|
- service: light.turn_off
|
|
|
|
entity_id: light.pool_bathroom
|
|
|
|
- service: light.turn_off
|
|
|
|
entity_id: group.outdoor_lights
|