Skip to content

Commit 577c661

Browse files
committed
Change thermostat temperature display precision to 0.1 C
1 parent 5bae159 commit 577c661

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

custom_components/luxtronik/climate.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
from homeassistant.config_entries import ConfigEntry
2222
from homeassistant.const import (
2323
ATTR_TEMPERATURE,
24-
PRECISION_HALVES,
24+
# PRECISION_HALVES,
25+
PRECISION_TENTHS,
2526
STATE_UNKNOWN,
2627
UnitOfTemperature,
2728
)
@@ -230,7 +231,7 @@ class LuxtronikThermostat(LuxtronikEntity, ClimateEntity, RestoreEntity):
230231

231232
_last_hvac_mode_before_preset: str | None = None
232233

233-
_attr_precision = PRECISION_HALVES
234+
_attr_precision = PRECISION_TENTHS
234235
_attr_target_temperature = 21.0
235236
_attr_target_temperature_high = 28.0
236237
_attr_target_temperature_low = 18.0

0 commit comments

Comments
 (0)