From a35d7b800c618101e841f91487c77597b0b738cb Mon Sep 17 00:00:00 2001 From: Leslie Liang Date: Sat, 27 Jan 2024 01:47:11 +0000 Subject: [PATCH] fixed issue with temperature rounding --- custom_components/nea_sg_weather/nea.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/nea_sg_weather/nea.py b/custom_components/nea_sg_weather/nea.py index 46a340ffc7..8138b6061e 100644 --- a/custom_components/nea_sg_weather/nea.py +++ b/custom_components/nea_sg_weather/nea.py @@ -334,7 +334,7 @@ class Temperature(NeaData): def __init__(self, weather: Weather) -> None: self.timestamp = "" - self.temp_avg = "" + self.temp_avg = 0 NeaData.__init__( self, weather,