From e78378d90f7e227b90bb17d65ecf047a66b9959c Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 3 Feb 2020 00:51:27 -0800 Subject: [PATCH] Pass correct config to updater (#31428) --- homeassistant/components/updater/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/updater/__init__.py b/homeassistant/components/updater/__init__.py index 826da31c5d5..0f388964bb0 100644 --- a/homeassistant/components/updater/__init__.py +++ b/homeassistant/components/updater/__init__.py @@ -80,13 +80,13 @@ async def async_setup(hass, config): # This component only makes sense in release versions _LOGGER.info("Running on 'dev', only analytics will be submitted") - config = config.get(DOMAIN, {}) - if config.get(CONF_REPORTING): + conf = config.get(DOMAIN, {}) + if conf.get(CONF_REPORTING): huuid = await hass.async_add_job(_load_uuid, hass) else: huuid = None - include_components = config.get(CONF_COMPONENT_REPORTING) + include_components = conf.get(CONF_COMPONENT_REPORTING) async def check_new_version(): """Check if a new version is available and report if one is."""