Fix incorrect cast in HitachiAirToWaterHeatingZone in Overkiz (#135468)

This commit is contained in:
Mick Vleeshouwer 2025-01-13 12:11:01 +01:00 committed by GitHub
parent 25041aa02d
commit c15073cc27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -119,5 +119,5 @@ class HitachiAirToWaterHeatingZone(OverkizEntity, ClimateEntity):
temperature = cast(float, kwargs.get(ATTR_TEMPERATURE))
await self.executor.async_execute_command(
OverkizCommand.SET_THERMOSTAT_SETTING_CONTROL_ZONE_1, int(temperature)
OverkizCommand.SET_THERMOSTAT_SETTING_CONTROL_ZONE_1, float(temperature)
)