Hej @jimSelf
Thanks a lot for this very interesting solution!
Unfortunately after moving to OH3 my isOpenAlarm trigger isn’t working anymore! As far as I was able to identify via log Xiaomi Contact Sensor is firing, but within OH3 the trigger is not processed…
See OH3: Xiaomi Mi Magnet_Sensor Channel isOpenAlarm not working
Have you experienced the same problem?
Jan