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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-homely
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: Async Python client for the Homely cloud API, built for Home Assistant but usable anywhere.
5
5
  Author: Ludvik Blichfeldt Rød
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "python-homely"
7
- version = "0.1.4"
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"
@@ -1,6 +1,6 @@
1
1
  """Reusable Homely client package extracted from the integration."""
2
2
 
3
- __version__ = "0.1.3"
3
+ __version__ = "0.1.5"
4
4
 
5
5
  from .client import (
6
6
  BASE_URL,
@@ -358,7 +358,7 @@ class HomelyWebSocket:
358
358
  self.socket = socketio.AsyncClient(
359
359
  reconnection=False,
360
360
  logger=False,
361
- engineio_logger=False,
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."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-homely
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: Async Python client for the Homely cloud API, built for Home Assistant but usable anywhere.
5
5
  Author: Ludvik Blichfeldt Rød
6
6
  License-Expression: MIT
File without changes
File without changes
File without changes