python-openevse-http 0.1.86__tar.gz → 0.1.87__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.86
3
+ Version: 0.1.87
4
4
  Summary: Python wrapper for OpenEVSE HTTP API
5
5
  Home-page: https://github.com/firstof9/python-openevse-http
6
6
  Author: firstof9
@@ -480,6 +480,9 @@ class OpenEVSE:
480
480
  # RAPI commands
481
481
  _LOGGER.debug("Setting current via RAPI")
482
482
  command = f"$SC {amps} N"
483
+ # Different parameters for older firmware
484
+ if self._version_check("2.9.1"):
485
+ command = f"$SC {amps} V"
483
486
  response, msg = await self.send_command(command)
484
487
  _LOGGER.debug("Set current response: %s", msg)
485
488
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-openevse-http
3
- Version: 0.1.86
3
+ Version: 0.1.87
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.86"
9
+ VERSION = "0.1.87"
10
10
 
11
11
  setup(
12
12
  name="python_openevse_http",