Skip to content

Commit

Permalink
Blacked
Browse files Browse the repository at this point in the history
  • Loading branch information
bouwew committed Oct 17, 2023
1 parent 87a6757 commit 78da7fd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions plugwise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,7 @@ def _device_data_climate(
):
device_data["mode"] = "cool"

if (
"regulation_modes" in gateway
and gateway["select_regulation_mode"] == "off"
):
if "regulation_modes" in gateway and gateway["select_regulation_mode"] == "off":
device_data["mode"] = "off"

if "None" not in avail_schedules:
Expand Down

0 comments on commit 78da7fd

Please sign in to comment.