Log warnings in Renault initialisation (#114445)

This commit is contained in:
epenet 2024-03-29 16:20:43 +01:00 committed by GitHub
parent 63ccdcb786
commit 60d545e5f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -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,
)