ha-ideenergy icon indicating copy to clipboard operation
ha-ideenergy copied to clipboard

Compatibility issues with Home Assistant >= 2024

Open hartmood opened this issue 6 months ago • 13 comments

Describe the bug Logger: homeassistant.const Source: helpers/deprecation.py:204 First occurred: 09:41:26 (2 occurrences) Last logged: 09:41:26

TEMP_CELSIUS was used from ideenergy, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/ldotlopez/ha-ideenergy/issues TEMP_FAHRENHEIT was used from ideenergy, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please create a bug report at https://github.com/ldotlopez/ha-ideenergy/issues

Environment

  • HomeAssistant version [e.g. 2024.1]

Additional context Logger: homeassistant.loader Source: loader.py:822 First occurred: 09:41:26 (1 occurrences) Last logged: 09:41:26

Unexpected exception importing component custom_components.ideenergy Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/loader.py", line 822, in get_component ComponentProtocol, importlib.import_module(self.pkg_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/config/custom_components/ideenergy/init.py", line 43, in from .datacoordinator import DataSetType, IDeCoordinator File "/config/custom_components/ideenergy/datacoordinator.py", line 37, in from .entity import IDeEntity File "/config/custom_components/ideenergy/entity.py", line 29, in from homeassistant_historical_sensor.recorderutil import ( File "/usr/local/lib/python3.11/site-packages/homeassistant_historical_sensor/init.py", line 39, in raise SystemError(msg) SystemError: Running HomeAssistant 2024.1.0b0, Minimum required version >=2023.6.0

hartmood avatar Dec 28 '23 08:12 hartmood