frequenz-client-microgrid 0.9.1__tar.gz → 0.18.1__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.
- {frequenz_client_microgrid-0.9.1 → frequenz_client_microgrid-0.18.1}/PKG-INFO +31 -29
- frequenz_client_microgrid-0.18.1/RELEASE_NOTES.md +13 -0
- {frequenz_client_microgrid-0.9.1 → frequenz_client_microgrid-0.18.1}/pyproject.toml +34 -28
- {frequenz_client_microgrid-0.9.1 → frequenz_client_microgrid-0.18.1}/src/frequenz/client/microgrid/__init__.py +15 -58
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/_client.py +709 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/_delivery_area.py +89 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/_delivery_area_proto.py +44 -0
- {frequenz_client_microgrid-0.9.1 → frequenz_client_microgrid-0.18.1}/src/frequenz/client/microgrid/_lifetime.py +3 -1
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/_lifetime_proto.py +26 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/_location.py +31 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/_location_proto.py +47 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/_microgrid_info.py +87 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/_microgrid_info_proto.py +79 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/__init__.py +112 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_battery.py +131 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_category.py +109 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_chp.py +18 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_component.py +120 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_component_proto.py +542 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_connection.py +72 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_connection_proto.py +106 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_converter.py +18 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_crypto_miner.py +18 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_data_samples.py +25 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_data_samples_proto.py +90 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_electrolyzer.py +18 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_ev_charger.py +155 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_grid_connection_point.py +61 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_hvac.py +18 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_inverter.py +155 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_meter.py +18 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_precharger.py +18 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_problematic.py +50 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_relay.py +18 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_state_sample.py +320 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_state_sample_proto.py +42 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_types.py +65 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_voltage_transformer.py +43 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/component/_wind_turbine.py +18 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/metrics/__init__.py +16 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/metrics/_bounds.py +45 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/metrics/_bounds_proto.py +17 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/metrics/_metric.py +613 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/metrics/_sample.py +174 -0
- frequenz_client_microgrid-0.18.1/src/frequenz/client/microgrid/metrics/_sample_proto.py +111 -0
- {frequenz_client_microgrid-0.9.1 → frequenz_client_microgrid-0.18.1}/src/frequenz_client_microgrid.egg-info/PKG-INFO +31 -29
- frequenz_client_microgrid-0.18.1/src/frequenz_client_microgrid.egg-info/SOURCES.txt +56 -0
- frequenz_client_microgrid-0.18.1/src/frequenz_client_microgrid.egg-info/requires.txt +57 -0
- frequenz_client_microgrid-0.9.1/RELEASE_NOTES.md +0 -32
- frequenz_client_microgrid-0.9.1/src/frequenz/client/microgrid/_client.py +0 -675
- frequenz_client_microgrid-0.9.1/src/frequenz/client/microgrid/_component.py +0 -264
- frequenz_client_microgrid-0.9.1/src/frequenz/client/microgrid/_component_data.py +0 -595
- frequenz_client_microgrid-0.9.1/src/frequenz/client/microgrid/_component_error.py +0 -213
- frequenz_client_microgrid-0.9.1/src/frequenz/client/microgrid/_component_states.py +0 -253
- frequenz_client_microgrid-0.9.1/src/frequenz/client/microgrid/_connection.py +0 -29
- frequenz_client_microgrid-0.9.1/src/frequenz/client/microgrid/_constants.py +0 -21
- frequenz_client_microgrid-0.9.1/src/frequenz/client/microgrid/_metadata.py +0 -34
- frequenz_client_microgrid-0.9.1/src/frequenz/client/microgrid/_sensor_proto.py +0 -190
- frequenz_client_microgrid-0.9.1/src/frequenz/client/microgrid/metrics.py +0 -61
- frequenz_client_microgrid-0.9.1/src/frequenz/client/microgrid/sensor.py +0 -234
- frequenz_client_microgrid-0.9.1/src/frequenz_client_microgrid.egg-info/SOURCES.txt +0 -27
- frequenz_client_microgrid-0.9.1/src/frequenz_client_microgrid.egg-info/requires.txt +0 -55
- {frequenz_client_microgrid-0.9.1 → frequenz_client_microgrid-0.18.1}/LICENSE +0 -0
- {frequenz_client_microgrid-0.9.1 → frequenz_client_microgrid-0.18.1}/MANIFEST.in +0 -0
- {frequenz_client_microgrid-0.9.1 → frequenz_client_microgrid-0.18.1}/README.md +0 -0
- {frequenz_client_microgrid-0.9.1 → frequenz_client_microgrid-0.18.1}/setup.cfg +0 -0
- {frequenz_client_microgrid-0.9.1 → frequenz_client_microgrid-0.18.1}/src/frequenz/client/microgrid/_exception.py +0 -0
- {frequenz_client_microgrid-0.9.1 → frequenz_client_microgrid-0.18.1}/src/frequenz/client/microgrid/_util.py +0 -0
- {frequenz_client_microgrid-0.9.1 → frequenz_client_microgrid-0.18.1}/src/frequenz/client/microgrid/conftest.py +0 -0
- {frequenz_client_microgrid-0.9.1 → frequenz_client_microgrid-0.18.1}/src/frequenz/client/microgrid/py.typed +0 -0
- {frequenz_client_microgrid-0.9.1 → frequenz_client_microgrid-0.18.1}/src/frequenz_client_microgrid.egg-info/dependency_links.txt +0 -0
- {frequenz_client_microgrid-0.9.1 → frequenz_client_microgrid-0.18.1}/src/frequenz_client_microgrid.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: frequenz-client-microgrid
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.18.1
|
|
4
4
|
Summary: Microgrid API client for Python
|
|
5
5
|
Author-email: Frequenz Energy-as-a-Service GmbH <floss@frequenz.com>
|
|
6
6
|
License: MIT
|
|
@@ -21,50 +21,52 @@ Classifier: Typing :: Typed
|
|
|
21
21
|
Requires-Python: <4,>=3.11
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
|
-
Requires-Dist: frequenz-api-
|
|
25
|
-
Requires-Dist: frequenz-
|
|
26
|
-
Requires-Dist: frequenz-
|
|
27
|
-
Requires-Dist: frequenz-client-
|
|
28
|
-
Requires-Dist:
|
|
29
|
-
Requires-Dist:
|
|
24
|
+
Requires-Dist: frequenz-api-common<1.0.0,>=0.8.0
|
|
25
|
+
Requires-Dist: frequenz-api-microgrid<0.19.0,>=0.18.0
|
|
26
|
+
Requires-Dist: frequenz-channels<2.0.0,>=1.6.1
|
|
27
|
+
Requires-Dist: frequenz-client-base<0.12.0,>=0.10.0
|
|
28
|
+
Requires-Dist: frequenz-client-common<0.4.0,>=0.3.6
|
|
29
|
+
Requires-Dist: frequenz-core<2.0.0,>=1.3.0
|
|
30
|
+
Requires-Dist: grpcio<2,>=1.72.1
|
|
31
|
+
Requires-Dist: protobuf<7,>=6.31.1
|
|
30
32
|
Requires-Dist: typing-extensions<5,>=4.13.0
|
|
31
33
|
Provides-Extra: dev-flake8
|
|
32
34
|
Requires-Dist: flake8==7.3.0; extra == "dev-flake8"
|
|
33
35
|
Requires-Dist: flake8-docstrings==1.7.0; extra == "dev-flake8"
|
|
34
|
-
Requires-Dist: flake8-pyproject==1.2.
|
|
35
|
-
Requires-Dist: pydoclint==0.
|
|
36
|
+
Requires-Dist: flake8-pyproject==1.2.4; extra == "dev-flake8"
|
|
37
|
+
Requires-Dist: pydoclint==0.8.3; extra == "dev-flake8"
|
|
36
38
|
Requires-Dist: pydocstyle==6.3.0; extra == "dev-flake8"
|
|
37
39
|
Provides-Extra: dev-formatting
|
|
38
|
-
Requires-Dist: black==25.
|
|
39
|
-
Requires-Dist: isort==
|
|
40
|
+
Requires-Dist: black==25.12.0; extra == "dev-formatting"
|
|
41
|
+
Requires-Dist: isort==7.0.0; extra == "dev-formatting"
|
|
40
42
|
Provides-Extra: dev-mkdocs
|
|
41
|
-
Requires-Dist: black==25.
|
|
42
|
-
Requires-Dist: Markdown==3.
|
|
43
|
+
Requires-Dist: black==25.12.0; extra == "dev-mkdocs"
|
|
44
|
+
Requires-Dist: Markdown==3.10; extra == "dev-mkdocs"
|
|
43
45
|
Requires-Dist: mike==2.1.3; extra == "dev-mkdocs"
|
|
44
|
-
Requires-Dist: mkdocs-gen-files==0.
|
|
46
|
+
Requires-Dist: mkdocs-gen-files==0.6.0; extra == "dev-mkdocs"
|
|
45
47
|
Requires-Dist: mkdocs-literate-nav==0.6.2; extra == "dev-mkdocs"
|
|
46
|
-
Requires-Dist: mkdocs-macros-plugin==1.
|
|
47
|
-
Requires-Dist: mkdocs-material==9.
|
|
48
|
-
Requires-Dist: mkdocstrings[python]==0.
|
|
49
|
-
Requires-Dist: mkdocstrings-python==1.
|
|
50
|
-
Requires-Dist: frequenz-repo-config[lib]==0.13.
|
|
48
|
+
Requires-Dist: mkdocs-macros-plugin==1.5.0; extra == "dev-mkdocs"
|
|
49
|
+
Requires-Dist: mkdocs-material==9.7.0; extra == "dev-mkdocs"
|
|
50
|
+
Requires-Dist: mkdocstrings[python]==1.0.0; extra == "dev-mkdocs"
|
|
51
|
+
Requires-Dist: mkdocstrings-python==1.18.2; extra == "dev-mkdocs"
|
|
52
|
+
Requires-Dist: frequenz-repo-config[lib]==0.13.8; extra == "dev-mkdocs"
|
|
51
53
|
Provides-Extra: dev-mypy
|
|
52
|
-
Requires-Dist: mypy==1.
|
|
54
|
+
Requires-Dist: mypy==1.19.0; extra == "dev-mypy"
|
|
53
55
|
Requires-Dist: grpc-stubs==1.53.0.6; extra == "dev-mypy"
|
|
54
|
-
Requires-Dist: types-Markdown==3.
|
|
55
|
-
Requires-Dist: types-protobuf==6.
|
|
56
|
+
Requires-Dist: types-Markdown==3.10.0.20251106; extra == "dev-mypy"
|
|
57
|
+
Requires-Dist: types-protobuf==6.32.1.20251105; extra == "dev-mypy"
|
|
56
58
|
Requires-Dist: frequenz-client-microgrid[dev-mkdocs,dev-noxfile,dev-pytest]; extra == "dev-mypy"
|
|
57
59
|
Provides-Extra: dev-noxfile
|
|
58
|
-
Requires-Dist: nox==2025.
|
|
59
|
-
Requires-Dist: frequenz-repo-config[lib]==0.13.
|
|
60
|
+
Requires-Dist: nox==2025.11.12; extra == "dev-noxfile"
|
|
61
|
+
Requires-Dist: frequenz-repo-config[lib]==0.13.8; extra == "dev-noxfile"
|
|
60
62
|
Provides-Extra: dev-pylint
|
|
61
|
-
Requires-Dist: pylint==
|
|
63
|
+
Requires-Dist: pylint==4.0.4; extra == "dev-pylint"
|
|
62
64
|
Requires-Dist: frequenz-client-microgrid[dev-mkdocs,dev-noxfile,dev-pytest]; extra == "dev-pylint"
|
|
63
65
|
Provides-Extra: dev-pytest
|
|
64
|
-
Requires-Dist: pytest==
|
|
65
|
-
Requires-Dist: frequenz-repo-config[extra-lint-examples]==0.13.
|
|
66
|
-
Requires-Dist: pytest-mock==3.
|
|
67
|
-
Requires-Dist: pytest-asyncio==1.
|
|
66
|
+
Requires-Dist: pytest==9.0.2; extra == "dev-pytest"
|
|
67
|
+
Requires-Dist: frequenz-repo-config[extra-lint-examples]==0.13.8; extra == "dev-pytest"
|
|
68
|
+
Requires-Dist: pytest-mock==3.15.1; extra == "dev-pytest"
|
|
69
|
+
Requires-Dist: pytest-asyncio==1.3.0; extra == "dev-pytest"
|
|
68
70
|
Requires-Dist: async-solipsism==0.8; extra == "dev-pytest"
|
|
69
71
|
Provides-Extra: dev
|
|
70
72
|
Requires-Dist: frequenz-client-microgrid[dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]; extra == "dev"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Frequenz Microgrid API Client Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
This release adds a new `WindTurbine` component type.
|
|
6
|
+
|
|
7
|
+
## Upgrading
|
|
8
|
+
|
|
9
|
+
- If you are using `match` and doing exhaustive matching on the `Component` types, you will get `mypy` errors and will need to handle the new `WindTurbine` type.
|
|
10
|
+
|
|
11
|
+
## New Features
|
|
12
|
+
|
|
13
|
+
- Add `WindTurbine` component type.
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
[build-system]
|
|
5
5
|
requires = [
|
|
6
6
|
"setuptools == 80.9.0",
|
|
7
|
-
"setuptools_scm[toml] ==
|
|
8
|
-
"frequenz-repo-config[lib] == 0.13.
|
|
7
|
+
"setuptools_scm[toml] == 9.2.2",
|
|
8
|
+
"frequenz-repo-config[lib] == 0.13.8",
|
|
9
9
|
]
|
|
10
10
|
build-backend = "setuptools.build_meta"
|
|
11
11
|
|
|
@@ -36,12 +36,14 @@ classifiers = [
|
|
|
36
36
|
]
|
|
37
37
|
requires-python = ">= 3.11, < 4"
|
|
38
38
|
dependencies = [
|
|
39
|
-
"frequenz-api-
|
|
40
|
-
"frequenz-
|
|
41
|
-
"frequenz-
|
|
42
|
-
"frequenz-client-
|
|
43
|
-
"
|
|
44
|
-
"
|
|
39
|
+
"frequenz-api-common >= 0.8.0, < 1.0.0",
|
|
40
|
+
"frequenz-api-microgrid >= 0.18.0, < 0.19.0",
|
|
41
|
+
"frequenz-channels >= 1.6.1, < 2.0.0",
|
|
42
|
+
"frequenz-client-base >= 0.10.0, < 0.12.0",
|
|
43
|
+
"frequenz-client-common >= 0.3.6, < 0.4.0",
|
|
44
|
+
"frequenz-core >= 1.3.0, < 2.0.0",
|
|
45
|
+
"grpcio >= 1.72.1, < 2",
|
|
46
|
+
"protobuf >= 6.31.1, < 7",
|
|
45
47
|
"typing-extensions >= 4.13.0, < 5",
|
|
46
48
|
]
|
|
47
49
|
dynamic = ["version"]
|
|
@@ -54,42 +56,42 @@ email = "floss@frequenz.com"
|
|
|
54
56
|
dev-flake8 = [
|
|
55
57
|
"flake8 == 7.3.0",
|
|
56
58
|
"flake8-docstrings == 1.7.0",
|
|
57
|
-
"flake8-pyproject == 1.2.
|
|
58
|
-
"pydoclint == 0.
|
|
59
|
+
"flake8-pyproject == 1.2.4", # For reading the flake8 config from pyproject.toml
|
|
60
|
+
"pydoclint == 0.8.3",
|
|
59
61
|
"pydocstyle == 6.3.0",
|
|
60
62
|
]
|
|
61
|
-
dev-formatting = ["black == 25.
|
|
63
|
+
dev-formatting = ["black == 25.12.0", "isort == 7.0.0"]
|
|
62
64
|
dev-mkdocs = [
|
|
63
|
-
"black == 25.
|
|
64
|
-
"Markdown==3.
|
|
65
|
+
"black == 25.12.0",
|
|
66
|
+
"Markdown==3.10",
|
|
65
67
|
"mike == 2.1.3",
|
|
66
|
-
"mkdocs-gen-files == 0.
|
|
68
|
+
"mkdocs-gen-files == 0.6.0",
|
|
67
69
|
"mkdocs-literate-nav == 0.6.2",
|
|
68
|
-
"mkdocs-macros-plugin == 1.
|
|
69
|
-
"mkdocs-material == 9.
|
|
70
|
-
"mkdocstrings[python] == 0.
|
|
71
|
-
"mkdocstrings-python == 1.
|
|
72
|
-
"frequenz-repo-config[lib] == 0.13.
|
|
70
|
+
"mkdocs-macros-plugin == 1.5.0",
|
|
71
|
+
"mkdocs-material == 9.7.0",
|
|
72
|
+
"mkdocstrings[python] == 1.0.0",
|
|
73
|
+
"mkdocstrings-python == 1.18.2",
|
|
74
|
+
"frequenz-repo-config[lib] == 0.13.8",
|
|
73
75
|
]
|
|
74
76
|
dev-mypy = [
|
|
75
|
-
"mypy == 1.
|
|
77
|
+
"mypy == 1.19.0",
|
|
76
78
|
"grpc-stubs == 1.53.0.6",
|
|
77
|
-
"types-Markdown == 3.
|
|
78
|
-
"types-protobuf == 6.
|
|
79
|
+
"types-Markdown == 3.10.0.20251106",
|
|
80
|
+
"types-protobuf == 6.32.1.20251105",
|
|
79
81
|
# For checking the noxfile, docs/ script, and tests
|
|
80
82
|
"frequenz-client-microgrid[dev-mkdocs,dev-noxfile,dev-pytest]",
|
|
81
83
|
]
|
|
82
|
-
dev-noxfile = ["nox == 2025.
|
|
84
|
+
dev-noxfile = ["nox == 2025.11.12", "frequenz-repo-config[lib] == 0.13.8"]
|
|
83
85
|
dev-pylint = [
|
|
84
|
-
"pylint ==
|
|
86
|
+
"pylint == 4.0.4",
|
|
85
87
|
# For checking the noxfile, docs/ script, and tests
|
|
86
88
|
"frequenz-client-microgrid[dev-mkdocs,dev-noxfile,dev-pytest]",
|
|
87
89
|
]
|
|
88
90
|
dev-pytest = [
|
|
89
|
-
"pytest ==
|
|
90
|
-
"frequenz-repo-config[extra-lint-examples] == 0.13.
|
|
91
|
-
"pytest-mock == 3.
|
|
92
|
-
"pytest-asyncio == 1.
|
|
91
|
+
"pytest == 9.0.2",
|
|
92
|
+
"frequenz-repo-config[extra-lint-examples] == 0.13.8",
|
|
93
|
+
"pytest-mock == 3.15.1",
|
|
94
|
+
"pytest-asyncio == 1.3.0",
|
|
93
95
|
"async-solipsism == 0.8",
|
|
94
96
|
]
|
|
95
97
|
dev = [
|
|
@@ -129,6 +131,10 @@ check-yield-types = false
|
|
|
129
131
|
arg-type-hints-in-docstring = false
|
|
130
132
|
arg-type-hints-in-signature = true
|
|
131
133
|
allow-init-docstring = true
|
|
134
|
+
per-file-ignores = [
|
|
135
|
+
# Ignore the max-line-length (E501) because enum values are just too long
|
|
136
|
+
"src/frequenz/client/microgrid/metrics/_metric.py:E501",
|
|
137
|
+
]
|
|
132
138
|
|
|
133
139
|
[tool.pylint.similarities]
|
|
134
140
|
ignore-comments = ['yes']
|
|
@@ -7,39 +7,13 @@ This package provides a low-level interface for interacting with the microgrid A
|
|
|
7
7
|
"""
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
from ._client import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
ComponentMetricId,
|
|
16
|
-
ComponentType,
|
|
17
|
-
Fuse,
|
|
18
|
-
GridMetadata,
|
|
19
|
-
InverterType,
|
|
10
|
+
from ._client import (
|
|
11
|
+
DEFAULT_CHANNEL_OPTIONS,
|
|
12
|
+
DEFAULT_GRPC_CALL_TIMEOUT,
|
|
13
|
+
MicrogridApiClient,
|
|
14
|
+
Validity,
|
|
20
15
|
)
|
|
21
|
-
from .
|
|
22
|
-
BatteryData,
|
|
23
|
-
ComponentData,
|
|
24
|
-
EVChargerData,
|
|
25
|
-
InverterData,
|
|
26
|
-
MeterData,
|
|
27
|
-
)
|
|
28
|
-
from ._component_error import (
|
|
29
|
-
BatteryError,
|
|
30
|
-
BatteryErrorCode,
|
|
31
|
-
ErrorLevel,
|
|
32
|
-
InverterError,
|
|
33
|
-
InverterErrorCode,
|
|
34
|
-
)
|
|
35
|
-
from ._component_states import (
|
|
36
|
-
BatteryComponentState,
|
|
37
|
-
BatteryRelayState,
|
|
38
|
-
EVChargerCableState,
|
|
39
|
-
EVChargerComponentState,
|
|
40
|
-
InverterComponentState,
|
|
41
|
-
)
|
|
42
|
-
from ._connection import Connection
|
|
16
|
+
from ._delivery_area import DeliveryArea, EnergyMarketCodeType
|
|
43
17
|
from ._exception import (
|
|
44
18
|
ApiClientError,
|
|
45
19
|
ClientNotConnected,
|
|
@@ -63,45 +37,27 @@ from ._exception import (
|
|
|
63
37
|
UnrecognizedGrpcStatus,
|
|
64
38
|
)
|
|
65
39
|
from ._lifetime import Lifetime
|
|
66
|
-
from .
|
|
40
|
+
from ._location import Location
|
|
41
|
+
from ._microgrid_info import MicrogridInfo, MicrogridStatus
|
|
67
42
|
|
|
68
43
|
__all__ = [
|
|
69
44
|
"ApiClientError",
|
|
70
|
-
"BatteryComponentState",
|
|
71
|
-
"BatteryData",
|
|
72
|
-
"BatteryError",
|
|
73
|
-
"BatteryErrorCode",
|
|
74
|
-
"BatteryRelayState",
|
|
75
45
|
"ClientNotConnected",
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"ComponentData",
|
|
79
|
-
"ComponentMetadata",
|
|
80
|
-
"ComponentMetricId",
|
|
81
|
-
"ComponentType",
|
|
82
|
-
"Connection",
|
|
46
|
+
"DEFAULT_CHANNEL_OPTIONS",
|
|
47
|
+
"DEFAULT_GRPC_CALL_TIMEOUT",
|
|
83
48
|
"DataLoss",
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"EVChargerData",
|
|
49
|
+
"DeliveryArea",
|
|
50
|
+
"EnergyMarketCodeType",
|
|
87
51
|
"EntityAlreadyExists",
|
|
88
52
|
"EntityNotFound",
|
|
89
|
-
"ErrorLevel",
|
|
90
|
-
"Fuse",
|
|
91
|
-
"GridMetadata",
|
|
92
53
|
"GrpcError",
|
|
93
54
|
"InternalError",
|
|
94
55
|
"InvalidArgument",
|
|
95
|
-
"InverterComponentState",
|
|
96
|
-
"InverterData",
|
|
97
|
-
"InverterError",
|
|
98
|
-
"InverterErrorCode",
|
|
99
|
-
"InverterType",
|
|
100
56
|
"Lifetime",
|
|
101
57
|
"Location",
|
|
102
|
-
"Metadata",
|
|
103
|
-
"MeterData",
|
|
104
58
|
"MicrogridApiClient",
|
|
59
|
+
"MicrogridInfo",
|
|
60
|
+
"MicrogridStatus",
|
|
105
61
|
"OperationAborted",
|
|
106
62
|
"OperationCancelled",
|
|
107
63
|
"OperationNotImplemented",
|
|
@@ -114,4 +70,5 @@ __all__ = [
|
|
|
114
70
|
"ServiceUnavailable",
|
|
115
71
|
"UnknownError",
|
|
116
72
|
"UnrecognizedGrpcStatus",
|
|
73
|
+
"Validity",
|
|
117
74
|
]
|