pyvesync 3.0.0b5__tar.gz → 3.0.0b6__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.
- {pyvesync-3.0.0b5/src/pyvesync.egg-info → pyvesync-3.0.0b6}/PKG-INFO +2 -2
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/README.md +2 -2
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/pyproject.toml +1 -1
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/device_map.py +0 -2
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/devices/vesyncfan.py +1 -1
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/models/fan_models.py +1 -2
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6/src/pyvesync.egg-info}/PKG-INFO +2 -2
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/LICENSE +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/MANIFEST.in +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/requirements.txt +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/setup.cfg +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/setup.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/__init__.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/base_devices/__init__.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/base_devices/bulb_base.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/base_devices/fan_base.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/base_devices/fryer_base.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/base_devices/humidifier_base.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/base_devices/outlet_base.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/base_devices/purifier_base.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/base_devices/switch_base.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/base_devices/thermostat_base.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/base_devices/vesyncbasedevice.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/const.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/device_container.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/devices/__init__.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/devices/vesyncbulb.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/devices/vesynchumidifier.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/devices/vesynckitchen.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/devices/vesyncoutlet.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/devices/vesyncpurifier.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/devices/vesyncswitch.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/devices/vesyncthermostat.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/models/__init__.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/models/base_models.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/models/bulb_models.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/models/bypass_models.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/models/fryer_models.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/models/home_models.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/models/humidifier_models.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/models/outlet_models.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/models/purifier_models.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/models/switch_models.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/models/thermostat_models.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/models/vesync_models.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/utils/__init__.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/utils/colors.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/utils/device_mixins.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/utils/enum_utils.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/utils/errors.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/utils/helpers.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/utils/logs.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/vesync.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync/vesynchome.py +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync.egg-info/SOURCES.txt +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync.egg-info/dependency_links.txt +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync.egg-info/requires.txt +0 -0
- {pyvesync-3.0.0b5 → pyvesync-3.0.0b6}/src/pyvesync.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyvesync
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.0b6
|
|
4
4
|
Summary: pyvesync is a library to manage Etekcity Devices, Cosori Air Fryers, and Levoit Air Purifiers run on the VeSync app.
|
|
5
5
|
Author: Mark Perdue
|
|
6
6
|
Author-email: Joe Trabulsy <webdjoe@gmail.com>
|
|
@@ -98,7 +98,7 @@ async def main():
|
|
|
98
98
|
if not manager.enabled:
|
|
99
99
|
print("Not logged in.")
|
|
100
100
|
return
|
|
101
|
-
await manager.get_devices() # Instantiates supported devices in device list
|
|
101
|
+
await manager.get_devices() # Instantiates supported devices in device list, automatically called by login, only needed if you would like updates
|
|
102
102
|
await manager.update() # Updates the state of all devices
|
|
103
103
|
|
|
104
104
|
# manager.devices is a DeviceContainer object
|
|
@@ -67,7 +67,7 @@ async def main():
|
|
|
67
67
|
if not manager.enabled:
|
|
68
68
|
print("Not logged in.")
|
|
69
69
|
return
|
|
70
|
-
await manager.get_devices() # Instantiates supported devices in device list
|
|
70
|
+
await manager.get_devices() # Instantiates supported devices in device list, automatically called by login, only needed if you would like updates
|
|
71
71
|
await manager.update() # Updates the state of all devices
|
|
72
72
|
|
|
73
73
|
# manager.devices is a DeviceContainer object
|
|
@@ -510,4 +510,4 @@ And to all of those that contributed to the project:
|
|
|
510
510
|
<img src="https://contrib.rocks/image?repo=webdjoe/pyvesync" />
|
|
511
511
|
</a>
|
|
512
512
|
|
|
513
|
-
Made with [contrib.rocks](https://contrib.rocks).
|
|
513
|
+
Made with [contrib.rocks](https://contrib.rocks).
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pyvesync"
|
|
7
|
-
version = "3.0.
|
|
7
|
+
version = "3.0.0b6"
|
|
8
8
|
description = "pyvesync is a library to manage Etekcity Devices, Cosori Air Fryers, and Levoit Air Purifiers run on the VeSync app."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -853,9 +853,7 @@ fan_modules: list[FanMap] = [
|
|
|
853
853
|
class_name="VeSyncTowerFan",
|
|
854
854
|
dev_types=["LTF-F422S-KEU", "LTF-F422S-WUSR", "LTF-F422_WJP", "LTF-F422S-WUS"],
|
|
855
855
|
modes=[
|
|
856
|
-
FanModes.SLEEP, # Alias for Advanced sleep mode
|
|
857
856
|
FanModes.NORMAL,
|
|
858
|
-
FanModes.MANUAL,
|
|
859
857
|
FanModes.TURBO,
|
|
860
858
|
FanModes.AUTO,
|
|
861
859
|
FanModes.ADVANCED_SLEEP,
|
|
@@ -116,7 +116,7 @@ class VeSyncTowerFan(BypassV2Mixin, VeSyncFanBase):
|
|
|
116
116
|
payload_data = {
|
|
117
117
|
"workMode": mode
|
|
118
118
|
}
|
|
119
|
-
r_dict = await self.call_bypassv2_api("
|
|
119
|
+
r_dict = await self.call_bypassv2_api("setTowerFanMode", payload_data)
|
|
120
120
|
r = Helpers.process_dev_response(logger, "set_mode", self, r_dict)
|
|
121
121
|
if r is None:
|
|
122
122
|
return False
|
|
@@ -15,9 +15,8 @@ from pyvesync.models.bypass_models import (
|
|
|
15
15
|
|
|
16
16
|
@dataclass
|
|
17
17
|
class TowerFanResult(BypassV2InnerResult):
|
|
18
|
-
"""
|
|
18
|
+
"""Tower Fan Result Model."""
|
|
19
19
|
powerSwitch: int
|
|
20
|
-
filterLifePercent: int
|
|
21
20
|
workMode: str
|
|
22
21
|
manualSpeedLevel: int
|
|
23
22
|
fanSpeedLevel: int
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyvesync
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.0b6
|
|
4
4
|
Summary: pyvesync is a library to manage Etekcity Devices, Cosori Air Fryers, and Levoit Air Purifiers run on the VeSync app.
|
|
5
5
|
Author: Mark Perdue
|
|
6
6
|
Author-email: Joe Trabulsy <webdjoe@gmail.com>
|
|
@@ -98,7 +98,7 @@ async def main():
|
|
|
98
98
|
if not manager.enabled:
|
|
99
99
|
print("Not logged in.")
|
|
100
100
|
return
|
|
101
|
-
await manager.get_devices() # Instantiates supported devices in device list
|
|
101
|
+
await manager.get_devices() # Instantiates supported devices in device list, automatically called by login, only needed if you would like updates
|
|
102
102
|
await manager.update() # Updates the state of all devices
|
|
103
103
|
|
|
104
104
|
# manager.devices is a DeviceContainer object
|
|
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
|
|
File without changes
|