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 2275b6b commit 1a93aaa
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 @@ -330,7 +330,7 @@ class Temperature(NeaData):

def __init__(self):
self.timestamp = ""
self.temp_avg = ""
self.temp_avg = 0
NeaData.__init__(
self,
PRIMARY_ENDPOINTS["temperature"],
Expand Down

0 comments on commit 1a93aaa

Please sign in to comment.