You may recall me trying to have a light on and off automation a few weeks ago based on camera motion. It got messy, anyway I got myself an Aeotech tri-sensor. Installed it, added with Z-Wave, all the entities appear proper.
The light turns on, but never turns off. The configuration is set to 120 seconds after no motion. When I run it manually, it turns on. The sensor state shows ON when I’m sitting at my computer in front of the sensor.
There is no way to inspect the code, it’s imported from a Blueprint. The light never turns off.