Skip to content

Commit

Permalink
fix: rain and wind dicts
Browse files Browse the repository at this point in the history
  • Loading branch information
chilikla authored Nov 24, 2024
1 parent 0d0902a commit dee21f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/yerushamayim/data_coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ def _extract_data(self) -> YerushamayimData:
except Exception as err:
_LOGGER.debug("Could not parse coldmeter data: %s", err)

rain_data = {}
wind_data = {}
if self.rest_api is not None and self.rest_api.data:
try:
rest_data = {}
Expand Down

0 comments on commit dee21f8

Please sign in to comment.