VZM31-SN: Recently added switches only showing 30 entities vs 51 in the past

Hi everyone,

I’m experiencing an entity count mismatch with my VZM31-SN switches in Home Assistant/ZHA:

The Issue:

  • Older switches (added several months ago): 51 entities each
  • Newly added switches (added this week): 30 entities each
  • Same model, same firmware, different entity counts

I’m running the latest updates to HA. I do see the inovelli clusters when managing the Zigbee Device. I’ve reset the re-added the device multiple times. Also, it’s running the 3.04 firmware.

Root Cause (?I think?):
After investigating, this appears to be related to the migration to Quirks V2, specifically PR #3232.
The VZM31-SN quirk was converted to use QuirkBuilder, but unlike the VZM32-SN quirk (which explicitly declares all entities using .number(), .switch(), etc.), the VZM31-SN quirk relies on ZHA’s automatic entity creation heuristics. I’m guessing that these heuristics are more conservative in V2, resulting in fewer entities being created.

What’s Missing:
Notably, the LED color control entities are missing on the new switches, which breaks several of my existing automations.

Are there plans to update the VZM31-SN quirk to explicitly declare all entities (similar to the VZM32-SN custom quirk)?

If I have time this weekend, I’ll probably mimic what’s in the VZM32 quirk and see if I can get things set up the way that I like.

Thanks for any insights!

I am seeing the same behaviour. My existing VZM31-SN switches show all 51 entities in HA, but a newly installed switches are only showing 30. Notably missing are all the entities regarding LEDs and multi-tap control.

Can someone point me to more details regarding the quirks?

Thanks,

Andy

I was just looking for someone else to verify this wasn’t just me. I am also seeing the same issue. No led, single pole vs dimmer, double tap etc.

New one

vs old one

Same issue with new install of VZM30-SN. Older installs show 45 entities, new install shows 32 and default color is missing.

I know that my new mm wave switch also does this, so will this be fixed in that quirk that we are waiting for for it? Or is this a separate issue for just this one?

@wired26 , I think the readme in this repository should answer your questions regarding the quirks: GitHub - zigpy/zha-device-handlers: ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices. .

@Unimatrix72 , I think this link in my original post has the instructions for the manual steps you’d need to follow for your newer switch until the change gets merged upstream into the main zha-handlers repository: Blue Series mmWave Presence Dimmer Switch • ZHA Custom Quirk Install | Inovelli Help Center

I spent some time this weekend trying to update the quirk to manually add the entities like in the VZM36 example. Unfortunately, I now end up with a bunch of duplicate entries. The previously added switches have a total of 81 entities and the newly added switches have 61 entities.

I’m definitely missing something about how ZHA decides when to and when not to create entities based on the cluster data. I’ll continue to experiment.

Just came across this bug report. Seems to be the same issue. I’m going to sit tight and see what the outcome on this is:

I am having the same issue. I have the four of the first batch that I just got around to updating the bootloader on. The two switches I reset and repaired are seeing the same behavior. I do have the custom one for VZM32-SN.

@chrisdfw , I did not have the custom quirk installed for VZM32-SN and was having the issue, so I don’t think it is related to that. If you look at the bug report link I previously posted, it looks like there was a change elsewhere in ZHA in how attributes are processed, which exposed an error in the inovelli quirk. A PR to fix the issue has already been posted and is pending merge, but would require an update.

I believe you are correct on this as the device was moved to V2 via a community member. The original entities were created based on code in the ZHA repo and not the zha-device-handlers. As part of the switch to V2 quirks, are the entities supposed to be moved over to the zha-device-handlers repo? This makes more sense and will be better in the long run I believe.

As a side note, you should be able to edit settings via “Manage Zigbee Device” menu in the device as a workaround until it can get figured out:

This release (2026.3: A clean sweep - Home Assistant) of Home Assistant seems to have fixed the issue. This release seems to contain Bump ZHA to 1.0.0 by TheJulianJES · Pull Request #164013 · home-assistant/core · GitHub, which has this particular change in it Fix Inovelli custom attribute data types (#4759) · zigpy/zha-device-handlers@20e1cca · GitHub.

1 Like

This topic was automatically closed 14 hours after the last reply. New replies are no longer allowed.