From 1af01396f7aaba3561c6daaf638b171c9292aa7b Mon Sep 17 00:00:00 2001 From: Robert Lippmann Date: Thu, 28 Sep 2023 03:05:38 -0400 Subject: [PATCH] add debug log for setting keepalive, relogin intervals --- pyadtpulse/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyadtpulse/__init__.py b/pyadtpulse/__init__.py index 674bbce..eda68a3 100644 --- a/pyadtpulse/__init__.py +++ b/pyadtpulse/__init__.py @@ -267,6 +267,7 @@ def relogin_interval(self, interval: int) -> None: with self._attribute_lock: self._check_keepalive_relogin_intervals(interval, self._relogin_interval) self._relogin_interval = interval + LOG.debug(f"relogin interval set to {self._relogin_interval}") @property def keepalive_interval(self) -> int: @@ -284,6 +285,7 @@ def keepalive_interval(self, interval: int) -> None: with self._attribute_lock: self._check_keepalive_relogin_intervals(self._keepalive_interval, interval) self._keepalive_interval = interval + LOG.debug(f"keepalive interval set to {self._keepalive_interval}") async def _update_sites(self, soup: BeautifulSoup) -> None: with self._attribute_lock: