Home Assistant, events: xiaomi_aqara.click

Hi

i have 3 xiaomi aqara click button, and i want to create automation using this buttons.

  1. I understand that the only option i have is "listen" to event xiaomi_aqara.click.

so i listen and get this:

{"event_type":"xiaomi_aqara.click","topic":"xiaomi_aqara.click","payload":{"event_type":"xiaomi_aqara.click","entity_id":"binary_sensor.switch_158d0001eb61a3","event":{"entity_id":"binary_sensor.switch_158d0001eb61a3","click_type":"single"}},"_msgid":"9943e41f.5fed78"}

This is the only wat?

  1. if yes, so how i split the action by entity_id and click_type

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.