I recently bought 4 Sonoff Zigbee Smart Plugs (S26R2ZB). All four were successfully found and paired in ZHA. But, two reported as light entities and two as switch entities.
I can only assume some kind of firmware difference between the two pairs of devices. When I look at the Zigbee device signatures the two reporting as lights do have "device_type": "0x0100"
, and the two showing as switches have "device_type": "0x0009"
. So it seems like an issue with the Sonoff S26R2ZB units rather than ZHA.
I found the workaround here: Sonoff ZBMINI added via ZHA is incorrectly classified as a light , should be switch - #2 by kasper1 and this does fix the issue.
Just sharing in case others hit this with these Sonoff Smart Plugs in the future!
1 post - 1 participant