Skip to content

Commit

Permalink
Update calibration.py
Browse files Browse the repository at this point in the history
  • Loading branch information
andyxpert authored Dec 8, 2024
1 parent 033e821 commit d6f0c2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/better_thermostat/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ def calculate_calibration_setpoint(self, entity_id) -> Union[float, None]:
* valve_position
)

if self.attr_hvac_action == HVACAction.IDLE:
if _calibrated_setpoint - _cur_trv_temp_s > 0.0:
_calibrated_setpoint -= self.tolerance
# if self.attr_hvac_action == HVACAction.IDLE:
# if _calibrated_setpoint - _cur_trv_temp_s > 0.0:
# _calibrated_setpoint -= self.tolerance

_calibrated_setpoint = fix_target_temperature_calibration(
self, entity_id, _calibrated_setpoint
Expand Down

0 comments on commit d6f0c2f

Please sign in to comment.