hyxi-cloud-api 1.2.1__tar.gz → 1.2.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.
Files changed (48) hide show
  1. {hyxi_cloud_api-1.2.1/src/hyxi_cloud_api.egg-info → hyxi_cloud_api-1.2.2}/PKG-INFO +1 -1
  2. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/pyproject.toml +1 -1
  3. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/src/hyxi_cloud_api/__init__.py +1 -1
  4. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/src/hyxi_cloud_api/api.py +10 -1
  5. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2/src/hyxi_cloud_api.egg-info}/PKG-INFO +1 -1
  6. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/LICENSE +0 -0
  7. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/README.md +0 -0
  8. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/setup.cfg +0 -0
  9. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/src/hyxi_cloud_api.egg-info/SOURCES.txt +0 -0
  10. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/src/hyxi_cloud_api.egg-info/dependency_links.txt +0 -0
  11. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/src/hyxi_cloud_api.egg-info/requires.txt +0 -0
  12. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/src/hyxi_cloud_api.egg-info/top_level.txt +0 -0
  13. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_all_in_one.py +0 -0
  14. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_api.py +0 -0
  15. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_build_plant_tasks.py +0 -0
  16. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_caching.py +0 -0
  17. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_compute_derived_metrics.py +0 -0
  18. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_device_control.py +0 -0
  19. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_device_entry.py +0 -0
  20. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_devices_errors.py +0 -0
  21. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_discovery.py +0 -0
  22. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_execute_device_tasks.py +0 -0
  23. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_execute_metric_tasks.py +0 -0
  24. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_execute_metrics_and_map_alarms.py +0 -0
  25. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_extract_battery_info.py +0 -0
  26. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_extract_device_info_metadata.py +0 -0
  27. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_fetch_and_process_alarms.py +0 -0
  28. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_fetch_device_list_for_plant.py +0 -0
  29. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_fetch_plants.py +0 -0
  30. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_fetch_state.py +0 -0
  31. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_fetch_sub_device_list.py +0 -0
  32. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_filter_metrics.py +0 -0
  33. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_fuzz_parser.py +0 -0
  34. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_get_f.py +0 -0
  35. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_handle_back_discovery_alarm.py +0 -0
  36. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_info_errors.py +0 -0
  37. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_mask_id.py +0 -0
  38. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_metrics_errors.py +0 -0
  39. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_parse_data_list.py +0 -0
  40. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_parse_ems_kv.py +0 -0
  41. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_parser.py +0 -0
  42. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_process_alarms_and_back_discovery.py +0 -0
  43. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_process_devices_for_plant.py +0 -0
  44. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_sanitize_dict.py +0 -0
  45. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_sanitize_list.py +0 -0
  46. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_security_fix.py +0 -0
  47. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_token_errors.py +0 -0
  48. {hyxi_cloud_api-1.2.1 → hyxi_cloud_api-1.2.2}/tests/test_token_handling.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyxi-cloud-api
3
- Version: 1.2.1
3
+ Version: 1.2.2
4
4
  Summary: An async API client for HYXi Cloud.
5
5
  Author-email: Veldkornet <Veldkornet@users.noreply.github.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "hyxi-cloud-api"
7
- version = "1.2.1"
7
+ version = "1.2.2"
8
8
  authors = [
9
9
  { name="Veldkornet", email="Veldkornet@users.noreply.github.com" },
10
10
  ]
@@ -2,5 +2,5 @@
2
2
 
3
3
  from .api import HyxiApiClient
4
4
 
5
- __version__ = "1.2.1"
5
+ __version__ = "1.2.2"
6
6
  __all__ = ["HyxiApiClient"]
@@ -43,7 +43,15 @@ class FetchState:
43
43
 
44
44
 
45
45
  _LOGGER = logging.getLogger(__name__)
46
- _battery_device_types = ("INVERTER", "ESS", "HALO", "1", "15", "16")
46
+ _battery_device_types = (
47
+ "INVERTER",
48
+ "ESS",
49
+ "HALO",
50
+ "1",
51
+ "15",
52
+ "16",
53
+ "MICRO_STORAGE_ALL_IN_ONE",
54
+ )
47
55
  _BATTERY_DEVICE_REGEX = re.compile("|".join(_battery_device_types))
48
56
  _parent_device_types = ("COLLECTOR", "DMU", "INVERTER", "ALL_IN_ONE")
49
57
  _PARENT_DEVICE_REGEX = re.compile("|".join(_parent_device_types))
@@ -502,6 +510,7 @@ DEVICE_TYPE_MAP = {
502
510
  "ENERGY_STORAGE_BATTERY": "Battery",
503
511
  "ALL_IN_ONE": "all-in-one machine",
504
512
  "AC_BATTERY": "AC Battery",
513
+ "MICRO_STORAGE_ALL_IN_ONE": "Micro ESS",
505
514
  # Official Numeric IDs (as seen in getSubDevicePage)
506
515
  "1": "Hybrid Inverter",
507
516
  "2": "Grid-Connected Inverter",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyxi-cloud-api
3
- Version: 1.2.1
3
+ Version: 1.2.2
4
4
  Summary: An async API client for HYXi Cloud.
5
5
  Author-email: Veldkornet <Veldkornet@users.noreply.github.com>
6
6
  Classifier: Programming Language :: Python :: 3
File without changes
File without changes
File without changes