Hi,
I have just set up our new home with Home Assistant and I have some issues with a wall mounted switch.
I am running a Rpi4 with Home Assistant and thru zigbee dongle I have connected a 2 channel Namron switch that I am planning to control the living room lights and kitchen.
After listening for deconz_event I could see that single click had the following
ID channel 1: ON = 1002, OFF = 2002
ID channel 2: ON = 3002, OFF = 4002
When I am creating a new automation for turning on the kitchen lights and chose the following as trigger:
platform: event
event_type: deconz_event
id: ‘1002’
all of the buttons performs the same action. It does not mater witch button I press, all of them turns on the kitchen light.
And If I create a new automation for turning off the kitchen light, with the following trigger:
platform: event
event_type: deconz_event
id: ‘2002’
it will turn on the light and immediately turn off all lights again.
What am I doing wrong there?