-
Notifications
You must be signed in to change notification settings - Fork 112
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
Integration seems to be broken after update to Home Assistant 2021.4.1 #105
Comments
On upgrade to 2021.4.x for these 2 fans: NAME: Aunt Fanny NAME: Fanny The zhimi.fan.sa1 continues to respond as before but he dmaker.fan.1c is unavailable. Looking at the github notes I see that the zhimi is under airpurifier code and dmaker is in the fan code. Currently I have downgraded to 2021.3.x but I can upgrade again so I can give you exact config files and results I am based in Asia/PH GMT-8 Let me know, as I'm not a coder this is the best way I can contribute. |
Please update the custom component and give it another try. |
Reinstalled the component in HACS, same error Logger: homeassistant.components.fan Error while setting up xiaomi_miio_fan platform for fan |
@jemmerich The file https://github.com/damianpasek/xiaomi_fan The |
I am too using this fork. His author already wrote to you somewhere in your forum to let you implement it in your custom component, if I am not wrong. Do you consider this, as we would have the both advantages in one place : your active development and Fan 1C support ? Best regards. Right now no fan custom component (fan or airpurifier) works in my updated home assistant for 1C. I have no other Xiamoi fan to compare. I am continuing to try with you lastest udgrades in the last hour. |
used to work very reliably until the last update... |
I've prepared a PR to add the device support of the |
That(s great ! Thanks. |
I'm closing this issue because it's unrelated to this custom component. |
After update to Home Assistant 2021.4.1 integration does not work anymore
Logger: homeassistant.components.fan
Source: custom_components/xiaomi_miio_fan/fan_1c.py:113
Integration: Fan (documentation, issues)
First occurred: 21:22:36 (1 occurrences)
Last logged: 21:22:36
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 205, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/xiaomi_miio_fan/fan.py", line 303, in async_setup_platform
fan = Fan1C(host, token)
File "/config/custom_components/xiaomi_miio_fan/fan_1c.py", line 113, in init
super().init(_MAPPING, ip, token, start_id, debug, lazy_discover)
File "/usr/local/lib/python3.8/site-packages/miio/device.py", line 150, in init
self._protocol = MiIOProtocol(
File "/usr/local/lib/python3.8/site-packages/miio/miioprotocol.py", line 43, in init
self.token = bytes.fromhex(token)
ValueError: non-hexadecimal number found in fromhex() arg at position 3
The text was updated successfully, but these errors were encountered: