From 95dec1910e610e3f1164acd8a9fda54a8a4ece4c Mon Sep 17 00:00:00 2001 From: Christopher Fenner <9592452+CFenner@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:14:31 +0100 Subject: [PATCH] Update PyViCareRadiatorActuator.py --- PyViCare/PyViCareRadiatorActuator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyViCare/PyViCareRadiatorActuator.py b/PyViCare/PyViCareRadiatorActuator.py index 5c469a8e..2da627b5 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)})