aioWiserHeatAPI 1.6.4__tar.gz → 1.6.6__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.
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/PKG-INFO +19 -4
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/README.md +7 -1
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/__init__.py +1 -1
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/hot_water.py +17 -7
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/rest_controller.py +1 -1
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI.egg-info/PKG-INFO +19 -4
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/LICENSE +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/automation.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/binary_sensor.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/boiler_interface.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/button_panel.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/cli.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/const.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/devices.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/discovery.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/exceptions.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/heating.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/heating_actuator.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/__init__.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/automations.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/battery.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/capabilities.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/cloud.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/device.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/equipment.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/extra_config.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/firmware.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/gps.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/misc.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/network.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/opentherm.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/signal.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/special_times.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/status.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/temp.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/threshold.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/uiconfiguration.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/version.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/helpers/zigbee.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/light.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/moments.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/ptc.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/pte.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/room.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/roomstat.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/schedule.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/shutter.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/smartplug.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/smartvalve.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/smokealarm.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/system.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/temp_humidity.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/ufh.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI/wiserhub.py +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI.egg-info/SOURCES.txt +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI.egg-info/dependency_links.txt +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI.egg-info/entry_points.txt +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI.egg-info/requires.txt +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI.egg-info/top_level.txt +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/setup.cfg +0 -0
- {aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: aioWiserHeatAPI
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.6
|
|
4
4
|
Summary: An AsyncIO API for controlling the Drayton Wiser Heating system
|
|
5
5
|
Home-page: https://github.com/msp1974/aioWiserHeatAPI
|
|
6
6
|
Author: Mark Parker
|
|
@@ -17,8 +17,17 @@ Requires-Dist: zeroconf>=0.131.0
|
|
|
17
17
|
Requires-Dist: aiohttp>=3.9.3
|
|
18
18
|
Requires-Dist: aiofiles>=23.2.1
|
|
19
19
|
Requires-Dist: pyyaml>=6.0.1
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
Dynamic: author
|
|
21
|
+
Dynamic: author-email
|
|
22
|
+
Dynamic: classifier
|
|
23
|
+
Dynamic: description
|
|
24
|
+
Dynamic: description-content-type
|
|
25
|
+
Dynamic: home-page
|
|
26
|
+
Dynamic: requires-dist
|
|
27
|
+
Dynamic: requires-python
|
|
28
|
+
Dynamic: summary
|
|
29
|
+
|
|
30
|
+
# Drayton Wiser Hub API Async v1.6.6
|
|
22
31
|
|
|
23
32
|
This repository contains a simple API which queries the Drayton Wiser Heating sysystem used in the UK.
|
|
24
33
|
|
|
@@ -72,6 +81,12 @@ Documentation available in [info.md](https://github.com/msp1974/wiserHeatAPIv2/b
|
|
|
72
81
|
|
|
73
82
|
## Changelog
|
|
74
83
|
|
|
84
|
+
### v1.6.6
|
|
85
|
+
* Added: support SSL redirect on hub for future firmware
|
|
86
|
+
|
|
87
|
+
### v1.6.5
|
|
88
|
+
* Fix: improve status handling of hot water for hw climate mode
|
|
89
|
+
|
|
75
90
|
### v1.6.4
|
|
76
91
|
* Fix: fix issue of default extra config values not being provided
|
|
77
92
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Drayton Wiser Hub API Async v1.6.
|
|
1
|
+
# Drayton Wiser Hub API Async v1.6.6
|
|
2
2
|
|
|
3
3
|
This repository contains a simple API which queries the Drayton Wiser Heating sysystem used in the UK.
|
|
4
4
|
|
|
@@ -52,6 +52,12 @@ Documentation available in [info.md](https://github.com/msp1974/wiserHeatAPIv2/b
|
|
|
52
52
|
|
|
53
53
|
## Changelog
|
|
54
54
|
|
|
55
|
+
### v1.6.6
|
|
56
|
+
* Added: support SSL redirect on hub for future firmware
|
|
57
|
+
|
|
58
|
+
### v1.6.5
|
|
59
|
+
* Fix: improve status handling of hot water for hw climate mode
|
|
60
|
+
|
|
55
61
|
### v1.6.4
|
|
56
62
|
* Fix: fix issue of default extra config values not being provided
|
|
57
63
|
|
|
@@ -52,6 +52,8 @@ class _WiserHotwater(object):
|
|
|
52
52
|
"manual_heat": False,
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
self._current_temperature: float = 0.0
|
|
56
|
+
|
|
55
57
|
# Add device id to schedule
|
|
56
58
|
if self._schedule:
|
|
57
59
|
self.schedule._assignments.append({"id": self.id, "name": self.name})
|
|
@@ -103,8 +105,8 @@ class _WiserHotwater(object):
|
|
|
103
105
|
@property
|
|
104
106
|
def available_presets(self) -> list:
|
|
105
107
|
"""Get available preset modes"""
|
|
106
|
-
# Remove advance schedule if no schedule exists or in
|
|
107
|
-
if not self.schedule:
|
|
108
|
+
# Remove advance schedule if no schedule exists or in climate mode
|
|
109
|
+
if not self.schedule or self.is_climate_mode:
|
|
108
110
|
return [
|
|
109
111
|
mode.value
|
|
110
112
|
for mode in WiserPresetOptionsEnum
|
|
@@ -183,14 +185,13 @@ class _WiserHotwater(object):
|
|
|
183
185
|
if self.is_climate_mode:
|
|
184
186
|
if (
|
|
185
187
|
(self._extra_config and self._extra_config.get("climate_off", False))
|
|
186
|
-
and self._data.get("Mode")
|
|
187
|
-
in [WiserDeviceModeEnum.manual.value, WiserDeviceModeEnum.auto.value]
|
|
188
|
+
and self._data.get("Mode") == WiserDeviceModeEnum.manual.value
|
|
188
189
|
and not self.is_heating
|
|
189
190
|
):
|
|
190
191
|
return True
|
|
191
192
|
|
|
192
193
|
# If not off but extr_config says it is, update extra config.
|
|
193
|
-
elif self._extra_config:
|
|
194
|
+
elif not self.is_boosted and self._extra_config:
|
|
194
195
|
if self._extra_config.get("climate_off"):
|
|
195
196
|
asyncio.get_running_loop().create_task(
|
|
196
197
|
self._update_extra_config("climate_off", False)
|
|
@@ -215,7 +216,11 @@ class _WiserHotwater(object):
|
|
|
215
216
|
def mode(self) -> str | None:
|
|
216
217
|
"""Get or set the current hot water mode (On, Off or Auto)"""
|
|
217
218
|
try:
|
|
218
|
-
return
|
|
219
|
+
return (
|
|
220
|
+
TEXT_OFF
|
|
221
|
+
if self.is_climate_mode_off and not self.is_boosted
|
|
222
|
+
else self._data.get("Mode")
|
|
223
|
+
)
|
|
219
224
|
except KeyError:
|
|
220
225
|
return None
|
|
221
226
|
|
|
@@ -304,6 +309,11 @@ class _WiserHotwater(object):
|
|
|
304
309
|
"""Get the origin of the current status for the hotwater"""
|
|
305
310
|
return self._data.get("HotWaterDescription", TEXT_UNKNOWN)
|
|
306
311
|
|
|
312
|
+
@property
|
|
313
|
+
def current_temperature(self) -> float:
|
|
314
|
+
"""Return current temperature."""
|
|
315
|
+
return self._current_temperature
|
|
316
|
+
|
|
307
317
|
@property
|
|
308
318
|
def current_target_temperature(self) -> float:
|
|
309
319
|
"""Return current saved target temperature if in climate mode"""
|
|
@@ -372,7 +382,7 @@ class _WiserHotwater(object):
|
|
|
372
382
|
param duration: the duration to turn on for in minutes
|
|
373
383
|
return: boolean
|
|
374
384
|
"""
|
|
375
|
-
return await self.override_state_for_duration(
|
|
385
|
+
return await self.override_state_for_duration(state, duration)
|
|
376
386
|
|
|
377
387
|
async def cancel_boost(self) -> bool | None:
|
|
378
388
|
"""
|
|
@@ -186,7 +186,7 @@ class _WiserRestController(object):
|
|
|
186
186
|
|
|
187
187
|
try:
|
|
188
188
|
async with aiohttp.ClientSession(
|
|
189
|
-
version=http_version,
|
|
189
|
+
version=http_version, connector=aiohttp.TCPConnector(verify_ssl=False)
|
|
190
190
|
) as session:
|
|
191
191
|
async with session.request(action.value, url, **kwargs) as response:
|
|
192
192
|
await asyncio.sleep(0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: aioWiserHeatAPI
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.6
|
|
4
4
|
Summary: An AsyncIO API for controlling the Drayton Wiser Heating system
|
|
5
5
|
Home-page: https://github.com/msp1974/aioWiserHeatAPI
|
|
6
6
|
Author: Mark Parker
|
|
@@ -17,8 +17,17 @@ Requires-Dist: zeroconf>=0.131.0
|
|
|
17
17
|
Requires-Dist: aiohttp>=3.9.3
|
|
18
18
|
Requires-Dist: aiofiles>=23.2.1
|
|
19
19
|
Requires-Dist: pyyaml>=6.0.1
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
Dynamic: author
|
|
21
|
+
Dynamic: author-email
|
|
22
|
+
Dynamic: classifier
|
|
23
|
+
Dynamic: description
|
|
24
|
+
Dynamic: description-content-type
|
|
25
|
+
Dynamic: home-page
|
|
26
|
+
Dynamic: requires-dist
|
|
27
|
+
Dynamic: requires-python
|
|
28
|
+
Dynamic: summary
|
|
29
|
+
|
|
30
|
+
# Drayton Wiser Hub API Async v1.6.6
|
|
22
31
|
|
|
23
32
|
This repository contains a simple API which queries the Drayton Wiser Heating sysystem used in the UK.
|
|
24
33
|
|
|
@@ -72,6 +81,12 @@ Documentation available in [info.md](https://github.com/msp1974/wiserHeatAPIv2/b
|
|
|
72
81
|
|
|
73
82
|
## Changelog
|
|
74
83
|
|
|
84
|
+
### v1.6.6
|
|
85
|
+
* Added: support SSL redirect on hub for future firmware
|
|
86
|
+
|
|
87
|
+
### v1.6.5
|
|
88
|
+
* Fix: improve status handling of hot water for hw climate mode
|
|
89
|
+
|
|
75
90
|
### v1.6.4
|
|
76
91
|
* Fix: fix issue of default extra config values not being provided
|
|
77
92
|
|
|
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
|
|
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
|
{aiowiserheatapi-1.6.4 → aiowiserheatapi-1.6.6}/aioWiserHeatAPI.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|