weheat 2025.3.7__tar.gz → 2025.4.29__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.
Potentially problematic release.
This version of weheat might be problematic. Click here for more details.
- {weheat-2025.3.7 → weheat-2025.4.29}/PKG-INFO +3 -2
- {weheat-2025.3.7 → weheat-2025.4.29}/pyproject.toml +1 -1
- {weheat-2025.3.7 → weheat-2025.4.29}/setup.py +1 -1
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/abstractions/heat_pump.py +8 -3
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat.egg-info/PKG-INFO +3 -2
- {weheat-2025.3.7 → weheat-2025.4.29}/LICENSE +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/README.md +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/setup.cfg +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/tests/test_ha_api.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/__init__.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/abstractions/__init__.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/abstractions/discovery.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/abstractions/user.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/api/__init__.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/api/energy_log_api.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/api/heat_pump_api.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/api/heat_pump_log_api.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/api/user_api.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/api_client.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/api_response.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/configuration.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/exceptions.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/models/__init__.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/models/boiler_type.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/models/device_state.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/models/dhw_type.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/models/energy_view_dto.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/models/heat_pump_log_view_dto.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/models/heat_pump_model.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/models/heat_pump_status_enum.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/models/heat_pump_type.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/models/raw_heat_pump_log_dto.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/models/read_all_heat_pump_dto.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/models/read_heat_pump_dto.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/models/read_user_dto.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/models/read_user_me_dto.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/models/role.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/py.typed +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat/rest.py +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat.egg-info/SOURCES.txt +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat.egg-info/dependency_links.txt +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat.egg-info/requires.txt +0 -0
- {weheat-2025.3.7 → weheat-2025.4.29}/weheat.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: weheat
|
|
3
|
-
Version: 2025.
|
|
3
|
+
Version: 2025.4.29
|
|
4
4
|
Summary: Weheat Backend client
|
|
5
5
|
Home-page: https://github.com/wefabricate/wh-python
|
|
6
6
|
Author: Jesper Raemaekers
|
|
@@ -22,6 +22,7 @@ Dynamic: description-content-type
|
|
|
22
22
|
Dynamic: home-page
|
|
23
23
|
Dynamic: keywords
|
|
24
24
|
Dynamic: license
|
|
25
|
+
Dynamic: license-file
|
|
25
26
|
Dynamic: requires-dist
|
|
26
27
|
Dynamic: summary
|
|
27
28
|
|
|
@@ -21,7 +21,7 @@ from setuptools import setup, find_packages # noqa: H301
|
|
|
21
21
|
# prerequisite: setuptools
|
|
22
22
|
# http://pypi.python.org/pypi/setuptools
|
|
23
23
|
NAME = "weheat"
|
|
24
|
-
VERSION = "2025.
|
|
24
|
+
VERSION = "2025.4.29"
|
|
25
25
|
PYTHON_REQUIRES = ">=3.7"
|
|
26
26
|
REQUIRES = [
|
|
27
27
|
"urllib3 >= 1.25.3, < 2.1.0",
|
|
@@ -218,9 +218,14 @@ class HeatPump:
|
|
|
218
218
|
"""
|
|
219
219
|
input = self.power_input
|
|
220
220
|
output = self.power_output
|
|
221
|
-
|
|
221
|
+
# When either is not available, the calculation cannot be made.
|
|
222
|
+
if input is None or output is None:
|
|
223
|
+
return None
|
|
224
|
+
|
|
225
|
+
if input > 0:
|
|
222
226
|
return output / input
|
|
223
|
-
|
|
227
|
+
|
|
228
|
+
return 0
|
|
224
229
|
|
|
225
230
|
@property
|
|
226
231
|
def indoor_unit_water_pump_state(self) -> Union[bool, None]:
|
|
@@ -271,7 +276,7 @@ class HeatPump:
|
|
|
271
276
|
return self.State.STANDBY
|
|
272
277
|
elif numeric_state == 70:
|
|
273
278
|
return self.State.HEATING
|
|
274
|
-
elif numeric_state
|
|
279
|
+
elif numeric_state >= 130 and numeric_state < 140:
|
|
275
280
|
return self.State.COOLING
|
|
276
281
|
elif numeric_state == 150:
|
|
277
282
|
return self.State.DHW
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: weheat
|
|
3
|
-
Version: 2025.
|
|
3
|
+
Version: 2025.4.29
|
|
4
4
|
Summary: Weheat Backend client
|
|
5
5
|
Home-page: https://github.com/wefabricate/wh-python
|
|
6
6
|
Author: Jesper Raemaekers
|
|
@@ -22,6 +22,7 @@ Dynamic: description-content-type
|
|
|
22
22
|
Dynamic: home-page
|
|
23
23
|
Dynamic: keywords
|
|
24
24
|
Dynamic: license
|
|
25
|
+
Dynamic: license-file
|
|
25
26
|
Dynamic: requires-dist
|
|
26
27
|
Dynamic: summary
|
|
27
28
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|