Skip to content

Incorrect range for local_temperature_calibration on Bosch BTH-RA (Room Thermostat II)Β #30469

@Momentum6890

Description

@Momentum6890

What happened?

Description

The Bosch Room Thermostat II (BTH-RA) no longer accepts local_temperature_calibration values outside the range of -2.5 to +2.5Β°C. This worked correctly in previous versions but broke after the latest update.

Expected behavior

Based on the error message "localTemperatureCalibration requires min of -25", values between -25 and the maximum should be accepted. Alternatively, if the actual range is -2.5 to +2.5, this should be clearly documented and the error message should reflect the correct limits.

Actual behavior

Values between -2.5 and +2.5 work correctly
Any value below -2.5 or above +2.5 produces an error
Error message shows: Error: localTemperatureCalibration requires min of -25
The error message is misleading as it suggests -25 is the minimum, when the actual minimum is -2.5

Example error

z2m: Publish 'set' 'local_temperature_calibration' to 'Heizung: Wohnzimmer' failed: 'Error: localTemperatureCalibration requires min of -25'

Device information

Device: Bosch Room Thermostat II
Model: BTH-RA

Regression details

Previous behavior: Values outside -2.5 to +2.5 (e.g., -5) worked correctly
Current behavior: Only values between -2.5 and +2.5 are accepted
When it broke: After updating to the latest Zigbee2MQTT version

Additional context

This is a regression that affects existing setups:

Users who had calibration values outside -2.5 to +2.5 configured before the update can no longer adjust them
The error message displays incorrect range information (-25 minimum vs actual -2.5 minimum)
This worked correctly in the previous Zigbee2MQTT version

In my case, i use Better Thermostat and now its no more working correctly.

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

2.7.2-1

Adapter firmware version

7.4.4

Adapter

Home Assistant ZBT-2

Setup

Home Assistant OS
Zigbee2MQTT add-on

Device database.db entry

No response

Debug log

No response

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    problemSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions