This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Description
The climate.pyvicare_heating entity is showing:
current_temperature: 21
room_temperature: 20.6
I want my lovelace thermostat to show 20.6 (not 21)
current_temperature & room_temperature are set in climate.py (line 188) to the same value
if _room_temperature is not None:
self._current_temperature = _room_temperature
...
self._attributes["room_temperature"] = _room_temperature
I have to change PRECISION_WHOLE to PRECISION_TENTHS in climate.py (line 26)
from homeassistant.const import ATTR_TEMPERATURE, PRECISION_WHOLE, TEMP_CELSIUS
and climate.py (line 309)
@property
def precision(self):
"""Return the precision of the system."""
return PRECISION_WHOLE
When I do that, I can see the current_temperature in my thermostat with tenth precision:

(also resulting in nicer history graphs)
Is there a reason for using PRECISION_WHOLE and not PRECISION_TENTHS?