mirror of
https://github.com/home-assistant/core
synced 2024-09-25 00:41:32 +02:00
Use PRECISION_TENTHS for Mill local integration (#97874)
This commit is contained in:
parent
a09090bf99
commit
34013ac3e9
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user