python-swidget 1.3.0__py3-none-any.whl → 1.3.1__py3-none-any.whl

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,8 +1,7 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: python-swidget
3
- Version: 1.3.0
3
+ Version: 1.3.1
4
4
  Summary: Python API for Swidget smart devices
5
- Home-page: https://github.com/swidget/python-swidget
6
5
  License: GPL-3.0-or-later
7
6
  Author: Swidget
8
7
  Requires-Python: >=3.8,<4.0
@@ -21,7 +20,7 @@ Requires-Dist: asyncclick (>=8)
21
20
  Requires-Dist: importlib-metadata
22
21
  Requires-Dist: m2r (>=0,<1) ; extra == "docs"
23
22
  Requires-Dist: mistune (<2.0.0) ; extra == "docs"
24
- Requires-Dist: pydantic (>=1,<2)
23
+ Requires-Dist: pydantic (>=2,<3)
25
24
  Requires-Dist: requests (==2.32.3)
26
25
  Requires-Dist: sphinx (>=4,<5) ; extra == "docs"
27
26
  Requires-Dist: sphinx_rtd_theme (>=0,<1) ; extra == "docs"
@@ -9,8 +9,8 @@ swidget/swidgetdimmer.py,sha256=qmUOkaZuZxRrFsu2gEgiDcv0bshtjAyK9do3OUfmXGY,2354
9
9
  swidget/swidgetoutlet.py,sha256=7Yhl3PX9e_5MtixvpIYH_px6lIb509Rf_-HhCKTH6S8,601
10
10
  swidget/swidgetswitch.py,sha256=byjER_5Zn41OLTBB4SGq81KWlcLDPJ9LOUkocW86fsw,611
11
11
  swidget/swidgettimerswitch.py,sha256=zKzUYdtSbV6Qh_vqi0Cs1MRRpcwf57hqkMp5z3VbOAU,1098
12
- swidget/websocket.py,sha256=8JzBHQQKQKjtR4EjbAnVncZJqU6dDYIaKMkr_ASpBo8,7855
13
- python_swidget-1.3.0.dist-info/METADATA,sha256=djIQSPDTglqInPBAueLDcCk7z9eXAH6tS4I3U2V42dc,1905
14
- python_swidget-1.3.0.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
15
- python_swidget-1.3.0.dist-info/entry_points.txt,sha256=ksGZuoFNqyktLnxPUCFDHokC_7n1uu4GSMUEerwwDmY,43
16
- python_swidget-1.3.0.dist-info/RECORD,,
12
+ swidget/websocket.py,sha256=LYl0uolPgJe6flaEZ020l7BTDpnalO790MZ0OryuiOc,7844
13
+ python_swidget-1.3.1.dist-info/METADATA,sha256=vSk_H5laDqPcb4nw0MrsUtSIZUKcv5wEeQ4DM2o9BC8,1852
14
+ python_swidget-1.3.1.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
15
+ python_swidget-1.3.1.dist-info/entry_points.txt,sha256=ksGZuoFNqyktLnxPUCFDHokC_7n1uu4GSMUEerwwDmY,43
16
+ python_swidget-1.3.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.0.0
2
+ Generator: poetry-core 2.0.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
swidget/websocket.py CHANGED
@@ -93,8 +93,8 @@ class SwidgetWebsocket:
93
93
  )
94
94
  self.retry_count = 0
95
95
  _LOGGER.debug("Websocket now connected")
96
- except (ClientConnectionError, WSServerHandshakeError) as e:
97
- _LOGGER.error(f"Error connecting to websocket: {e}")
96
+ except (ClientConnectionError, WSServerHandshakeError):
97
+ _LOGGER.error("Error connecting to websocket")
98
98
  self._client = None
99
99
  except socket.gaierror as e:
100
100
  _LOGGER.error(f"Error resolving host: {e}")