Skip to content

Commit 1531d2b

Browse files
committed
Revert "Don't update PID on keep_alive timer."
This reverts commit 50f79dd.
1 parent 13fbe26 commit 1531d2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

custom_components/smart_thermostat/climate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ async def _async_control_heating(self, time_func=None, calc_pid=False):
716716
await self.async_update_ha_state()
717717
return
718718

719-
if calc_pid:
719+
if calc_pid or self._sampling_period != 0:
720720
await self.calc_output()
721721
if time.time() - self._last_sensor_update > 10800:
722722
# sensor not updated for more than 3 hours, considered as stall, set to 0 for safety

0 commit comments

Comments
 (0)