I created a light automation for my 2 wall sconce lights by my garage. They are LIFX bulbs. And as well I created a group for the two bulbs.
But they seem to work some days and not others.
Most of the time they are still on long after sunrise.
I do not know where else to look to see what is happening because the logs do not show anything.
Below is my automation and script.
Any help is greatly appreciated.
####################################################
# GARAGE LIGHTS OFF SUNRISE 2021May07 #
####################################################
- id: "7a0842bd-9deb-404a-906c-7dd7f3e9d0e9"
alias: "Lights - Outside Garage Lights OFF"
description: Outside Garage Lights OFF
trigger:
platform: sun
event: sunrise
offset: "-00:10:00"
action:
- service: light.turn_off
entity_id: group.outside_garage_lights
- service: script.turn_off
data:
entity_id: script.thanksgiving_light_loop
mode: single
####################################################
# GARAGE LIGHTS ON SUNSET 2021May07 #
####################################################
- id: "de723627-a92b-42c2-b690-85fe36ced343"
alias: "Lights - Outside Garage Lights ON"
description: Outside Garage Lights ON
trigger:
platform: sun
event: sunset
offset: "-00:20:00"
action:
- service: script.turn_on
data:
entity_id: script.thanksgiving_light_loop
mode: single
####################################################
# END OF CONFIGURATION FILE #
####################################################
Here is my script
####################################################
# LIFX THANKSGIVING SCRIPT 07Nov2021 #
####################################################
thanksgiving_lights:
sequence:
- service: light.turn_on
data:
entity_id: group.outside_garage_lights
rgb_color: [182, 46, 0]
transition: 1
- delay: 00:00:05
- service: light.turn_on
data:
entity_id: group.outside_garage_lights
rgb_color: [225, 102, 0]
transition: 1
- delay: 00:00:05
- service: light.turn_on
data:
entity_id: group.outside_garage_lights
rgb_color: [249, 213, 0]
transition: 1
- delay: 00:00:05
- service: light.turn_on
data:
entity_id: group.outside_garage_lights
rgb_color: [255, 77, 0]
transition: 1
- service: script.turn_on
data:
entity_id: script.thanksgiving_light_loop
####################################################
# LIFX THANKSGIVING SCRIPT 07Nov2021 #
####################################################
thanksgiving_light_loop:
sequence:
- delay: 00:00:05
- service: script.turn_on
data:
entity_id: script.thanksgiving_lights
####################################################
# END OF CONFIGURATION FILE #
####################################################