Skip to content

Commit

Permalink
FIX overpowering is not always saved
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Marc Collin committed Nov 11, 2023
1 parent 2c5078c commit 55a9905
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion custom_components/versatile_thermostat/base_thermostat.py
Original file line number Diff line number Diff line change
Expand Up @@ -1888,7 +1888,10 @@ async def check_overpowering(self) -> bool:
},
)

self._overpowering_state = ret
if self._overpowering_state != ret:
self._overpowering_state = ret
self.update_custom_attributes()

return self._overpowering_state

async def check_security(self) -> bool:
Expand Down

0 comments on commit 55a9905

Please sign in to comment.