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
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_value is 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_range and 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, and step.
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.
Home Assistant 2025-12-24 00_26_31.json
Bug:
out_of_rangeduring calibration loop in Advanced Heating Control (Bosch thermostat BTH-RM230Z)Summary
Using the blueprint
panhans/advanced_heating_control.yamlwith a Bosch thermostat model BTH-RM230Z causes the automation to fail without_of_rangeduring the calibration step when callingnumber.set_valueon the local temperature calibration entity.Environment
panhans/advanced_heating_control.yamlclimate.thermostat_wohnzimmernumber.thermostat_wohnzimmer_local_temperature_calibration-550.1Reproduction steps
number.set_value.out_of_range.Actual behavior
number.set_valueis called with an absolute temperature value (e.g.21.5).-5 … +5.out_of_rangeand the automation stops.Expected behavior
The blueprint should treat Bosch BTH-RM230Z calibration as an offset-based calibration and:
calibration_common, ormin,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
calibration_common, ornumber.set_value.