Fix regression in Nextcloud component (#40438)

This commit is contained in:
MeIchthys 2020-09-22 04:58:51 -04:00 committed by GitHub
parent 430275ac88
commit 2f9afd3a2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,6 +100,7 @@ def setup(hass, config):
_LOGGER.error("Nextcloud setup failed - Check configuration")
hass.data[DOMAIN] = get_data_points(ncm.data)
hass.data[DOMAIN]["instance"] = conf[CONF_URL]
def nextcloud_update(event_time):
"""Update data from nextcloud api."""