Skip to content

Commit 522cf1a

Browse files
committed
Change order, line min/max up with Plugwise App
1 parent e14e1ef commit 522cf1a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

plugwise/helper.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -928,14 +928,13 @@ def _get_actuator_functionalities(self, xml: etree, data: DeviceData) -> None:
928928
if function.text == "nil":
929929
break
930930

931+
temp_dict[key] = format_measure(function.text, TEMP_CELSIUS) # type: ignore [literal-required]
931932
if key == "offset":
932933
# Add limits and resolution for temperature_offset,
933934
# not provided by Plugwise in the XML data
934-
temp_dict["lower_bound"] = -5.0
935+
temp_dict["lower_bound"] = -2.0
935936
temp_dict["resolution"] = 0.1
936-
temp_dict["upper_bound"] = 5.0
937-
938-
temp_dict[key] = format_measure(function.text, TEMP_CELSIUS) # type: ignore [literal-required]
937+
temp_dict["upper_bound"] = 2.0
939938

940939
if temp_dict:
941940
# If domestic_hot_water_setpoint is present as actuator,

0 commit comments

Comments
 (0)