I’m hoping someone here can save me from the brink of mental collapse. I have been fighting this thing for ages. All of my other automations, including those using trigger IDs are working fine.
I have the attached automation setup to turn on/off lights based upon sunrise/sunset. It seems to be turning them off just fine, but it refuses to turn them on at sunset. I can see the sunset event occuring on time in the logs, but when I view the logs for the devices this is supposed to turn on, there are no entries at all.
When you refer to ‘logs’ are you talking about the the logbook & if so what about the automation traces. Any different clues in the trace?
Also, does the action block for the sunset run successfully if you manually trigger it?
In the log book I see that the sunset even occurs, but nothing in the automation based on the sun setting even triggers. However, I may have just found the issue. In the automation trace I see the following error. I don’t have much experience reading the automation traces.
If your light profile specifies a brightness value, the addition of a brightness_pct or brightness option to the service call serves to override the one in the profile.
Thank you. I was able to resolve this. It was the dual brightness value. For testing, I wound up duplicating the automation, changing the on/off time and simply testing it several times. Thanks for everyone’s help!