Ignore failing gas stations in Tankerkoening (#112125)
parent
2cdc8d5f69
commit
62474967c9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue