hey guys im a total beginner i bought a zigbee motion sensor
2024-11-20 15:24:41z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bathroom motion', payload '{"battery":100,"battery_low":false,"keep_time":60,"linkquality":180,"occupancy":true,"sensitivity":"medium","tamper":false,"voltage":2900}'
this is what im getting from it how do i triggre it on "occupancy":true
i currently have topic: zigbee2mqtt/bathroom motion
payload: "{"occupancy": true}"
but that doesnt seem to work