I am a complete noob. I am running the latest version of HA 89.1, though this issue has been bugging me for a few versions before that! I am running HA on a windows box using Python (latest version). I have a Deconz Conbee USB stick plugged into the PC and is running well. The version of Deconz is the latest v 2.05.59.
So the issue I have is that I have a Aqara Dual switch wireless WXKG02LM Rev.2 (2018). In HA integrations tab I look at the deconz gateway and then the switch only shows one entity ID (i.e. i cant see the switches - only the battery level). This is a problem because I need the dual switches. All other Aqara and other sensors seem to work fine through deconz including a motion sensor and light bulb. See image below.
Previously it would show only one switch of the two but now it shows none at all.
Hi,
it’s normal. In simple: sensor generate information, switch generate event.
Go to developer menu → states, find your sensor.aqara_2_gang… and try click switch.
Thanks so much for the quick response. Not using Hass,. Using Python. I am seeing the button clicks in debug mode. Just cannot see them or more importantly the entities in HA like all the other devices.
And just so I am really clear once i have my events i add them in my automations.yaml file i will need something like this for every light switch for every event like turning on.off the lights etc?
I know it can be a steep learning curve, but I’m not sure what you’re struggling with as the documentation is pretty clear in my opinion. Start by using the example code from the docs and work from there.
Changing event: 1002 to event: 2002 will change from the second to the first button. The id: is in your case lumi.remote.b286acn01 as you can see from the battery level sensor.
Thanks so much sjee. The event bit was what I missed. Promise I have read it, just don’t quite get some of it and wondered why I couldn’t see entities like the other devices.
When I say steep learning curve i meant overall, not specifically this. I am not a coder and you kinda need a very logical mind and that is not so much me. Thing is that HA is really the only option for the devices I want to use. All other hubs etc only do parts of the job.
I really appreciate both you and Robban’s help. I have been trying to get this right for weeks, reading the forum etc.