aioWiserHeatAPI 1.6.3__tar.gz → 1.6.5__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.3 → aiowiserheatapi-1.6.5}/PKG-INFO +8 -2
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/README.md +7 -1
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/__init__.py +1 -1
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/hot_water.py +20 -9
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI.egg-info/PKG-INFO +8 -2
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/LICENSE +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/automation.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/binary_sensor.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/boiler_interface.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/button_panel.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/cli.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/const.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/devices.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/discovery.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/exceptions.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/heating.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/heating_actuator.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/__init__.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/automations.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/battery.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/capabilities.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/cloud.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/device.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/equipment.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/extra_config.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/firmware.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/gps.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/misc.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/network.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/opentherm.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/signal.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/special_times.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/status.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/temp.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/threshold.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/uiconfiguration.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/version.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/helpers/zigbee.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/light.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/moments.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/ptc.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/pte.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/rest_controller.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/room.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/roomstat.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/schedule.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/shutter.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/smartplug.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/smartvalve.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/smokealarm.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/system.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/temp_humidity.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/ufh.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI/wiserhub.py +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI.egg-info/SOURCES.txt +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI.egg-info/dependency_links.txt +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI.egg-info/entry_points.txt +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI.egg-info/requires.txt +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/aioWiserHeatAPI.egg-info/top_level.txt +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/setup.cfg +0 -0
- {aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aioWiserHeatAPI
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.5
|
|
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
|
|
@@ -18,7 +18,7 @@ Requires-Dist: aiohttp>=3.9.3
|
|
|
18
18
|
Requires-Dist: aiofiles>=23.2.1
|
|
19
19
|
Requires-Dist: pyyaml>=6.0.1
|
|
20
20
|
|
|
21
|
-
# Drayton Wiser Hub API Async v1.6.
|
|
21
|
+
# Drayton Wiser Hub API Async v1.6.5
|
|
22
22
|
|
|
23
23
|
This repository contains a simple API which queries the Drayton Wiser Heating sysystem used in the UK.
|
|
24
24
|
|
|
@@ -72,6 +72,12 @@ Documentation available in [info.md](https://github.com/msp1974/wiserHeatAPIv2/b
|
|
|
72
72
|
|
|
73
73
|
## Changelog
|
|
74
74
|
|
|
75
|
+
### v1.6.5
|
|
76
|
+
* Fix: improve status handling of hot water for hw climate mode
|
|
77
|
+
|
|
78
|
+
### v1.6.4
|
|
79
|
+
* Fix: fix issue of default extra config values not being provided
|
|
80
|
+
|
|
75
81
|
### v1.6.3
|
|
76
82
|
* Fix: fix error in temp validator from websocket schedule data that errored if a slot was set to off
|
|
77
83
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Drayton Wiser Hub API Async v1.6.
|
|
1
|
+
# Drayton Wiser Hub API Async v1.6.5
|
|
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.5
|
|
56
|
+
* Fix: improve status handling of hot water for hw climate mode
|
|
57
|
+
|
|
58
|
+
### v1.6.4
|
|
59
|
+
* Fix: fix issue of default extra config values not being provided
|
|
60
|
+
|
|
55
61
|
### v1.6.3
|
|
56
62
|
* Fix: fix error in temp validator from websocket schedule data that errored if a slot was set to off
|
|
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})
|
|
@@ -90,7 +92,7 @@ class _WiserHotwater(object):
|
|
|
90
92
|
self._extra_config = (
|
|
91
93
|
self._wiser_rest_controller._extra_config.config("HotWater", str(self.id))
|
|
92
94
|
if self._wiser_rest_controller._extra_config
|
|
93
|
-
else
|
|
95
|
+
else self._default_extra_config
|
|
94
96
|
)
|
|
95
97
|
|
|
96
98
|
@property
|
|
@@ -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)
|
|
@@ -202,8 +203,9 @@ class _WiserHotwater(object):
|
|
|
202
203
|
"""Return if manual heat is active."""
|
|
203
204
|
if self.is_climate_mode is False or self.is_climate_mode_off:
|
|
204
205
|
return False
|
|
205
|
-
|
|
206
|
+
elif self._extra_config:
|
|
206
207
|
return self._extra_config.get("manual_heat")
|
|
208
|
+
return self._default_extra_config.get("manual_heat")
|
|
207
209
|
|
|
208
210
|
async def set_manual_heat(self, enabled: bool):
|
|
209
211
|
"""Set manual heat."""
|
|
@@ -214,7 +216,11 @@ class _WiserHotwater(object):
|
|
|
214
216
|
def mode(self) -> str | None:
|
|
215
217
|
"""Get or set the current hot water mode (On, Off or Auto)"""
|
|
216
218
|
try:
|
|
217
|
-
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
|
+
)
|
|
218
224
|
except KeyError:
|
|
219
225
|
return None
|
|
220
226
|
|
|
@@ -303,6 +309,11 @@ class _WiserHotwater(object):
|
|
|
303
309
|
"""Get the origin of the current status for the hotwater"""
|
|
304
310
|
return self._data.get("HotWaterDescription", TEXT_UNKNOWN)
|
|
305
311
|
|
|
312
|
+
@property
|
|
313
|
+
def current_temperature(self) -> float:
|
|
314
|
+
"""Return current temperature."""
|
|
315
|
+
return self._current_temperature
|
|
316
|
+
|
|
306
317
|
@property
|
|
307
318
|
def current_target_temperature(self) -> float:
|
|
308
319
|
"""Return current saved target temperature if in climate mode"""
|
|
@@ -371,7 +382,7 @@ class _WiserHotwater(object):
|
|
|
371
382
|
param duration: the duration to turn on for in minutes
|
|
372
383
|
return: boolean
|
|
373
384
|
"""
|
|
374
|
-
return await self.override_state_for_duration(
|
|
385
|
+
return await self.override_state_for_duration(state, duration)
|
|
375
386
|
|
|
376
387
|
async def cancel_boost(self) -> bool | None:
|
|
377
388
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aioWiserHeatAPI
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.5
|
|
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
|
|
@@ -18,7 +18,7 @@ Requires-Dist: aiohttp>=3.9.3
|
|
|
18
18
|
Requires-Dist: aiofiles>=23.2.1
|
|
19
19
|
Requires-Dist: pyyaml>=6.0.1
|
|
20
20
|
|
|
21
|
-
# Drayton Wiser Hub API Async v1.6.
|
|
21
|
+
# Drayton Wiser Hub API Async v1.6.5
|
|
22
22
|
|
|
23
23
|
This repository contains a simple API which queries the Drayton Wiser Heating sysystem used in the UK.
|
|
24
24
|
|
|
@@ -72,6 +72,12 @@ Documentation available in [info.md](https://github.com/msp1974/wiserHeatAPIv2/b
|
|
|
72
72
|
|
|
73
73
|
## Changelog
|
|
74
74
|
|
|
75
|
+
### v1.6.5
|
|
76
|
+
* Fix: improve status handling of hot water for hw climate mode
|
|
77
|
+
|
|
78
|
+
### v1.6.4
|
|
79
|
+
* Fix: fix issue of default extra config values not being provided
|
|
80
|
+
|
|
75
81
|
### v1.6.3
|
|
76
82
|
* Fix: fix error in temp validator from websocket schedule data that errored if a slot was set to off
|
|
77
83
|
|
|
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
|
|
File without changes
|
{aiowiserheatapi-1.6.3 → aiowiserheatapi-1.6.5}/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
|