Home Assistant General

Sonoff zigbee devices can come in as the wrong type, depending on the use.

To force a Switch to be a light in Configuration.yaml add

    00:12:4b:00:1b:79:7d:7b-1:    # format: {ieee}-{endpoint_id}
      type: 'light'    

The ieee can be found on the device information and the endpoint will normally be 1 for simple switches.

Restart HA and the entity will be recreated as the correct type and can be renamed and configured as normal. Just use “switch” for switches and “light” for lights.

Found on the ZHA Issues Page Issue 654