mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Ignore failing gas stations in Tankerkoening (#112125)
This commit is contained in:
parent
cdd7b94a95
commit
409dc02d36
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user