Remove Daikin int conversion to allow decimal target temperature steps (#61616)
* Remove int conversion in order to allow decimal target temperature steps * Convert to float and keep 1 digitpull/68917/head
parent
4ca4180fd2
commit
aa6f551b33
homeassistant/components/daikin
|
@ -163,7 +163,9 @@ class DaikinClimate(ClimateEntity):
|
|||
# temperature
|
||||
elif attr == ATTR_TEMPERATURE:
|
||||
try:
|
||||
values[HA_ATTR_TO_DAIKIN[ATTR_TARGET_TEMPERATURE]] = str(int(value))
|
||||
values[HA_ATTR_TO_DAIKIN[ATTR_TARGET_TEMPERATURE]] = str(
|
||||
round(float(value), 1)
|
||||
)
|
||||
except ValueError:
|
||||
_LOGGER.error("Invalid temperature %s", value)
|
||||
|
||||
|
|
Loading…
Reference in New Issue