mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 01:52:11 +00:00
Fix sunset trigger.
This commit is contained in:
@@ -4,9 +4,8 @@
|
||||
|
||||
- alias: 'Sunset Stuff on'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sun.sun
|
||||
state: 'below.horizon'
|
||||
- platform: sun
|
||||
event: sunset
|
||||
|
||||
action:
|
||||
- service: switch.turn_on
|
||||
@@ -17,8 +16,6 @@
|
||||
- light.outdoor_bathroom
|
||||
- light.tv_light
|
||||
- light.tv_stand_light
|
||||
data:
|
||||
transition: 1200
|
||||
- service: script.holiday_switches_on
|
||||
- delay: '00:{{ (range(1, 59)|random|int) }}:00'
|
||||
- service: script.monthly_front_house_scene
|
||||
|
||||
Reference in New Issue
Block a user