You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Aqara switch (lumi.switch.b1naus01) shows up as "light" when added via ZHA. It the "device_type" in the signature shows up as 0x0100 (ON_OFF_LIGHT), but it should be 0x0000 (ON_OFF_SWITCH).
To Reproduce
Add via ZHA
Expected behavior
Device should show a "switch" instead of a "light"
Screenshots
If applicable, add screenshots to help explain your problem.
Add the following to your config (replace IEEE with the IEEE of the affected Aqara switch):
zha:
device_config:
IEEE-1: # format: ieee-endpointIdtype: "switch"# corrected device type
We could also change this with a quirk, but this would break the implementation for everyone using it as a light.
As this happens with a variety of Xiaomi/Aqara and Tuya devices, it's best not to add a quirk changing the device type for everything.
Describe the bug
Aqara switch (lumi.switch.b1naus01) shows up as "light" when added via ZHA. It the "device_type" in the signature shows up as 0x0100 (ON_OFF_LIGHT), but it should be 0x0000 (ON_OFF_SWITCH).
To Reproduce
Add via ZHA
Expected behavior
Device should show a "switch" instead of a "light"
Screenshots
If applicable, add screenshots to help explain your problem.
Device signature
Diagnostic information
Additional logs
Additional context
I've added a separate switch (lumi.switch.b2naus01 - double rocker) and both rockers show as device_type 0x0000.
The text was updated successfully, but these errors were encountered: