2018-01-02 00:00:45 +00:00
|
|
|
###################################
|
|
|
|
## Sunrise and Sunset stuff
|
|
|
|
###################################
|
|
|
|
|
|
|
|
- alias: 'Sunset Stuff off'
|
2020-07-20 18:33:03 +00:00
|
|
|
id: 232b95e8-1354-4f63-8ae4-1063f300f2f0
|
2020-07-31 14:30:17 +00:00
|
|
|
mode: single
|
2018-01-02 00:00:45 +00:00
|
|
|
trigger:
|
|
|
|
- platform: sun
|
|
|
|
event: sunrise
|
|
|
|
offset: '-02:00:00'
|
|
|
|
|
|
|
|
action:
|
|
|
|
- service: script.interior_off
|
|
|
|
- service: homeassistant.turn_off
|
|
|
|
entity_id:
|
|
|
|
- group.landscaping
|
|
|
|
|
2018-06-14 19:33:39 +00:00
|
|
|
- delay: '00:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:00'
|
2018-01-17 16:39:08 +00:00
|
|
|
- service: homeassistant.turn_off
|
2018-01-02 00:00:45 +00:00
|
|
|
entity_id:
|
|
|
|
- group.exterior_lights
|
2020-06-07 20:06:43 +00:00
|
|
|
- light.outdoor_front_lights
|
|
|
|
- light.outdoor_pool_lights
|
2020-10-03 20:07:29 +00:00
|
|
|
- group.outdoor_seasonal
|
2019-06-08 17:33:38 +00:00
|
|
|
|
|
|
|
- service: light.turn_off
|
|
|
|
entity_id: all
|
2018-01-02 00:00:45 +00:00
|
|
|
|
|
|
|
- wait_template: >-
|
|
|
|
{{ states.sun.sun.state == 'above_horizon' }}
|
|
|
|
- service: homeassistant.turn_off
|
|
|
|
entity_id:
|
2019-08-17 19:18:36 +00:00
|
|
|
- group.master_bathroom_accents
|
2018-01-02 00:00:45 +00:00
|
|
|
- group.exterior_lights
|
2020-06-07 20:06:43 +00:00
|
|
|
- light.outdoor_front_lights
|
2020-10-03 20:07:29 +00:00
|
|
|
- group.outdoor_seasonal
|
2018-03-17 04:56:57 +00:00
|
|
|
|
2018-01-02 00:00:45 +00:00
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id:
|
|
|
|
- input_boolean.medicine
|
|
|
|
- input_boolean.guest_mode
|