Skip to content

Commit

Permalink
Update hvactype.py
Browse files Browse the repository at this point in the history
  • Loading branch information
elden1337 authored Nov 11, 2024
1 parent 1c0803e commit c6670e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async def async_update_hvac(self) -> None:
await self.house_ventilation.async_check_vent_boost()

async def async_update_offset(self, raw_offset:int|None = None) -> bool:
if raw_offset:
if raw_offset is not None:
if int(raw_offset) != self.model.raw_offset:
self.model.raw_offset = int(raw_offset)
ret = False
Expand Down

0 comments on commit c6670e0

Please sign in to comment.