mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
fix: electrasmart - cast temperature to int in set_temperature (#94368)
fix: cast temperature to int
This commit is contained in:
parent
117ab4a0e5
commit
26b78d2a7a
@ -250,7 +250,7 @@ class ElectraClimateEntity(ClimateEntity):
|
||||
if (temperature := kwargs.get(ATTR_TEMPERATURE)) is None:
|
||||
raise ValueError("No target temperature provided")
|
||||
|
||||
self._electra_ac_device.set_temperature(temperature)
|
||||
self._electra_ac_device.set_temperature(int(temperature))
|
||||
await self._async_operate_electra_ac()
|
||||
|
||||
def _update_device_attrs(self) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user