Improve no-yaml warning (#93851)
This commit is contained in:
parent
24ed53cebe
commit
ef4dea07cd
1 changed files with 1 additions and 0 deletions
|
@ -228,6 +228,7 @@ async def _async_setup_component(
|
||||||
domain in processed_config
|
domain in processed_config
|
||||||
and not hasattr(component, "async_setup")
|
and not hasattr(component, "async_setup")
|
||||||
and not hasattr(component, "setup")
|
and not hasattr(component, "setup")
|
||||||
|
and not hasattr(component, "CONFIG_SCHEMA")
|
||||||
):
|
):
|
||||||
_LOGGER.error(
|
_LOGGER.error(
|
||||||
(
|
(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue