htu21d: 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:26:25 -04:00 committed by KevinOConnor
parent e65b2593c6
commit 916ef4483a
1 changed files with 1 additions and 1 deletions

View File

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