Hi
i have 3 xiaomi aqara click button, and i want to create automation using this buttons.
- 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?
- if yes, so how i split the action by entity_id and click_type