python-homewizard-energy 4.1.1__tar.gz → 4.2.0__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_homewizard_energy-4.1.1 → python_homewizard_energy-4.2.0}/PKG-INFO +1 -1
- {python_homewizard_energy-4.1.1 → python_homewizard_energy-4.2.0}/homewizard_energy/homewizard_energy.py +1 -0
- {python_homewizard_energy-4.1.1 → python_homewizard_energy-4.2.0}/homewizard_energy/models.py +31 -0
- {python_homewizard_energy-4.1.1 → python_homewizard_energy-4.2.0}/pyproject.toml +7 -7
- {python_homewizard_energy-4.1.1 → python_homewizard_energy-4.2.0}/LICENSE +0 -0
- {python_homewizard_energy-4.1.1 → python_homewizard_energy-4.2.0}/README.md +0 -0
- {python_homewizard_energy-4.1.1 → python_homewizard_energy-4.2.0}/homewizard_energy/__init__.py +0 -0
- {python_homewizard_energy-4.1.1 → python_homewizard_energy-4.2.0}/homewizard_energy/const.py +0 -0
- {python_homewizard_energy-4.1.1 → python_homewizard_energy-4.2.0}/homewizard_energy/errors.py +0 -0
- {python_homewizard_energy-4.1.1 → python_homewizard_energy-4.2.0}/homewizard_energy/py.typed +0 -0
{python_homewizard_energy-4.1.1 → python_homewizard_energy-4.2.0}/homewizard_energy/models.py
RENAMED
|
@@ -67,14 +67,31 @@ class Data:
|
|
|
67
67
|
active_power_l2_w: float | None
|
|
68
68
|
active_power_l3_w: float | None
|
|
69
69
|
|
|
70
|
+
active_voltage_v: float | None
|
|
70
71
|
active_voltage_l1_v: float | None
|
|
71
72
|
active_voltage_l2_v: float | None
|
|
72
73
|
active_voltage_l3_v: float | None
|
|
73
74
|
|
|
75
|
+
active_current_a: float | None
|
|
74
76
|
active_current_l1_a: float | None
|
|
75
77
|
active_current_l2_a: float | None
|
|
76
78
|
active_current_l3_a: float | None
|
|
77
79
|
|
|
80
|
+
active_apparent_power_va: float | None
|
|
81
|
+
active_apparent_power_l1_va: float | None
|
|
82
|
+
active_apparent_power_l2_va: float | None
|
|
83
|
+
active_apparent_power_l3_va: float | None
|
|
84
|
+
|
|
85
|
+
active_reactive_power_var: float | None
|
|
86
|
+
active_reactive_power_l1_var: float | None
|
|
87
|
+
active_reactive_power_l2_var: float | None
|
|
88
|
+
active_reactive_power_l3_var: float | None
|
|
89
|
+
|
|
90
|
+
active_power_factor: float | None
|
|
91
|
+
active_power_factor_l1: float | None
|
|
92
|
+
active_power_factor_l2: float | None
|
|
93
|
+
active_power_factor_l3: float | None
|
|
94
|
+
|
|
78
95
|
active_frequency_hz: float | None
|
|
79
96
|
|
|
80
97
|
voltage_sag_l1_count: int | None
|
|
@@ -184,12 +201,26 @@ class Data:
|
|
|
184
201
|
active_power_l1_w=data.get("active_power_l1_w"),
|
|
185
202
|
active_power_l2_w=data.get("active_power_l2_w"),
|
|
186
203
|
active_power_l3_w=data.get("active_power_l3_w"),
|
|
204
|
+
active_voltage_v=data.get("active_voltage_v"),
|
|
187
205
|
active_voltage_l1_v=data.get("active_voltage_l1_v"),
|
|
188
206
|
active_voltage_l2_v=data.get("active_voltage_l2_v"),
|
|
189
207
|
active_voltage_l3_v=data.get("active_voltage_l3_v"),
|
|
208
|
+
active_current_a=data.get("active_current_a"),
|
|
190
209
|
active_current_l1_a=data.get("active_current_l1_a"),
|
|
191
210
|
active_current_l2_a=data.get("active_current_l2_a"),
|
|
192
211
|
active_current_l3_a=data.get("active_current_l3_a"),
|
|
212
|
+
active_apparent_power_va=data.get("active_apparent_power_va"),
|
|
213
|
+
active_apparent_power_l1_va=data.get("active_apparent_power_l1_va"),
|
|
214
|
+
active_apparent_power_l2_va=data.get("active_apparent_power_l2_va"),
|
|
215
|
+
active_apparent_power_l3_va=data.get("active_apparent_power_l3_va"),
|
|
216
|
+
active_reactive_power_var=data.get("active_reactive_power_var"),
|
|
217
|
+
active_reactive_power_l1_var=data.get("active_reactive_power_l1_var"),
|
|
218
|
+
active_reactive_power_l2_var=data.get("active_reactive_power_l2_var"),
|
|
219
|
+
active_reactive_power_l3_var=data.get("active_reactive_power_l3_var"),
|
|
220
|
+
active_power_factor=data.get("active_power_factor"),
|
|
221
|
+
active_power_factor_l1=data.get("active_power_factor_l1"),
|
|
222
|
+
active_power_factor_l2=data.get("active_power_factor_l2"),
|
|
223
|
+
active_power_factor_l3=data.get("active_power_factor_l3"),
|
|
193
224
|
active_frequency_hz=data.get("active_frequency_hz"),
|
|
194
225
|
voltage_sag_l1_count=data.get("voltage_sag_l1_count"),
|
|
195
226
|
voltage_sag_l2_count=data.get("voltage_sag_l2_count"),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "python-homewizard-energy"
|
|
3
|
-
version = "4.
|
|
3
|
+
version = "4.2.0"
|
|
4
4
|
description = "Asynchronous Python client for the HomeWizard Energy"
|
|
5
5
|
authors = ["DCSBL"]
|
|
6
6
|
maintainers = ["DCSBL"]
|
|
@@ -26,12 +26,12 @@ black = "^22.12"
|
|
|
26
26
|
blacken-docs = "^1.16.0"
|
|
27
27
|
flake8 = "^4.0.1"
|
|
28
28
|
flake8-docstrings = "^1.7.0"
|
|
29
|
-
isort = "^5.
|
|
30
|
-
pre-commit = "^3.
|
|
29
|
+
isort = "^5.13.2"
|
|
30
|
+
pre-commit = "^3.6.0"
|
|
31
31
|
pre-commit-hooks = "^4.5.0"
|
|
32
|
-
pylint = "^3.0.
|
|
33
|
-
pytest = "^7.4.
|
|
34
|
-
pytest-asyncio = "^0.
|
|
32
|
+
pylint = "^3.0.3"
|
|
33
|
+
pytest = "^7.4.4"
|
|
34
|
+
pytest-asyncio = "^0.23.2"
|
|
35
35
|
pytest-cov = "^4.1.0"
|
|
36
36
|
yamllint = "^1.33.0"
|
|
37
37
|
pyupgrade = "^3.15.0"
|
|
@@ -46,7 +46,7 @@ flake8-markdown = "^0.3.0"
|
|
|
46
46
|
darglint = "^1.8.1"
|
|
47
47
|
safety = "^2.3.5"
|
|
48
48
|
codespell = "^2.2.6"
|
|
49
|
-
bandit = "^1.7.
|
|
49
|
+
bandit = "^1.7.6"
|
|
50
50
|
syrupy = "^4.6.0"
|
|
51
51
|
|
|
52
52
|
[tool.poetry.urls]
|
|
File without changes
|
|
File without changes
|
{python_homewizard_energy-4.1.1 → python_homewizard_energy-4.2.0}/homewizard_energy/__init__.py
RENAMED
|
File without changes
|
{python_homewizard_energy-4.1.1 → python_homewizard_energy-4.2.0}/homewizard_energy/const.py
RENAMED
|
File without changes
|
{python_homewizard_energy-4.1.1 → python_homewizard_energy-4.2.0}/homewizard_energy/errors.py
RENAMED
|
File without changes
|
{python_homewizard_energy-4.1.1 → python_homewizard_energy-4.2.0}/homewizard_energy/py.typed
RENAMED
|
File without changes
|