Skip to content

Commit 8140b3f

Browse files
committed
Workaround to fix mypy error
1 parent 2055c4e commit 8140b3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugwise/smile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ def update_for_cooling(self, devices: dict[str, DeviceData]) -> None:
8585
}
8686
if "setpoint_low" not in sensors:
8787
sensors.pop("setpoint")
88-
sensors.update(temp_dict)
88+
sensors["setpoint_low"] = temp_dict["setpoint_low"]
89+
sensors["setpoint_high"] = temp_dict["setpoint_high"]
8990
thermostat.pop("setpoint")
9091
temp_dict.update(thermostat)
9192
device["thermostat"] = temp_dict

0 commit comments

Comments
 (0)