mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00: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,
|
ATTR_TEMPERATURE,
|
||||||
CONF_IP_ADDRESS,
|
CONF_IP_ADDRESS,
|
||||||
CONF_USERNAME,
|
CONF_USERNAME,
|
||||||
PRECISION_HALVES,
|
|
||||||
PRECISION_TENTHS,
|
PRECISION_TENTHS,
|
||||||
UnitOfTemperature,
|
UnitOfTemperature,
|
||||||
)
|
)
|
||||||
@ -184,7 +183,7 @@ class LocalMillHeater(CoordinatorEntity[MillDataUpdateCoordinator], ClimateEntit
|
|||||||
_attr_min_temp = MIN_TEMP
|
_attr_min_temp = MIN_TEMP
|
||||||
_attr_name = None
|
_attr_name = None
|
||||||
_attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
|
_attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
|
||||||
_attr_target_temperature_step = PRECISION_HALVES
|
_attr_target_temperature_step = PRECISION_TENTHS
|
||||||
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
||||||
|
|
||||||
def __init__(self, coordinator: MillDataUpdateCoordinator) -> None:
|
def __init__(self, coordinator: MillDataUpdateCoordinator) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user