Not sure if anyone can help me work this out.
Got an automation I made with the help of some people here with the choose blocks.
It’s a combination of the motion lights blueprint and a bunch of choose options
This works great and activates my scenes as planned when I walk into the kitchen and turns off after there has been no motion in the kitchen for 2 minutes.
But if I’m in the kitchen with the lights already on the automation sometimes fires again.
Which when the scene in question is single colour lights is not a problem, but when the scene includes changing/fading lights it runs and fires the command to change scene and the lights then click to the first colour or scene and start fading again.
I figured ok - add a condition that it will only run if the kitchen lights are off. So it won’t run twice but when I do this it indeed doesn’t run again if already on, but then the logic surrounding waiting for 2 minutes of motion is ignored and the lights go off an then actually ignores new motion for a bit.
Below is the yaml for the automation as it stands which seems to run again whilst already in the room
Any advice on what I could at to achieve a point where it won’t try and turn the scene on multiple times
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.