golles / ha-kamstrup_403

Custom component that integrates the Kamstrup 403 heating system into Home Assistant. This component does also support a few other heating systems
MIT License
72 stars 12 forks source link

got an unexpected keyword argument 'suggested_display_precision' #84

Closed Jimboer closed 1 year ago

Jimboer commented 1 year ago

Hi, I get this error on main branch, on previous version 2.3.0 it working properly.

Deze fout is ontstaan door een aangepaste integratie.

Logger: homeassistant.loader Source: custom_components/kamstrup_403/sensor.py:182 Integration: Kamstrup 403 (documentation, issues) First occurred: 20:15:57 (1 occurrences) Last logged: 20:15:57

Unexpected exception importing platform custom_components.kamstrup_403.sensor Traceback (most recent call last): File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/homeassistant/loader.py", line 722, in get_platform cache[full_name] = self._import_platform(platform_name) File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/homeassistant/loader.py", line 739, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") File "/var/packages/python310/target/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/volume1/@appstore/homeassistant/var/config/custom_components/kamstrup_403/sensor.py", line 182, in SensorEntityDescription( TypeError: SensorEntityDescription.init() got an unexpected keyword argument 'suggested_display_precision'

Jimboer commented 1 year ago

Home Assistant 2022.10.5 Frontend-versie: 20221010.0 - latest

golles commented 1 year ago

Home Assistant version 2023.3.0 or newer is required to use the version from the main branch. I assume you use an older version? If not, please open a new issue and fill out the entire form, https://github.com/golles/ha-kamstrup_403/issues/new?assignees=&labels=bug&template=issue.yaml