temperature_fan: add missing round function to get_status temperature

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej 2022-02-17 22:30:13 +01:00 committed by KevinOConnor
parent 5d0d6d5a32
commit 12e304fbec
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class TemperatureFan:
return self.max_speed
def get_status(self, eventtime):
status = self.fan.get_status(eventtime)
status["temperature"] = self.last_temp
status["temperature"] = round(self.last_temp, 2)
status["target"] = self.target_temp
return status
cmd_SET_TEMPERATURE_FAN_TARGET_help = \