This is my automation for my outside lights. The dashboard says they are on but they are not.
If I go to the dashboard turn them off then back on then they come on… Not sure what I missed here.
It does fire every night but no lights.
Thank you!
- alias: 98 - Turn on Outside lights
description: ""
trigger:
- platform: sun
event: sunset
offset: "00:15:00"
action:
- service: light.turn_on
entity_id: light.outside_front_lights
data_template:
xy_color:
["0.{{ range(1, 100000)|random }}", "0.{{ range(1, 100000)|random }}"]
brightness: 85
1 post - 1 participant