Skip to content

Commit

Permalink
fix(TRV): wrong data type (#472)
Browse files Browse the repository at this point in the history
Update PyViCareRadiatorActuator.py
  • Loading branch information
CFenner authored Dec 23, 2024
1 parent 5ef6c47 commit da431f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyViCare/PyViCareRadiatorActuator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)})

0 comments on commit da431f1

Please sign in to comment.