@Timmm you can use this script:
But the Aqara sensors are really good, it’s the combination of Zigbee devices you use @ Homey: