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