zigbee2mqtt
zigbee2mqtt copied to clipboard
String error Aqara Temperature and Humidity Sensor
What happened?
The specific settings for the sensor Temperature calibration, Temperature precision, Humidity calibration and humidity precision give an error that pops up in red in Z2MTT, the sensor is returning a string and not a number. This error continues to pop up for each of the settings.
Example of error:
What did you expect to happen?
Expected no error when leaving values default or changing them.
How to reproduce it (minimal and precise)
Add any Aqara temperature and humidity sensor.
Zigbee2MQTT version
1.37.0
Adapter firmware version
20230507
Adapter
Sonoff Zigbee Dongle
Setup
Add on HA on intel nuc
Debug log
[2024-05-06 08:11:13] error: zhc: Failed to apply calibration to 'temperature': 'temperature_precision' is not a number, got string () [2024-05-06 08:12:17] error: zhc: Failed to apply calibration to 'humidity': 'humidity_calibration' is not a number, got string () [2024-05-06 08:14:15] error: zhc: Failed to apply calibration to 'temperature': 'temperature_precision' is not a number, got string () [2024-05-06 08:17:16] error: zhc: Failed to apply calibration to 'humidity': 'humidity_calibration' is not a number, got string () [2024-05-06 08:17:26] error: zhc: Failed to apply calibration to 'temperature': 'temperature_precision' is not a number, got string () [2024-05-06 08:19:24] warning: z2m: Failed to ping 'Cabinet Light Two' (attempt 1/1, ZCL command 0xa4c138d2f870cfe8/1 genBasic.read(["zclVersion"],