Sonoff ORB-ZBW2 / MINI ZB2GS-E Detach Relay Mode unavailable

Hello HA Community,

I’m new there going in my first issue with HA / ZHA.

I’ve installed a wall switch ORB-ZBW2 from sonoff to control a hue light without shutting down the power like a standard switch.

I bought this one with 2 buttons in order to look like with a standard switch (top button to shutdown, bottom one to turn on the light) and to be able to switch between scenes using HA depending on the number of click I do.

I’ve setup the switch using L1 wire (not L2).
The switch is connected to my Home Assistant using a sonoff dongle.

But it’s recognized as MINI ZB2GS which doesn’t seem compatible with detach relay mode.
So my top button is turning on and off the light while my bottom one is sending event to change the scene. but that’s kind of a workaround not what I want.

I look for documentation and many topics ( like ZBMINIR2 detach relay mode - #19 by lynks or [BUG] Incorrect behaviour for Detached Relay mode in Sonoff ZBMINIR2 · Issue #3579 · zigpy/zha-device-handlers · GitHub) but I don’t find any solution.

Can you please help me ?

Thanks a lot all for your kind help.
Mike

Ok I got the solution here : Home Assistant blueprint for Sonoff MINI-ZB2GS & MINI-ZB2GS-L detached relay mode · GitHub

Sorry :pray: