-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
Description
Home Assistant 2025-12-24 00_26_31.json
Bug: out_of_range during calibration loop in Advanced Heating Control (Bosch thermostat BTH-RM230Z)
Summary
Using the blueprint panhans/advanced_heating_control.yaml with a Bosch thermostat model BTH-RM230Z causes the automation to fail with out_of_range during the calibration step when calling number.set_value on the local temperature calibration entity.
Environment
- Home Assistant: 2025.12.4
- Blueprint:
panhans/advanced_heating_control.yaml - Thermostat model: Bosch BTH-RM230Z
- Climate entity:
climate.thermostat_wohnzimmer - Calibration entity:
number.thermostat_wohnzimmer_local_temperature_calibration- min:
-5 - max:
5 - step:
0.1
- min:
Reproduction steps
- Configure the blueprint with the Bosch thermostat (BTH-RM230Z) and an external temperature sensor.
- Let the automation run until the calibration logic is triggered.
- The automation attempts to write a calibration value using
number.set_value. - The script aborts with
out_of_range.
Actual behavior
number.set_valueis called with an absolute temperature value (e.g.21.5).- The calibration entity expects an offset in the range
-5 … +5. - Home Assistant throws
out_of_rangeand the automation stops.
Expected behavior
The blueprint should treat Bosch BTH-RM230Z calibration as an offset-based calibration and:
- use
calibration_common, or - convert absolute temperatures to offsets, and
- clamp and round values to the entity’s
min,max, andstep.
Suspected cause
Bosch devices are grouped with DPH valves, causing the DPH calibration path to write absolute temperatures into an offset-style calibration entity.
Suggested fix
- Exclude Bosch devices (BTH-RM230Z) from the DPH valve group, or
- Detect offset-style calibration entities and route them through
calibration_common, or - Clamp and round calibration values before calling
number.set_value.