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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python_openevse_http
3
- Version: 0.1.71
3
+ Version: 0.1.72
4
4
  Summary: Python wrapper for OpenEVSE HTTP API
5
5
  Home-page: https://github.com/firstof9/python-openevse-http
6
6
  Author: firstof9
@@ -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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-openevse-http
3
- Version: 0.1.71
3
+ Version: 0.1.72
4
4
  Summary: Python wrapper for OpenEVSE HTTP API
5
5
  Home-page: https://github.com/firstof9/python-openevse-http
6
6
  Author: firstof9
@@ -6,7 +6,7 @@ from setuptools import find_packages, setup
6
6
 
7
7
  PROJECT_DIR = Path(__file__).parent.resolve()
8
8
  README_FILE = PROJECT_DIR / "README.md"
9
- VERSION = "0.1.71"
9
+ VERSION = "0.1.72"
10
10
 
11
11
  setup(
12
12
  name="python_openevse_http",