Skip to content

Commit

Permalink
change precision to 0.5 for target temp
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdavb committed Dec 4, 2024
1 parent 9a2ac02 commit 2bcc11f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/ramses_cc/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
HVACMode,
)
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import UnitOfTemperature
from homeassistant.const import PRECISION_HALVES, UnitOfTemperature
from homeassistant.core import HomeAssistant, callback
from homeassistant.helpers.entity_platform import (
AddEntitiesCallback,
Expand Down Expand Up @@ -290,7 +290,7 @@ class RamsesZone(RamsesEntity, ClimateEntity):
_attr_supported_features: ClimateEntityFeature = (
ClimateEntityFeature.PRESET_MODE | ClimateEntityFeature.TARGET_TEMPERATURE
)
_attr_target_temperature_step: float = PRECISION_TENTHS
_attr_target_temperature_step: float = PRECISION_HALVES
_attr_temperature_unit: str = UnitOfTemperature.CELSIUS

def __init__(
Expand Down

0 comments on commit 2bcc11f

Please sign in to comment.