Blue Series Fan Switch showing as light rather than fan entity in Home Assistant

@scottb I’m not sure yet how to fix it, but it looks like ZHA is sending a command with “medium” value when you turn the fan on. It should be sending “on” I believe. I can confirm that this doesn’t happen on Z2M.

2024-05-02 19:50:44.815 DEBUG (MainThread) [zigpy.zcl] [0x0567:2:0x0202] Sending request: Write_Attributes(attributes=[Attribute(attrid=0x0000, value=TypeValue(type=FanMode, value=<FanMode.Medium: 2>))])

If it is in On/Off mode it should only use the high speed even though the level is not showing correctly. So it shouldn’t cause any problems with the fan, but I see that it is confusing an will see if I can figure out what is going on in ZHA.