Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions openevsehttp/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,9 @@ async def set_current(self, amps: int = 6) -> None:
# RAPI commands
_LOGGER.debug("Setting current via RAPI")
command = f"$SC {amps} N"
# Different parameters for older firmware
if self._version_check("2.9.1"):
command = f"$SC {amps} V"
response, msg = await self.send_command(command)
_LOGGER.debug("Set current response: %s", msg)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

PROJECT_DIR = Path(__file__).parent.resolve()
README_FILE = PROJECT_DIR / "README.md"
VERSION = "0.1.86"
VERSION = "0.1.87"

setup(
name="python_openevse_http",
Expand Down