mirror of
https://github.com/home-assistant/core
synced 2024-07-15 09:42:11 +02:00
Set precision to halves in flexit_bacnet (#106959)
flexit_bacnet: set precision to halves for target temperature
This commit is contained in:
parent
df97b0e945
commit
e2b2732a90
@ -19,7 +19,7 @@ from homeassistant.components.climate import (
|
||||
HVACMode,
|
||||
)
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.const import ATTR_TEMPERATURE, PRECISION_WHOLE, UnitOfTemperature
|
||||
from homeassistant.const import ATTR_TEMPERATURE, PRECISION_HALVES, UnitOfTemperature
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.exceptions import HomeAssistantError
|
||||
from homeassistant.helpers.device_registry import DeviceInfo
|
||||
@ -65,7 +65,7 @@ class FlexitClimateEntity(ClimateEntity):
|
||||
ClimateEntityFeature.PRESET_MODE | ClimateEntityFeature.TARGET_TEMPERATURE
|
||||
)
|
||||
|
||||
_attr_target_temperature_step = PRECISION_WHOLE
|
||||
_attr_target_temperature_step = PRECISION_HALVES
|
||||
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
||||
|
||||
def __init__(self, device: FlexitBACnet) -> None:
|
||||
|
Loading…
Reference in New Issue
Block a user