Hi,
I just updated to the latest version, and still not working.
Platform error: climate - Requirements for hysen not found: [‘broadlink==0.13.0’].e[0m
2020-03-26 09:54:34 stdout e[31m2020-03-26 09:54:34 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package broadlink==0.13.0: ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/site-packages/broadlink-0.9.dist-info/'e
e[31m2020-03-26 10:54:01 ERROR (MainThread) [homeassistant.config] Platform error: climate - Requirements for hysen not found: [‘broadlink==0.13.0’].e[0m
2020-03-26 10:54:00
stdout
e[31m2020-03-26 10:54:00 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package broadlink==0.13.0: ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/site-packages/broadlink-0.12.0.dist-info/'e
After update Home Assistant (Hassio) from 0.108.5 to 0.108.6 in log happens the next error:
Logger: custom_components.hysen.climate
Source: custom_components/hysen/climate.py:891
Failed to get Data from Broadlink Hysen Device:climate.main_thermostat,:name ‘calculate_crc16’ is not defined
I’ve upgraded to 0.108.6, no issues to report i’m using hass.io, I have noticed that HA has upgraded to broadlink 0.13.1 in this release and this has replaced the crc check code away from using pythoncrc . I’ve tried moving the hysen component to use the new version but it fails with the error you say above. However if the manifest and code reference 0.13.0, it continues to work for me.
This is the record … But I don’t know where to look anymore.
Logger: custom_components.hysen.climate
Source: custom_components/hysen/climate.py:891
First occurred: 21:35:26 (28 occurrences)
Last logged: 22:02:50
Failed to get Data from Broadlink Hysen Device:climate.main_thermostat,:name 'calculate_crc16' is not defined
The solution is not mine, it is Andrea’s. It’s up. Inside the custom_components / hysen folder, you have to replace the content of the manifest.json and put the following:
This is such a good component. The only downside is that it is still not official and thus breaks every ~+10 updates of hass.io.
Unfortunately, updating the manifest.json didn’t work. I still get
Failed to get Data from Broadlink Hysen Device:climate.fussbodenheizung,:name ‘calculate_crc16’ is not defined
FrayBer, there must be a problem with your HA installation, its working fine on mine @ Hassio.io 0.108.9.
Have you tried deleting the entire hysen directory from your custom_components directory, getting the new version from github and putting it in, then do a Hass.io reboot?