diff --git a/homeassistant/loader.py b/homeassistant/loader.py index 6fb003926e1..61aacd3b233 100644 --- a/homeassistant/loader.py +++ b/homeassistant/loader.py @@ -209,8 +209,9 @@ def load_order_component(hass, # type: HomeAssistant comp_name: str) -> OrderedSet: """Return an OrderedSet of components in the correct order of loading. - Raises HomeAssistantError if a circular dependency is detected. - Returns an empty list if component could not be loaded. + Returns an empty list if a circular dependency is detected + or the component could not be loaded. In both cases, the error is + logged. Async friendly. """