diff --git a/openevsehttp/__init__.py b/openevsehttp/__init__.py index 0775a14..a24cb9d 100644 --- a/openevsehttp/__init__.py +++ b/openevsehttp/__init__.py @@ -446,7 +446,7 @@ async def set_current(self, amps: int = 6) -> None: """Set the soft current limit.""" # 3.x - 4.1.0: use RAPI commands $SC # 4.1.2: use HTTP API call - + amps = int(amps) cutoff = AwesomeVersion("4.1.2") current = AwesomeVersion(self._config["version"]) diff --git a/setup.py b/setup.py index eae9ca8..9d03380 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ PROJECT_DIR = Path(__file__).parent.resolve() README_FILE = PROJECT_DIR / "README.md" -VERSION = "0.1.17" +VERSION = "0.1.18" setup( name="python-openevse-http",