Hello,
I notice that under class temperature there is devisor by 100. For ex temperature of 2123 would be presented as 21.2, not 21.23.
Could You create this class more precision? Compare to integration xiaomi miio we would get full temperature as 21.23. Unfortunately HA will not register same temperature.
Don’t know how it would be works, but I need to get precision of 1/100 not 1/10. Aqara can do that, ZHA didn’t. Tested on Aqara temperature sensor with Aqara gateway and Sonoff gateway with tasmota to zha.
zha/sensor.py :
class Temperature(Sensor):
“”“Temperature Sensor.”""
SENSOR_ATTR = "measured_value"
_attr_device_class: SensorDeviceClass = SensorDeviceClass.TEMPERATURE
_attr_state_class: SensorStateClass = SensorStateClass.MEASUREMENT
_divisor = 100
_unit = TEMP_CELSIUS