Hello guys,
my setup is the latest HA as docker container on a synology and I am using different tasmota switches and aqara buttons. The buttons are included via deConz. Now I wanted to switch to ZHA, but before wanted to test everything and have most of the code in place.
Therefor I disabled deCONZ and shut down the container and then started ZHA. The devices are all included, by manually connecting them.
Now my question:
I have one aqara button which should switch again a tasmota device. In my understanding only the entity of the aqara button has changed.
Code before:
- alias: 'aqara_old'
trigger:
- event_data:
event: 1002
id: schalter_aqara1
event_type: deconz_event
platform: event
condition: []
action:
- service: switch.toggle
target:
entity_id: switch.tasmota
Here is what I tried:
- alias: 'aqara_new'
trigger:
- event_data:
device_ieee: 00:15:8d:00:03:58:46:75
command: single
args:
value: 1
event_type: ZHA_Event
platform: event
action:
- entity_id: switch.tasmota
service: switch.toggle
I listened to the button and than inserted its Ieee. But it did not work. What did I do wrong?
Best
Nomad