Skip to content

Commit

Permalink
fixed issue with temperature rounding
Browse files Browse the repository at this point in the history
  • Loading branch information
liangleslie committed Jan 27, 2024
1 parent 811e90f commit a35d7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/nea_sg_weather/nea.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a35d7b8

Please sign in to comment.