From da431f12e626fccd920d5f1dfe6d65fd876bc483 Mon Sep 17 00:00:00 2001 From: Christopher Fenner <9592452+CFenner@users.noreply.github.com> Date: Mon, 23 Dec 2024 19:16:34 +0100 Subject: [PATCH] fix(TRV): wrong data type (#472) 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)})