Skip to content

Commit

Permalink
Merge branch 'master' into ventilation
Browse files Browse the repository at this point in the history
  • Loading branch information
CFenner authored Dec 26, 2024
2 parents a2695f3 + 0aec87c commit d4dad2e
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 d4dad2e

Please sign in to comment.