I've got a few of these and seem useful for a lot of potential applications due to vibration, tilt, acceleration, etc. I'm using the aqara device drivers (thank you!) and they seem to be working. The device generates events based on movement. The driver also allows for a "closed" and "open" position setting that generate correct events when attached to my garage door.
However, I don't see how to properly apply the device events to a rule. There's no option to trigger based on an "open" or "closed" event associated with the sensor.
Can someone recommend a solution for using the events from this sensor to detect when my garage door is open?