I’m going to add few sensors from systemmonitor to check what’s happening when it happens.
I don’t think that the script can be the problem, as it is happening after the delay from the trigger, or I’m missing something?
I have a few of these and they work great. I use it for mirroring light switches and brightness. Whichever light is secondary always follows the first switch immediately. If that doesn’t work I’d suggest sharing your script that this automation is triggering for more insight.
It doesn’t seem I was running out of resources, isn’t?
@zgadson Thank you for your suggestion, but assuming the logbook is correct, I think the problem to understand is why is taking three seconds to start a trigger.