python-openevse-http 0.1.71__tar.gz → 0.1.72__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.71 → python_openevse_http-0.1.72}/PKG-INFO +1 -1
- {python_openevse_http-0.1.71 → python_openevse_http-0.1.72}/openevsehttp/__main__.py +2 -4
- {python_openevse_http-0.1.71 → python_openevse_http-0.1.72}/python_openevse_http.egg-info/PKG-INFO +1 -1
- {python_openevse_http-0.1.71 → python_openevse_http-0.1.72}/setup.py +1 -1
- {python_openevse_http-0.1.71 → python_openevse_http-0.1.72}/README.md +0 -0
- {python_openevse_http-0.1.71 → python_openevse_http-0.1.72}/openevsehttp/__init__.py +0 -0
- {python_openevse_http-0.1.71 → python_openevse_http-0.1.72}/openevsehttp/const.py +0 -0
- {python_openevse_http-0.1.71 → python_openevse_http-0.1.72}/openevsehttp/exceptions.py +0 -0
- {python_openevse_http-0.1.71 → python_openevse_http-0.1.72}/openevsehttp/websocket.py +0 -0
- {python_openevse_http-0.1.71 → python_openevse_http-0.1.72}/python_openevse_http.egg-info/SOURCES.txt +0 -0
- {python_openevse_http-0.1.71 → python_openevse_http-0.1.72}/python_openevse_http.egg-info/dependency_links.txt +0 -0
- {python_openevse_http-0.1.71 → python_openevse_http-0.1.72}/python_openevse_http.egg-info/not-zip-safe +0 -0
- {python_openevse_http-0.1.71 → python_openevse_http-0.1.72}/python_openevse_http.egg-info/requires.txt +0 -0
- {python_openevse_http-0.1.71 → python_openevse_http-0.1.72}/python_openevse_http.egg-info/top_level.txt +0 -0
- {python_openevse_http-0.1.71 → python_openevse_http-0.1.72}/setup.cfg +0 -0
|
@@ -397,7 +397,7 @@ class OpenEVSE:
|
|
|
397
397
|
raise UnsupportedFeature
|
|
398
398
|
url = f"{self.url}override"
|
|
399
399
|
|
|
400
|
-
data: dict[str, Any] =
|
|
400
|
+
data: dict[str, Any] = await self.get_override()
|
|
401
401
|
|
|
402
402
|
if state not in ["active", "disabled", None]:
|
|
403
403
|
_LOGGER.error("Invalid override state: %s", state)
|
|
@@ -644,7 +644,6 @@ class OpenEVSE:
|
|
|
644
644
|
return False
|
|
645
645
|
|
|
646
646
|
# HTTP Posting of grid voltage
|
|
647
|
-
|
|
648
647
|
async def grid_voltage(self, voltage: int | None = None) -> None:
|
|
649
648
|
"""Send pushed sensor data to grid voltage."""
|
|
650
649
|
if not self._version_check("4.0.0"):
|
|
@@ -665,7 +664,6 @@ class OpenEVSE:
|
|
|
665
664
|
_LOGGER.debug("Voltage posting response: %s", response)
|
|
666
665
|
|
|
667
666
|
# Self production HTTP Posting
|
|
668
|
-
|
|
669
667
|
async def self_production(
|
|
670
668
|
self,
|
|
671
669
|
grid: int | None = None,
|
|
@@ -743,7 +741,7 @@ class OpenEVSE:
|
|
|
743
741
|
raise UnsupportedFeature
|
|
744
742
|
|
|
745
743
|
url = f"{self.url}limit"
|
|
746
|
-
data: Dict[str, Any] =
|
|
744
|
+
data: Dict[str, Any] = await self.get_limit()
|
|
747
745
|
valid_types = ["time", "energy", "soc", "range"]
|
|
748
746
|
|
|
749
747
|
if limit_type not in valid_types:
|
|
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
|