python-openevse-http 0.1.68__tar.gz → 0.1.69__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.1
2
2
  Name: python_openevse_http
3
- Version: 0.1.68
3
+ Version: 0.1.69
4
4
  Summary: Python wrapper for OpenEVSE HTTP API
5
5
  Home-page: https://github.com/firstof9/python-openevse-http
6
6
  Author: firstof9
@@ -271,7 +271,7 @@ class OpenEVSE:
271
271
  error,
272
272
  )
273
273
  self._ws_listening = False
274
- self.ws_disconnect()
274
+ await self.ws_disconnect()
275
275
 
276
276
  elif msgtype == "data":
277
277
  _LOGGER.debug("Websocket data: %s", data)
@@ -90,7 +90,7 @@ class OpenEVSEWebsocket:
90
90
  msg = message.json()
91
91
  msgtype = "data"
92
92
  await self.callback(msgtype, msg, None)
93
- if "pong" in msg.keys:
93
+ if "pong" in msg.keys():
94
94
  self._pong = datetime.datetime.now()
95
95
 
96
96
  elif message.type == aiohttp.WSMsgType.CLOSED:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-openevse-http
3
- Version: 0.1.68
3
+ Version: 0.1.69
4
4
  Summary: Python wrapper for OpenEVSE HTTP API
5
5
  Home-page: https://github.com/firstof9/python-openevse-http
6
6
  Author: firstof9
@@ -6,7 +6,7 @@ from setuptools import find_packages, setup
6
6
 
7
7
  PROJECT_DIR = Path(__file__).parent.resolve()
8
8
  README_FILE = PROJECT_DIR / "README.md"
9
- VERSION = "0.1.68"
9
+ VERSION = "0.1.69"
10
10
 
11
11
  setup(
12
12
  name="python_openevse_http",