Change log severity from warn to error for custom integration version (#49726)
This commit is contained in:
parent
2a2e573987
commit
9d3b5cd0de
1 changed files with 2 additions and 2 deletions
|
@ -791,12 +791,12 @@ def custom_integration_warning(integration: Integration) -> None:
|
|||
_LOGGER.warning(CUSTOM_WARNING, integration.domain)
|
||||
|
||||
if integration.manifest.get("version") is None:
|
||||
_LOGGER.warning(
|
||||
_LOGGER.error(
|
||||
CUSTOM_WARNING_VERSION_MISSING, integration.domain, integration.domain
|
||||
)
|
||||
else:
|
||||
if not validate_custom_integration_version(integration.manifest["version"]):
|
||||
_LOGGER.warning(
|
||||
_LOGGER.error(
|
||||
CUSTOM_WARNING_VERSION_TYPE,
|
||||
integration.manifest["version"],
|
||||
integration.domain,
|
||||
|
|
Loading…
Add table
Reference in a new issue