diff --git a/PyViCare/PyViCareRadiatorActuator.py b/PyViCare/PyViCareRadiatorActuator.py index 5c469a8..2da627b 100644 --- a/PyViCare/PyViCareRadiatorActuator.py +++ b/PyViCare/PyViCareRadiatorActuator.py @@ -18,4 +18,4 @@ def getTargetTemperature(self): @handleAPICommandErrors def setTargetTemperature(self, temperature): - return self.service.setProperty("trv.temperature", "setTargetTemperature", {'temperature': int(temperature)}) + return self.service.setProperty("trv.temperature", "setTargetTemperature", {'temperature': float(temperature)})