Rudd-O / homeassistant-meteoswiss

:sun_behind_rain_cloud: :switzerland: Meteo Swiss Integration for Home Assistant (forked from websylv)
74 stars 8 forks source link

Error adding entities for domain weather with platform meteo-swiss #1

Closed Rudd-O closed 1 year ago

Rudd-O commented 1 year ago

See report here https://github.com/websylv/homeassistant-meteoswiss/issues/79 .

Rudd-O commented 1 year ago

We're still tracking the issue down. Now we log a backtrace.

Rudd-O commented 1 year ago

I've pushed another update that lets you know (in the Repairs section of Home Assistant) if the station you are using has stopped providing data. This should address some issues people were having.

This in fact fully addresses the issue of index error out of range! This error happens when the data cannot be retrieved for whatever reason, so now when that's the case we simply return Unavailable for sensors and current weather, and if it happens for too long, we raise a repair issue within Home Assistant.