Use PRECISION_TENTHS for Mill local integration (#97874)

This commit is contained in:
Ståle Storø Hauknes
2023-08-06 01:25:17 +02:00
committed by GitHub
parent a09090bf99
commit 34013ac3e9

View File

@@ -15,7 +15,6 @@ from homeassistant.const import (
ATTR_TEMPERATURE,
CONF_IP_ADDRESS,
CONF_USERNAME,
PRECISION_HALVES,
PRECISION_TENTHS,
UnitOfTemperature,
)
@@ -184,7 +183,7 @@ class LocalMillHeater(CoordinatorEntity[MillDataUpdateCoordinator], ClimateEntit
_attr_min_temp = MIN_TEMP
_attr_name = None
_attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
_attr_target_temperature_step = PRECISION_HALVES
_attr_target_temperature_step = PRECISION_TENTHS
_attr_temperature_unit = UnitOfTemperature.CELSIUS
def __init__(self, coordinator: MillDataUpdateCoordinator) -> None: