Improve no-yaml warning (#93851)
parent
24ed53cebe
commit
ef4dea07cd
|
@ -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…
Reference in New Issue