-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xiaomi Fan stopped working after HA upgrade to 2021.12.x #176
Xiaomi Fan stopped working after HA upgrade to 2021.12.x #176
Comments
Same issue as PurplePhoenix76, starting after 2021.12.1 update. Logger: miio.device Found an unsupported model 'zhimi.fan.za5' for class 'Device'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/ |
Stopped working for me aswell |
Hi, Logger: homeassistant.components.fan Traceback (most recent call last): |
Same issue here |
@syssi please fit it. thank you! |
Same issue here. Hope the maintainer can look into it after the holiday period. |
I've an idea what's going on and will prepare a fix. If you cannot wait and you are an owner of the ZA5 you could try the official integration ( |
Please give it another try (version |
Hi, the custom component was working before i've upgrade HA to 2021.12.0. Observed this issue in both 12.0 & 12.1
Below is the trace from HA logger.
Logger: homeassistant.components.fan
Source: custom_components/xiaomi_miio_fan/fan.py:1676
Integration: Fan (documentation, issues)
First occurred: 16:30:44 (1 occurrences)
Last logged: 16:30:44
Error while setting up xiaomi_miio_fan platform for fan
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/xiaomi_miio_fan/fan.py", line 445, in async_setup_platform
fan = FanZA5(host, token, model=model)
File "/config/custom_components/xiaomi_miio_fan/fan.py", line 1676, in init
self.model = model
AttributeError: can't set attribute
Logger: miio.device
Source: /usr/local/lib/python3.9/site-packages/miio/device.py:153
First occurred: 16:30:44 (1 occurrences)
Last logged: 16:30:44
Found an unsupported model 'zhimi.fan.za5' for class 'Device'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/
The text was updated successfully, but these errors were encountered: