DurgNomis-drol / ha_toyota

Toyota Connected Services integration for Home Assistant.
MIT License
148 stars 29 forks source link

Enhancement: Enable error logging for pydantic `ValidationError` #239

Closed CM000n closed 7 months ago

CM000n commented 7 months ago

By enabling the _LOGGER.error() level for pydantic ValidationError cases, we should get more information about them within the Home Assistant logging. This makes it easier for users to understand where a possible error comes from.

See also: https://github.com/DurgNomis-drol/ha_toyota/issues/238