We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a577e66 + e7cc7e0 commit d299578Copy full SHA for d299578
plugwise/helper.py
@@ -117,11 +117,11 @@ def _get_actuator_functionalities(xml: etree, data: DeviceData) -> None:
117
temp_dict[key] = format_measure(function.text, TEMP_CELSIUS) # type: ignore [literal-required]
118
119
if temp_dict:
120
+ # If domestic_hot_water_setpoint is present as actuator,
121
+ # rename and remove as sensor
122
if item == "domestic_hot_water_setpoint":
123
item = "max_dhw_temperature"
- # If max_dhw_temperature is present, don't show domestic_hot_water_setpoint sensor
- if "domestic_hot_water_setpoint" in data:
124
- data.pop("domestic_hot_water_setpoint")
+ data.pop("domestic_hot_water_setpoint")
125
126
data[item] = temp_dict # type: ignore [literal-required]
127
0 commit comments