Open RubenPauwels1 opened 1 year ago
There seems to be a fix in PR https://github.com/filipvh/hass-nhc2/pull/50
I can confirm, this fix is working on 2023.1.0
Just upgrade HAS core and now I seem to have the same issue:
Deze fout is ontstaan door een aangepaste integratie.
Logger: homeassistant.config_entries Source: custom_components/nhc2/coco_climate.py:7 Integration: Niko Home Control II (documentation, issues) First occurred: 15:40:24 (2 occurrences) Last logged: 22:43:16
Error setting up entry hobby (192.168.1.XX) for nhc2
c Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/nhc2/__init__.py", line 70, in async_setup_entry from .coco import CoCo File "/config/custom_components/nhc2/coco.py", line 16, in <module> from .coco_climate import CoCoThermostat File "/config/custom_components/nhc2/coco_climate.py", line 7, in <module> from homeassistant.components.climate import ( ImportError: cannot import name 'TEMP_CELSIUS' from 'homeassistant.components.climate' (/usr/src/homeassistant/homeassistant/components/climate/__init__.py)
version | core-2023.1.1 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.10.7 |
os_name | Linux |
os_version | 5.15.76-v8 |
arch | aarch64 |
timezone | Europe/Brussels |
config_dir | /config |
I can confirm the commit in https://github.com/filipvh/hass-nhc2/pull/50 fixes the issue. Thanks @aureg
Another confirmation that #50 fixes the issue!
After upgrading to version 2023.1 of Home Assistant, the integration is getting an error in the logs.
Error: