Homevolt 0.4.1__tar.gz → 0.4.2__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.4
2
2
  Name: Homevolt
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Python library for Homevolt EMS devices
5
5
  Author-email: Daniel Høyer <github@dahoiv.net>
6
6
  License: GPL-3.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Homevolt
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Python library for Homevolt EMS devices
5
5
  Author-email: Daniel Høyer <github@dahoiv.net>
6
6
  License: GPL-3.0
@@ -6,17 +6,18 @@ ENDPOINT_SCHEDULE = "/schedule.json"
6
6
  ENDPOINT_CONSOLE = "/console.json"
7
7
  ENDPOINT_PARAMS = "/params.json"
8
8
 
9
+ # Map integer schedule codes to snake_case identifiers
9
10
  SCHEDULE_TYPE = {
10
- 0: "Idle",
11
- 1: "Inverter Charge",
12
- 2: "Inverter Discharge",
13
- 3: "Grid Charge",
14
- 4: "Grid Discharge",
15
- 5: "Grid Charge/Discharge",
16
- 6: "Frequency Reserve",
17
- 7: "Solar Charge",
18
- 8: "Solar Charge/Discharge",
19
- 9: "Full Solar Export",
11
+ 0: "idle",
12
+ 1: "inverter_charge",
13
+ 2: "inverter_discharge",
14
+ 3: "grid_charge",
15
+ 4: "grid_discharge",
16
+ 5: "grid_charge_discharge",
17
+ 6: "frequency_reserve",
18
+ 7: "solar_charge",
19
+ 8: "solar_charge_discharge",
20
+ 9: "full_solar_export",
20
21
  }
21
22
 
22
23
  # Device type mappings for sensors
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "Homevolt"
7
- version = "0.4.1"
7
+ version = "0.4.2"
8
8
  description = "Python library for Homevolt EMS devices"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes