mirror of
https://github.com/home-assistant/core.git
synced 2025-08-13 01:25:23 +02:00
Fix Home Connect services not being set up (#75997)
This commit is contained in:
@@ -117,9 +117,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
|||||||
"""Set up Home Connect component."""
|
"""Set up Home Connect component."""
|
||||||
hass.data[DOMAIN] = {}
|
hass.data[DOMAIN] = {}
|
||||||
|
|
||||||
if DOMAIN not in config:
|
if DOMAIN in config:
|
||||||
return True
|
|
||||||
|
|
||||||
await async_import_client_credential(
|
await async_import_client_credential(
|
||||||
hass,
|
hass,
|
||||||
DOMAIN,
|
DOMAIN,
|
||||||
|
Reference in New Issue
Block a user