Ignore failing gas stations in Tankerkoening (#112125)

This commit is contained in:
Michael 2024-03-03 18:29:02 +01:00 committed by GitHub
parent cdd7b94a95
commit 409dc02d36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,8 +62,11 @@ class TankerkoenigDataUpdateCoordinator(DataUpdateCoordinator):
station = await self._tankerkoenig.station_details(station_id)
except TankerkoenigInvalidKeyError as err:
raise ConfigEntryAuthFailed(err) from err
except (TankerkoenigError, TankerkoenigConnectionError) as err:
except TankerkoenigConnectionError as err:
raise ConfigEntryNotReady(err) from err
except TankerkoenigError as err:
_LOGGER.error("Error when adding station %s %s", station_id, err)
continue
self.stations[station_id] = station