Improve no-yaml warning (#93851)

This commit is contained in:
Erik Montnemery 2023-05-31 10:11:02 +02:00 committed by GitHub
parent 24ed53cebe
commit ef4dea07cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -228,6 +228,7 @@ async def _async_setup_component(
domain in processed_config
and not hasattr(component, "async_setup")
and not hasattr(component, "setup")
and not hasattr(component, "CONFIG_SCHEMA")
):
_LOGGER.error(
(