Yes, the transition is made internally in the lamps. It is possible to set a transition period of say 60 seconds, and the automation (in queued mode) will complete in less than a second anyway.
Not generally, but it depends on your use case. In my case, it is going to be a problem (given that I have 2s debounce). Lets say you quickly press buttons 5 times. Then “something” will be going on in the background for the coming 10 seconds at least. If you press different buttons, then it is going to be “replayed” the way you clicked them. This might be what your want, but also it might not.
It represents a fundamental change in how Home Assistant handles script execution.
Imagine I gave you a jigsaw puzzle and asked you to complete it. While you are busy assembling the puzzle, I ask you to assemble the same puzzle again.
In single mode you would ignore my second request and finish building the puzzle.
In restart mode you would stop building the puzzle and start over again.
In queued mode you would finish building the puzzle before starting over again.
So depending on what your script is designed to do, changing its mode may significantly impact its behavior (when there’s another request to execute the in-progress script).
But super useful. I can see the triggers running and falling off. Since I’m now on 2023.06 everything is back to normal. I’ll install 2023.08 and see what results I get - now that I know I can get back to stable with forcing a core version change.
I have an automation in one room that sometimes does not run properly and queue might help. I believe it may be because the “controller” device is a ZWave 500 series, which I may need to replace.
Please, can you guys add this information to the issue. It’s been asked multiple times now in the thread and the GitHub issue is bare. Nothing will get fixed if the information stays here.
Plus the example you posted has mode: single as opposed to what many have been reporting, namely mode: restart.
single is the default mode for automations and scripts which brings up the question: So why aren’t all automations for all users experiencing this problem?
Because as @petro seems to have correctly identified, the bug seems to occur where a device doesn’t respond in an expected timeframe. I have 15 identical copies of same automation but simply with different devices for the different rooms - only one is exhibiting this 2023.7 bug, and it happens to also be the only one that has a device that sometimes doesn’t respond as quickly as the rest of my devices. All of my automations are mode single.
If all it takes to cause the problem is a single slow-responding device, based on any integration, then I’m surprised it doesn’t affect far more users.
BTW, EndUser claims to have a solid Zwave network, consisting of dozens of devices, yet provided an example of a very simple automation (turns on 2 switches) that has the problem. Not sure how that particular example is explained by the ‘slow reply’ theory. (Unless the Zwave network isn’t as ‘solid’ as was assumed.)
I updated core to 2023.8.1 and a few hours later same issue again, with in fact nothing working anymore. I posted my logs on github.
I power cycled the Yellow Box and now it seems to be working again.
You’ve just described every squeak, fault, recall, or bug - they’re not planned or intentional, they’re a malfunction, so not always predictable.
In this case not yet fully understood so hard to make judgement but it seems a few people have knowledge of a specific change and circumstance that this seems to align with.
My Z-Wave network is beyond solid - it’s phenomenal. Whole of downstairs, whole of upstairs, even my letterbox responds at start of property, and even my chicken coop responds at very end of property. Why just one sensor is a bit quirky I’ve no idea - it works fine 90% of the time, 10% it has a bit of a delay. I figure it’s because of three walls the signal is passing through, dunno haven’t felt the need to halt my life and investigate as it works well enough. Until this bug seemed to get fussy over it. They’ll work it out
Seems like a contradiction to refer to a network as ‘solid’ and ‘phenominal’ when it has one or more devices known to be less than 100% reliable. Anyway, based on other reports, it doesn’t seem to matter how ‘solid’ the Zwave (or Zigbee ) network is claimed to be, they still experience the problem.
If you review the three open Issues reporting this problem, there’s still only a limited amount of information that has been presented. It’s up to users experiencing the problem to flesh out the details to help the developers solve it.
Are you aware that your system is plagued with numerous errors that are unrelated to the reported problem? Not merely warning messages but outright errors due to problems with integrations, templates, etc.
The error relevant to the reported problem is this one:
zwave_js_server.exceptions.FailedZWaveCommand: Z-Wave error 200: Timeout while waiting for a callback from the controller (ZW0200)
Thanks !!!
I was able to understand some of these errors and either corrected or deleted the automations. Others are more complicated and I would love some assistance.
With regards to Z-Wave error 200, is that specific to my setup or is it a bug ?
It’s your system complaining about a problem it encountered while communicating with the Zwave integration. I haven’t seen other users logs so I can’t confirm if others have it but I suspect you’re not alone.
The error message supports the theory that an automation ‘hangs’ when it communicates with an integration that doesn’t reply promptly. There may actually be more to it than that but so far that’s the leading clue.