lm75: round reported temps to 2 decimal places

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan authored and KevinOConnor committed 2021-10-15 18:01:19 -04:00
1 parent 916ef4483a
commit bf598d0922
1 file changed
+1 -1
+1 -1
View File
@@ -98,7 +98,7 @@ class LM75:
def get_status(self, eventtime):
return {
'temperature': self.temp,
'temperature': round(self.temp, 2),
}