Skip to content

Commit

Permalink
🚨 Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
anarion80 committed Mar 16, 2024
1 parent 2dbdab8 commit 9d47277
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion custom_components/tech/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ def update_properties(self, device: dict[str, Any]) -> None:
self._temperature = None

# Update humidity
if device[CONF_ZONE]["humidity"] is not None and device[CONF_ZONE]["humidity"] >= 0:
if (
device[CONF_ZONE]["humidity"] is not None
and device[CONF_ZONE]["humidity"] >= 0
):
self._humidity = device[CONF_ZONE]["humidity"]
else:
self._humidity = None
Expand Down

0 comments on commit 9d47277

Please sign in to comment.