siku2 / hass-srf-weather

SRF Meteo forecasts for Home Assistant
MIT License
7 stars 3 forks source link

Wind Bearing #4

Closed cyrus4 closed 1 year ago

cyrus4 commented 2 years ago

Immer wenn es Windstill ist kommt diese Fehlermeldung und es wird nicht mehr aktualisiert:

Logger: custom_components.srf_weather.weather Source: custom_components/srf_weather/weather.py:299 Integration: SRF Weather First occurred: 14. Oktober 2021, 19:26:25 (16 occurrences) Last logged: 15. Oktober 2021, 21:26:25

failed to update weather Traceback (most recent call last): File "/config/custom_components/srf_weather/weather.py", line 309, in async_update await self.update() File "/config/custom_components/srf_weather/weather.py", line 299, in update wind_direction=forecastnow["wind_bearing"], KeyError: 'wind_bearing'

agners commented 2 years ago

Checked my logs, I never saw this. Do you still experience this?

siku2 commented 1 year ago

No longer relevant with the new version.