I’m attempting to make an Aqara button toggle a wall switch on single press. I am using Zigbee2MQTT, and both the button and switch seem to be sending signals, because actions show up in the logs.
Here is the config I have:
- alias: Toggle bedroom light on single press
trigger:
platform: event
event_type: xiaomi_aqara.click
event_data:
entity_id: binary_sensor.0x00158d0002ade595_click
click_type: single
action:
service: switch.toggle
entity_id: switch.0x00158d0003050a29_switch
If I activate the automation from the Hassio overview page, it will toggle the switch, however pressing the Aqara button does not activate the automation.
I’ve attached an image of how the two devices show in the MQTT intergrations page
Anyone know why it’s not working?