Skip to content

Commit

Permalink
Bugfix - basic local calibration calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
folfy committed Dec 20, 2024
1 parent 7ff45b1 commit fe622d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom_components/better_thermostat/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ def _convert_to_float(value):
)
return None

_new_trv_calibration = (
_cur_external_temp - _cur_trv_temp_f
) + _current_trv_calibration
_new_trv_calibration = _cur_external_temp - _cur_trv_temp_f

_calibration_mode = self.real_trvs[entity_id]["advanced"].get(
"calibration_mode", CalibrationMode.DEFAULT
Expand Down

0 comments on commit fe622d8

Please sign in to comment.