VZM35SN in ZHA, showing as light after firmware update (?)

I’ve had 5 Blue Fan switches setup for a year or so. I recently did a firmware upgrade and I think at this point the switch changed in Home Assistant from Switch to Light. I’m not positive this is when it happened, but I did that recently, so it seems likely. I have these setup using the “Change Device Type of Switch” helpers so they show as fans and now those all show as Unavailable:

The device in Home Assistant looks like this now:

How can I change this so it’s seen as a fan? I have automations that turn the fans on/ off using fan.bathroom_fan for example and these are now failing because that entity no longer exists. Thanks!

Perhaps this was caused from an HA update, or a ZHA update. I think I figured out what the issue was.

I have this in my configuration.yaml:


zha:
  database_path: /config/zigbee.db
  device_config:
    ieee1-1:
      type: "switch"
    ieee1-2:
      type: "switch"
    ieee1-3:
      type: "switch"
    ieee1-4:
      type: "switch"
    ieee1-5:
      type: "switch"
    ieee2-1:
      type: "fan"
    ieee3-1:
      type: "fan"
    ieee4-1:
      type: "fan"
    ieee5-1:
      type: "fan"
    ieee6-1:
      type: "fan"

ieee2-6 are my VZM35SN switches. I changed one from fan to switch, rebooted HA and then the new switch showed on the device. I went into the Helpers page and the fan still wasn’t available. So I deleted it and re-created the helper with the same entity_id and now I see this:

I guess now I can clean up the unavailable switch and light entities. My thought is that it wasn’t possible to change the type to a fan in the YAML.