lm75: round reported temps to 2 decimal places

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2021-10-11 14:27:15 -04:00 committed by KevinOConnor
parent 916ef4483a
commit bf598d0922
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ class LM75:
def get_status(self, eventtime):
return {
'temperature': self.temp,
'temperature': round(self.temp, 2),
}