Just installed WebCore on my Hubitat.
Here is my first piston, for my kitchen lights, different times and dimmer levels.
Everting works ok to turn ON, at right level.
But, I can’t get it to stay on until no motion is detected for X time.
Line 63 to 74
It always turns off, one minute after I get the first : motion is inactive ( Zooz 4in1 )
It does get : motion is active, after inactive, but the light does go OFF.
What’s wrong with my piston ?