Skip to content

Commit

Permalink
Double guarding is not needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
bouwew committed Jul 6, 2023
1 parent 3c5af24 commit 11e5be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugwise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ async def set_temperature(self, loc_id: str, items: dict[str, float]) -> None:
if "setpoint" in items:
setpoint = items["setpoint"]

if self._cooling_present and "setpoint_high" in items:
if self._cooling_present:
tmp_setpoint_high = items["setpoint_high"]
tmp_setpoint_low = items["setpoint_low"]
if self._cooling_enabled: # in cooling mode
Expand Down

0 comments on commit 11e5be3

Please sign in to comment.