From 8ce56dea15e6951813d0593b7a25d0449ccaae6b Mon Sep 17 00:00:00 2001 From: Jeef Date: Tue, 24 Oct 2023 13:03:53 -0600 Subject: [PATCH] bump --- pyproject.toml | 2 +- src/intellifire4py/cloud_api.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a215f0c..3d000b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "intellifire4py" -version = "3.1.24" +version = "3.1.25" description = "Intellifire4Py" authors = ["Jeff Stein "] license = "MIT" diff --git a/src/intellifire4py/cloud_api.py b/src/intellifire4py/cloud_api.py index 3d26914..212b734 100644 --- a/src/intellifire4py/cloud_api.py +++ b/src/intellifire4py/cloud_api.py @@ -273,6 +273,7 @@ async def long_poll(self, fireplace: IntelliFireFireplace | None = None) -> bool response = await client.get( f"{self.prefix}://iftapi.net/a/{serial}/applongpoll" ) + self._log.debug("Long Poll Status Code %d", response.status_code) if response.status_code == 200: self._log.debug("Long poll: 200 - Received data ") return True @@ -391,6 +392,7 @@ async def __background_poll(self, minimum_wait_in_seconds: int = 10) -> None: try: new_data = await self.long_poll() + if new_data: self._log.debug(self.data)