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