Hello all,
I have a TRÅDFRI remote control (the 5 buttuns one) detected on deconz. In HA I see it as device, but I cannot understand hot to find it as entity in order to use it in some automations.
I am using a hue dimmer in node red that I connected to my Conbee. At first I couldn’t find the dimmer in the entities list, only the battery enitity. I added the “event all” node in node red to listen to all events from deconz.
Then I use a switch node to filter out the events from this specific dimmer switch.
And after that I can use the button presses for my automations.
In case you’re not using node-red, here is an example I found on how to create an automation. I guess you’re looking for the trigger part.
That is not how it works, the initial state switches the automation on/off at start of HA, not your lights. And since you understand the RTFM part check this and this.
I would advice to not use toggle but assign light.turn_on and light_turn_off to two different buttons on your remote.