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.
- {python_openevse_http-0.1.86 → python_openevse_http-0.1.87}/PKG-INFO +1 -1
- {python_openevse_http-0.1.86 → python_openevse_http-0.1.87}/openevsehttp/__main__.py +3 -0
- {python_openevse_http-0.1.86 → python_openevse_http-0.1.87}/python_openevse_http.egg-info/PKG-INFO +1 -1
- {python_openevse_http-0.1.86 → python_openevse_http-0.1.87}/setup.py +1 -1
- {python_openevse_http-0.1.86 → python_openevse_http-0.1.87}/README.md +0 -0
- {python_openevse_http-0.1.86 → python_openevse_http-0.1.87}/openevsehttp/__init__.py +0 -0
- {python_openevse_http-0.1.86 → python_openevse_http-0.1.87}/openevsehttp/const.py +0 -0
- {python_openevse_http-0.1.86 → python_openevse_http-0.1.87}/openevsehttp/exceptions.py +0 -0
- {python_openevse_http-0.1.86 → python_openevse_http-0.1.87}/openevsehttp/websocket.py +0 -0
- {python_openevse_http-0.1.86 → python_openevse_http-0.1.87}/python_openevse_http.egg-info/SOURCES.txt +0 -0
- {python_openevse_http-0.1.86 → python_openevse_http-0.1.87}/python_openevse_http.egg-info/dependency_links.txt +0 -0
- {python_openevse_http-0.1.86 → python_openevse_http-0.1.87}/python_openevse_http.egg-info/not-zip-safe +0 -0
- {python_openevse_http-0.1.86 → python_openevse_http-0.1.87}/python_openevse_http.egg-info/requires.txt +0 -0
- {python_openevse_http-0.1.86 → python_openevse_http-0.1.87}/python_openevse_http.egg-info/top_level.txt +0 -0
- {python_openevse_http-0.1.86 → python_openevse_http-0.1.87}/setup.cfg +0 -0
|
@@ -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
|
|
|
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
|