Hello, I’m struggling with getting my Aqara Vibration sensor to start my vacuum cleaner when flipped upside down. I run it through Zigbee2mqtt and the parameter is probably “angle z” but I can’t figure out how to set the automation trigger. I struggle with boolean templates.
The MQTT topic is zigbee2mqtt/Vibration1. It’s not enough to trigger on tilt because that would trigger with every tilt. How do I set it up so it only triggers at roughly angle_z=90?