Let’s get the simple things out of the way first, ensure the automation is turned on. Go to Developer Tools > States, find the automation in the list and confirm its current state is on.
I assume the automation’s name (in the list) will be something like this:
I also have a vague recollection that ‘some lights’may have an issue with kelvin, prefering the use of color_temp: mireds value
I’m not 100% sure (actually only 60% ish) because I don’t use any colour temperature controls
Changing the time doesn’t magically make the automation work (unless the test was being performed outside the specified time range).
After changing the automation, directly in automations.yaml, did you execute Configuration > Server Controls > Reload Automations (or restart Home Assistant)?
Yes, I restarted the home assistant server (a lot of times, because it did not work).
I don’t have “Reload Automations” in the configuration section “Server Controls”. There is only “Server management” with the two buttons restart and stop:
Yeah, I agree with Taras, apart from the times (which you said you adjusted to perform the tests (you did reload the automation each time didn’t you ? ) the automations are identical.
By the way you don’t need the condition, if it detect ‘presence’ turn a light already on at a given value to come on at the same value will not make any difference. Though it might be useful incase you apply other affects between. Basically what I’m saying is if you are having problems with something, try to reduce it to the basics just to get it to work. Then when you add complications you know what you did and therefore where the problem must lie.
I have a set up an automation to detect when the washing machine is finished, but a scheduled reboot of my router once a week at 2am is causing a false notification to be sent. I need the automation to ignore a few minutes let’s say 01:55-02:05. I tried a time condition before 01:55 and after 02:05 but the notification did not work when we did some washing this morning? Do I just need to reverse the numbers or am I doing this all wrong?