emerald-hws 0.0.9__py3-none-any.whl → 0.0.10__py3-none-any.whl
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.
- emerald_hws/emeraldhws.py +7 -0
- {emerald_hws-0.0.9.dist-info → emerald_hws-0.0.10.dist-info}/METADATA +2 -2
- emerald_hws-0.0.10.dist-info/RECORD +8 -0
- {emerald_hws-0.0.9.dist-info → emerald_hws-0.0.10.dist-info}/WHEEL +1 -1
- emerald_hws-0.0.9.dist-info/RECORD +0 -8
- {emerald_hws-0.0.9.dist-info → emerald_hws-0.0.10.dist-info}/LICENSE +0 -0
- {emerald_hws-0.0.9.dist-info → emerald_hws-0.0.10.dist-info}/top_level.txt +0 -0
emerald_hws/emeraldhws.py
CHANGED
@@ -311,6 +311,13 @@ class EmeraldHWS():
|
|
311
311
|
switch_status = self.getFullStatus(id).get("last_state").get("switch")
|
312
312
|
return (switch_status == 1 or switch_status == "on")
|
313
313
|
|
314
|
+
def isHeating(self, id):
|
315
|
+
""" Returns true if the specified HWS is currently heating
|
316
|
+
:param id: The UUID of the HWS to query
|
317
|
+
"""
|
318
|
+
heating_status = self.getFullStatus(id).get("device_operation_status")
|
319
|
+
return (heating_status == 1)
|
320
|
+
|
314
321
|
def currentMode(self, id):
|
315
322
|
""" Returns an integer specifying the current mode (0==boost, 1==normal, 2==quiet)
|
316
323
|
:param id: The UUID of the HWS to query
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: emerald_hws
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.10
|
4
4
|
Summary: A package to manipulate and monitor Emerald Heat Pump Hot Water Systems
|
5
5
|
Author-email: Ross Williamson <ross@inertia.net.nz>
|
6
6
|
Project-URL: Homepage, https://github.com/ross-w/emerald_hws_py
|
@@ -0,0 +1,8 @@
|
|
1
|
+
emerald_hws/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
2
|
+
emerald_hws/emeraldhws.py,sha256=aAH2x5f9c5sw2NBg0BSbPJ0iuzNdLaXWvWMK7h2hYeY,14361
|
3
|
+
emerald_hws/__assets__/SFSRootCAG2.pem,sha256=hw9W0AnYrrlbcWsOewAgIl1ULEsoO57Ylu35dCjWcS4,1424
|
4
|
+
emerald_hws-0.0.10.dist-info/LICENSE,sha256=zzMi56JX7OO-epbXNfe_oFW6sfZHSlO7Yxm0Oh0V014,1072
|
5
|
+
emerald_hws-0.0.10.dist-info/METADATA,sha256=8TYWMzh7CgGm7WBoOAdUwNyKzv0k2--LGRti97PM7DU,689
|
6
|
+
emerald_hws-0.0.10.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
7
|
+
emerald_hws-0.0.10.dist-info/top_level.txt,sha256=ZCiUmnBkDr2n4QVkTet1s_AKiGJjuz3heuCR5w5ZqLY,12
|
8
|
+
emerald_hws-0.0.10.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
emerald_hws/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
2
|
-
emerald_hws/emeraldhws.py,sha256=w3gMffHc9g71r7VeA7710cO-s-DwXcGqTKG0KneC2PI,14088
|
3
|
-
emerald_hws/__assets__/SFSRootCAG2.pem,sha256=hw9W0AnYrrlbcWsOewAgIl1ULEsoO57Ylu35dCjWcS4,1424
|
4
|
-
emerald_hws-0.0.9.dist-info/LICENSE,sha256=zzMi56JX7OO-epbXNfe_oFW6sfZHSlO7Yxm0Oh0V014,1072
|
5
|
-
emerald_hws-0.0.9.dist-info/METADATA,sha256=c2Y0d6CM_n2ve-nESs1k1inHnt9kbhFkqCXdaFxl7zs,688
|
6
|
-
emerald_hws-0.0.9.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
7
|
-
emerald_hws-0.0.9.dist-info/top_level.txt,sha256=ZCiUmnBkDr2n4QVkTet1s_AKiGJjuz3heuCR5w5ZqLY,12
|
8
|
-
emerald_hws-0.0.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|