Fix Home Connect services not being set up (#75997)

This commit is contained in:
Franck Nijhof 2022-07-31 22:14:09 +02:00 committed by GitHub
parent a95851c9c2
commit 4af95ecf78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,9 +117,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Set up Home Connect component."""
hass.data[DOMAIN] = {}
if DOMAIN not in config:
return True
if DOMAIN in config:
await async_import_client_credential(
hass,
DOMAIN,