Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jeeftor committed Oct 24, 2023
1 parent c3f285e commit 8ce56de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "intellifire4py"
version = "3.1.24"
version = "3.1.25"
description = "Intellifire4Py"
authors = ["Jeff Stein <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 2 additions & 0 deletions src/intellifire4py/cloud_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 8ce56de

Please sign in to comment.