The problem is that there’s no button name/entity to select.
In Developer Tools -> Events I can listen for zha_events. If I press a button I get:
Event 4 fired 09:33:
{
“event_type”: “zha_event”,
“data”: {
“device_ieee”: “00:12:4b:00:1c:d6:10:45”,
“unique_id”: “00:12:4b:00:1c:d6:10:45:1:0x0006”,
“endpoint_id”: 1,
“cluster_id”: 6,
“command”: “toggle”,
“args”: []
},
“origin”: “LOCAL”,
“time_fired”: “2020-08-14T08:33:43.675881+00:00”,
“context”: {
“id”: “dcfaf613de0811ea8a66857578c757a4”,
“parent_id”: null,
“user_id”: null
}
}
So the button is actually working, but I can’t find a way to access it in HA or Node-Red.
Jim
Yes ,me to I’m going to spend time on the weekend with the documentation and see if I can work it our, I’m not a programmer.
You can request it on the github site if you follow the links from the ZHA documentation. From the device in ZHA, you gather the “signature” and request the developers to help out.
I had a similar problem, I couldn’t find the 8 identities from my 8ch remote paired with Sonoff bridge.
I managed to solve it with catching MQTT messages in NodeRed so I didn’t even need the entities in HA
Thanks Jason.
I’ve had a look at it and it seems a bit of a ‘faff’ to set it up, compared to Node Red. (I’m finding that most things are easier to do and trouble shoot in Node Red.)
Anyone know how to solve this without resorting to 3rd party HACS?
I see so many problems with people losing HACS configs during updates I’ve avoided it!
Would really like to see HA properly support events to entities…?
Thanks
Knowing the device_ieee value is there a way to configure the events so that they can be picked by the UI or even modify the device yaml to define them there (that would be best IMHO)
For a HA beginner like myself it is not 100% clear where this automation definition would go, sorry.
Tibu, thank you for your solution , it is the right one for me.
I’m using SONOFF SNZB-01 with Conbee II.
I’m listening for the zha_event in automation:
toggle event (single click) toggle the wardrobe light
double click toggle the wardrobe light and bedroom light
Crucial, for the beginner as me, your suggestion on how build it using device_ieee