From d8b1946ed5244261d9f3da3df787c4d955643e93 Mon Sep 17 00:00:00 2001 From: rospogrigio Date: Tue, 7 Jun 2022 10:54:26 +0200 Subject: [PATCH] Cleaned debug messages --- custom_components/localtuya/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/custom_components/localtuya/__init__.py b/custom_components/localtuya/__init__.py index b86eb3c..3b4ce31 100644 --- a/custom_components/localtuya/__init__.py +++ b/custom_components/localtuya/__init__.py @@ -239,8 +239,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry): ) return - _LOGGER.debug("ASE: %s %s", entry.entry_id, entry.data) - region = entry.data[CONF_REGION] client_id = entry.data[CONF_CLIENT_ID] secret = entry.data[CONF_CLIENT_SECRET] @@ -249,7 +247,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry): no_cloud = True if CONF_NO_CLOUD in entry.data: no_cloud = entry.data.get(CONF_NO_CLOUD) - _LOGGER.debug("ASE DC: %s", no_cloud) if no_cloud: _LOGGER.info("Cloud API account not configured.") # wait 1 second to make sure possible migration has finished