Skip to content

Commit

Permalink
Issue #696 - follow underlying doesn't work anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Marc Collin committed Dec 11, 2024
1 parent a09af6a commit 5ec74c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/versatile_thermostat/thermostat_climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ async def _async_internal_set_temperature(self, temperature: float):
await super()._async_internal_set_temperature(temperature)

self._regulation_algo.set_target_temp(self.target_temperature)
# is done by control_heating method. No need to do it here
# await self._send_regulated_temperature(force=True)
# Is necessary cause control_heating method will not force the update.
await self._send_regulated_temperature(force=True)

async def _send_regulated_temperature(self, force=False):
"""Sends the regulated temperature to all underlying"""
Expand Down

0 comments on commit 5ec74c8

Please sign in to comment.