I’ve been using my xiaomi motion sensors with
zha_new since I got them since they weren’t supported on
zha before the custom quirks were released. They were working perfectly fine exactly the way I wanted them to. Then recently I decided to move to the official
zha since it is maintained better and supports more devices.
The motion sensors, however, work very differently. On
zha_new, the sensors would timeout every 5 seconds and would turn the
binary_sensor for that sensor to on if there was any new motion after that 5 seconds. On the official
zha the sensors timeout after 2 minutes of no motion. I very much prefer the method that
zha_new uses because it gives me more flexibility and more control over my automations.
I know there is a hardware hack for the sensors to make them timeout after 5 seconds, but I don’t have the skills or the tools required to do it. But why would I need a hardware hack if it’s already possible to do in software? My question is why is
zha_new different and how can we bring over that functionality to the official