From 566859501d8139dcc1ed6f871b59229c90958954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20St=C3=A5hl?= Date: Fri, 20 Nov 2020 11:00:57 +0100 Subject: [PATCH] Add missing variable to log point (#174) --- custom_components/localtuya/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/localtuya/__init__.py b/custom_components/localtuya/__init__.py index f607c36..b3b2ae6 100644 --- a/custom_components/localtuya/__init__.py +++ b/custom_components/localtuya/__init__.py @@ -156,7 +156,7 @@ async def async_setup(hass: HomeAssistant, config: dict): updates[CONF_PRODUCT_KEY] = product_key if updates: - _LOGGER.debug("Update keys for device %s: %s", updates) + _LOGGER.debug("Update keys for device %s: %s", device_id, updates) hass.config_entries.async_update_entry( entry, data={**entry.data, **updates} )