Pairing Legrand Wireless Switch with Sonoff Zigbee ZHA

I’ve been struggling to pair a Legrand Radiant Wireless Smart Switch with zigbee via ZHA on a sonoff dongle. The pairing is successful, and appears so both on HA and the switches lights, but the switch doesn’t appear as a switch in HA. Instead, its just a binary input sensor (although its named “remote switch”).

I have successfully paired a wired Radiant Smart Switch already, which works as a proper switch, but for some reason this wireless switch just would always either get stuck at “configuring” after a success pair, or only show up as a binary sensor.
I have HA’s ZHA set to channel 11 as well.

I’ve tried looking at the logs and pressing on/off on the switch, but no logs show up. This is just the main config/logs not the zha_event. I don’t know why but I don’t see any zha_events at all in my event listener (but can confirm zigbee works as all my other zigbee integrations are working).

I’m pretty new to HA and Zigbee here, so some pointers of how to debug, what the heck a binary sensor is, and would I’m missing would be greatly appreciated.

That sounds like it is working as designed and nothing is wrong, or at least it sounds as if only your expecations and use is of that “Legrand Radiant Wireless Smart Switch” product is not correct.

I understand the wording in the naming of that product can be confusing but if you think about it only the wired model of their switch actually contains a physical relay that can perform switching, while that wireless model is really just a wireless button (as in a remote control button) that looks like a wall-switch but is not a real switch. So a switch can change status while a button just triggers a momentary event which can be used as a trigger in automations.

Hence product like that Legrand Radiant Wireless Smart Switch are not technically a “switch” in Home Assistant or Zigbee terminology but it is instead they work a “button” (as a button on a remote control) which means that you have to use it via automation. That is, you need to create a new automation that make use of it, as in, if this button is pressed then do this action, (with or without conditions).

They should have named/called their wireless model for something else like a “wireless button” or “wireless remote” to make it clearer what the product actually does but that is marketing for you,

FYI, in Home Assistant or Zigbee terminology a “switch” is technically a physical relay as in an electrically operated switch that cut the power (as in example a Zigbee power-plug or switch for a power outlet that contains a physical relay that will physically cut the mains-power when it switches from ON mode to OFF mode and vice versa).

Read the integrations documentation for those entities here:

verses

“The button entity is stateless, as in, it cannot have a state like the on or off state that, for example, a normal switch entity has.”

If what you really want is to create a virtual button device for your dashboard then you need to create a template device (you can also cretae a virtual switch by using a template switch if you want).

Oh that makes sense.

So then my problem is different.
The switch has both a “on” and “off” paddle; HA displays only a single binary input.
Also, no matter what I click on the remote, the binary state just stays at “off”.

It does say its paired, but firmware is also unknown.

How do I fix the issue and get it to pair properly?

Hey. Same thing with me.

Bought the SONOFF Zigbee 3.0 USB Dongle Plus and it detect the wireless switch but either way i got stuck at Interview Complete Configuring state or successfully add the device but it doesn’t work after that.

For the wireless switch I have firmware 901.

I manged to get the switch paired by pressing the “off” key repeatedly during pairing to keep it alive. This seems to avoid any getting stuck issues, etc.

However I never managed to get any zha_events to show in HA event listeners after successful pairing.
Anyone know how to debug this further?