From 50e11efaac7c1eab0c43b0cddb38cd1cb4ea8aef Mon Sep 17 00:00:00 2001 From: "firstof9@gmail.com" Date: Thu, 14 May 2026 11:26:10 -0700 Subject: [PATCH] fix: add "Current Shaper state changed" to allowed command responses and bump version to 0.3.2 --- openevsehttp/commands.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openevsehttp/commands.py b/openevsehttp/commands.py index 4ea7209..650fcd8 100644 --- a/openevsehttp/commands.py +++ b/openevsehttp/commands.py @@ -506,7 +506,7 @@ async def set_shaper(self, enable: bool = True) -> None: response = await self.process_request(url=url, method="post", data=data) response = self._normalize_response(response) msg = response.get("msg") if isinstance(response, Mapping) else None - if msg not in ["OK", "done", "no change"]: + if msg not in ["OK", "done", "no change", "Current Shaper state changed"]: _LOGGER.error("Problem issuing command: %s", response) raise UnknownError diff --git a/setup.py b/setup.py index 3a790db..50d0843 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ PROJECT_DIR = Path(__file__).parent.resolve() README_FILE = PROJECT_DIR / "README.md" -VERSION = "0.3.1" +VERSION = "0.3.2" setup( name="python_openevse_http",