File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -959,7 +959,9 @@ async def async_charge_current(self) -> int | None:
959959 except UnsupportedFeature :
960960 pass
961961 if claims is not None and "charge_current" in claims ["properties" ].keys ():
962- return claims ["properties" ]["charge_current" ]
962+ return min (
963+ claims ["properties" ]["charge_current" ], self ._config ["max_current_hard" ]
964+ )
963965 if self ._config is not None and "max_current_soft" in self ._config :
964966 return self ._config ["max_current_soft" ]
965967 return self ._status ["pilot" ]
Original file line number Diff line number Diff line change 66
77PROJECT_DIR = Path (__file__ ).parent .resolve ()
88README_FILE = PROJECT_DIR / "README.md"
9- VERSION = "0.1.78 "
9+ VERSION = "0.1.79 "
1010
1111setup (
1212 name = "python_openevse_http" ,
You can’t perform that action at this time.
0 commit comments