I would like to integrate my Xiaomi Aqara Smart Wireless Button in an automation. The goal is that after a click my living rool lamp (Xiaomi Bulb) turns on. Then after a further click the lamp turns off.
I have tried it several times with the configuartion which is used for the wall switches but it doesn’t work.
alias: Livingroom switch left button single click
trigger:
Thank you for your automation script. I got the following error message:
2017-11-04 09:34:06 ERROR (SyncWorker_4) [homeassistant.util.yaml] expected ‘’, but found ‘’
in “/config/automations.yaml”, line 24, column 1
2017-11-04 09:34:06 ERROR (MainThread) [homeassistant.components.automation] expected ‘’, but found ‘’
in “/config/automations.yaml”, line 24, column 1
The automation from dodacs works fine. As slonkar said the issue was based on my quotes from the previous autoamtion. Thank you very much for your help!
Hi, excuse me for reviving this thread, but I’ve read it all and I can’t find a way to see my Aqara button ( this one : https://fr.gearbest.com/access-control/pp_626695.html ) in HASSio
When I check the dev info in mi Home it shows :
{"model":"lumi.remote.b1acn01","did":"lumi.158d0001a66d77","name":"Aqara Wireless Mini Switch"},
Then I tried several way to call the entity_id in my automation but can’t find the right syntax. Can someone help me please ?