From 943bfa532e1af6ac8c2b3d418fe944db772a77a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Villagra?= Date: Tue, 30 Nov 2021 17:08:47 +0000 Subject: [PATCH] log dps_cache --- custom_components/localtuya/pytuya/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/localtuya/pytuya/__init__.py b/custom_components/localtuya/pytuya/__init__.py index 16ae271..f9618e0 100644 --- a/custom_components/localtuya/pytuya/__init__.py +++ b/custom_components/localtuya/pytuya/__init__.py @@ -497,7 +497,7 @@ class TuyaProtocol(asyncio.Protocol, ContextualLogger): await self.detect_available_dps() if self.dps_cache: dps = [int(dp) for dp in self.dps_cache][:255] - self.debug("updatedps() entry (dps %s)", dps) + self.debug("updatedps() entry (dps_cache %s)", self.dps_cache) payload = self._generate_payload(UPDATEDPS, dps) self.transport.write(payload) return True