diff --git a/changelog.md b/changelog.md index b134b591..3a1b6ff4 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,8 @@ -# Version 2025.2.2 (2025-02-03) +# Version 2025.2.3 (2025-02-05) + +- Fix calculated climate sensor identification + +# Version 2025.2.2 (2025-02-05) - Catch get_metadata XMLRPC fault - Catch JSONDecodeError on load/save cache files diff --git a/hahomematic/const.py b/hahomematic/const.py index 58f58c90..51ab93c3 100644 --- a/hahomematic/const.py +++ b/hahomematic/const.py @@ -9,7 +9,7 @@ import re from typing import Any, Final, NamedTuple, Required, TypedDict -VERSION: Final = "2025.2.2" +VERSION: Final = "2025.2.3" # default DEFAULT_CUSTOM_ID: Final = "custom_id" diff --git a/hahomematic/model/calculated/climate.py b/hahomematic/model/calculated/climate.py index 6dc3e1ca..ce8a66aa 100644 --- a/hahomematic/model/calculated/climate.py +++ b/hahomematic/model/calculated/climate.py @@ -48,7 +48,7 @@ def _init_data_point_fields(self) -> None: self._add_data_point( parameter=Parameter.HUMIDITY, paramset_key=ParamsetKey.VALUES, data_point_type=DpSensor ) - if self._channel.get_generic_data_point(parameter=Parameter.TEMPERATURE, paramset_key=ParamsetKey.VALUES) + if self._channel.get_generic_data_point(parameter=Parameter.HUMIDITY, paramset_key=ParamsetKey.VALUES) else self._add_data_point( parameter=Parameter.ACTUAL_HUMIDITY, paramset_key=ParamsetKey.VALUES, data_point_type=DpSensor )