mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 06:35:10 +02:00
Ignore failing gas stations in Tankerkoening (#112125)
This commit is contained in:
@@ -62,8 +62,11 @@ class TankerkoenigDataUpdateCoordinator(DataUpdateCoordinator):
|
|||||||
station = await self._tankerkoenig.station_details(station_id)
|
station = await self._tankerkoenig.station_details(station_id)
|
||||||
except TankerkoenigInvalidKeyError as err:
|
except TankerkoenigInvalidKeyError as err:
|
||||||
raise ConfigEntryAuthFailed(err) from err
|
raise ConfigEntryAuthFailed(err) from err
|
||||||
except (TankerkoenigError, TankerkoenigConnectionError) as err:
|
except TankerkoenigConnectionError as err:
|
||||||
raise ConfigEntryNotReady(err) from 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
|
self.stations[station_id] = station
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user