python-homely 0.1.4__tar.gz → 0.1.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_homely-0.1.4/src/python_homely.egg-info → python_homely-0.1.5}/PKG-INFO +1 -1
- {python_homely-0.1.4 → python_homely-0.1.5}/pyproject.toml +1 -1
- {python_homely-0.1.4 → python_homely-0.1.5}/src/homely/__init__.py +1 -1
- {python_homely-0.1.4 → python_homely-0.1.5}/src/homely/websocket.py +2 -3
- {python_homely-0.1.4 → python_homely-0.1.5/src/python_homely.egg-info}/PKG-INFO +1 -1
- {python_homely-0.1.4 → python_homely-0.1.5}/LICENSE +0 -0
- {python_homely-0.1.4 → python_homely-0.1.5}/README.md +0 -0
- {python_homely-0.1.4 → python_homely-0.1.5}/setup.cfg +0 -0
- {python_homely-0.1.4 → python_homely-0.1.5}/src/homely/client.py +0 -0
- {python_homely-0.1.4 → python_homely-0.1.5}/src/homely/exceptions.py +0 -0
- {python_homely-0.1.4 → python_homely-0.1.5}/src/homely/models.py +0 -0
- {python_homely-0.1.4 → python_homely-0.1.5}/src/homely/py.typed +0 -0
- {python_homely-0.1.4 → python_homely-0.1.5}/src/python_homely.egg-info/SOURCES.txt +0 -0
- {python_homely-0.1.4 → python_homely-0.1.5}/src/python_homely.egg-info/dependency_links.txt +0 -0
- {python_homely-0.1.4 → python_homely-0.1.5}/src/python_homely.egg-info/requires.txt +0 -0
- {python_homely-0.1.4 → python_homely-0.1.5}/src/python_homely.egg-info/top_level.txt +0 -0
- {python_homely-0.1.4 → python_homely-0.1.5}/tests/test_sdk.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "python-homely"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.5"
|
|
8
8
|
description = "Async Python client for the Homely cloud API, built for Home Assistant but usable anywhere."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.12"
|
|
@@ -358,7 +358,7 @@ class HomelyWebSocket:
|
|
|
358
358
|
self.socket = socketio.AsyncClient(
|
|
359
359
|
reconnection=False,
|
|
360
360
|
logger=False,
|
|
361
|
-
engineio_logger=
|
|
361
|
+
engineio_logger=logging.getLogger("engineio.client"),
|
|
362
362
|
)
|
|
363
363
|
|
|
364
364
|
async def connect() -> None:
|
|
@@ -403,7 +403,7 @@ class HomelyWebSocket:
|
|
|
403
403
|
await asyncio.wait_for(
|
|
404
404
|
self.socket.connect(
|
|
405
405
|
url,
|
|
406
|
-
transports=["websocket"],
|
|
406
|
+
transports=["polling", "websocket"],
|
|
407
407
|
headers={"Authorization": bearer_token},
|
|
408
408
|
),
|
|
409
409
|
timeout=10,
|
|
@@ -450,7 +450,6 @@ class HomelyWebSocket:
|
|
|
450
450
|
self.socket = None
|
|
451
451
|
finally:
|
|
452
452
|
self._set_status("Disconnected", "manual disconnect")
|
|
453
|
-
self._is_closing = False
|
|
454
453
|
|
|
455
454
|
async def close(self) -> None:
|
|
456
455
|
"""Alias for disconnect, matching common client-library conventions."""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|