mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 08:07:45 +00:00
Log warnings in Renault initialisation (#114445)
This commit is contained in:
parent
63ccdcb786
commit
60d545e5f9
@ -125,16 +125,16 @@ class RenaultVehicleProxy:
|
|||||||
coordinator = self.coordinators[key]
|
coordinator = self.coordinators[key]
|
||||||
if coordinator.not_supported:
|
if coordinator.not_supported:
|
||||||
# Remove endpoint as it is not supported for this vehicle.
|
# Remove endpoint as it is not supported for this vehicle.
|
||||||
LOGGER.info(
|
LOGGER.warning(
|
||||||
"Ignoring endpoint %s as it is not supported for this vehicle: %s",
|
"Ignoring endpoint %s as it is not supported: %s",
|
||||||
coordinator.name,
|
coordinator.name,
|
||||||
coordinator.last_exception,
|
coordinator.last_exception,
|
||||||
)
|
)
|
||||||
del self.coordinators[key]
|
del self.coordinators[key]
|
||||||
elif coordinator.access_denied:
|
elif coordinator.access_denied:
|
||||||
# Remove endpoint as it is denied for this vehicle.
|
# Remove endpoint as it is denied for this vehicle.
|
||||||
LOGGER.info(
|
LOGGER.warning(
|
||||||
"Ignoring endpoint %s as it is denied for this vehicle: %s",
|
"Ignoring endpoint %s as it is denied: %s",
|
||||||
coordinator.name,
|
coordinator.name,
|
||||||
coordinator.last_exception,
|
coordinator.last_exception,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user