pyvesync 3.2.1__tar.gz → 3.2.2__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.2.1/src/pyvesync.egg-info → pyvesync-3.2.2}/PKG-INFO +1 -1
- {pyvesync-3.2.1 → pyvesync-3.2.2}/pyproject.toml +1 -1
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/base_devices/purifier_base.py +3 -3
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/device_map.py +1 -1
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/devices/vesyncoutlet.py +1 -1
- {pyvesync-3.2.1 → pyvesync-3.2.2/src/pyvesync.egg-info}/PKG-INFO +1 -1
- {pyvesync-3.2.1 → pyvesync-3.2.2}/LICENSE +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/MANIFEST.in +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/README.md +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/requirements.txt +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/setup.cfg +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/setup.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/__init__.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/auth.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/base_devices/__init__.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/base_devices/bulb_base.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/base_devices/fan_base.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/base_devices/fryer_base.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/base_devices/humidifier_base.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/base_devices/outlet_base.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/base_devices/switch_base.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/base_devices/thermostat_base.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/base_devices/vesyncbasedevice.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/const.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/device_container.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/devices/__init__.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/devices/vesyncbulb.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/devices/vesyncfan.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/devices/vesynchumidifier.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/devices/vesynckitchen.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/devices/vesyncpurifier.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/devices/vesyncswitch.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/devices/vesyncthermostat.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/models/__init__.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/models/base_models.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/models/bulb_models.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/models/bypass_models.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/models/fan_models.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/models/fryer_models.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/models/home_models.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/models/humidifier_models.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/models/outlet_models.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/models/purifier_models.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/models/switch_models.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/models/thermostat_models.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/models/vesync_models.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/utils/__init__.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/utils/colors.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/utils/device_mixins.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/utils/enum_utils.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/utils/errors.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/utils/helpers.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/utils/logs.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/vesync.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync/vesynchome.py +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync.egg-info/SOURCES.txt +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync.egg-info/dependency_links.txt +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/src/pyvesync.egg-info/requires.txt +0 -0
- {pyvesync-3.2.1 → pyvesync-3.2.2}/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.2.
|
|
3
|
+
Version: 3.2.2
|
|
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>
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pyvesync"
|
|
7
|
-
version = "3.2.
|
|
7
|
+
version = "3.2.2"
|
|
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"
|
|
@@ -109,7 +109,7 @@ class PurifierState(DeviceState):
|
|
|
109
109
|
self.auto_preference_type: str | None = None
|
|
110
110
|
self.auto_room_size: int | None = None
|
|
111
111
|
self._air_quality_level: AirQualityLevel | None = None
|
|
112
|
-
self.child_lock: bool =
|
|
112
|
+
self.child_lock: bool | None = None
|
|
113
113
|
self.filter_open_state: bool = False
|
|
114
114
|
self.display_status: str | None = None
|
|
115
115
|
self.display_set_status: str | None = None
|
|
@@ -502,11 +502,11 @@ class VeSyncPurifier(VeSyncBaseToggleDevice):
|
|
|
502
502
|
|
|
503
503
|
@property
|
|
504
504
|
@deprecated('Use self.state.child_lock instead.')
|
|
505
|
-
def child_lock(self) -> bool:
|
|
505
|
+
def child_lock(self) -> bool | None:
|
|
506
506
|
"""Get child lock state.
|
|
507
507
|
|
|
508
508
|
Returns:
|
|
509
|
-
bool : True if child lock is enabled, False if not.
|
|
509
|
+
bool | None : True if child lock is enabled, False if not, None if unknown.
|
|
510
510
|
"""
|
|
511
511
|
return self.state.child_lock
|
|
512
512
|
|
|
@@ -697,7 +697,7 @@ humidifier_modules = [
|
|
|
697
697
|
),
|
|
698
698
|
HumidifierMap(
|
|
699
699
|
class_name='VeSyncHumid1000S',
|
|
700
|
-
dev_types=['LUH-M101S-WUS', 'LUH-M101S-
|
|
700
|
+
dev_types=['LUH-M101S-WUS', 'LUH-M101S-WUSR'],
|
|
701
701
|
features=[],
|
|
702
702
|
mist_modes={
|
|
703
703
|
HumidifierModes.AUTO: 'auto',
|
|
@@ -803,7 +803,7 @@ class VeSyncOutletWHOGPlug(BypassV2Mixin, VeSyncOutlet):
|
|
|
803
803
|
async def toggle_switch(self, toggle: bool | None = None) -> bool:
|
|
804
804
|
if toggle is None:
|
|
805
805
|
toggle = self.state.device_status != DeviceStatus.ON
|
|
806
|
-
toggle_int =
|
|
806
|
+
toggle_int = int(toggle)
|
|
807
807
|
r_dict = await self.call_bypassv2_api(
|
|
808
808
|
'setProperty',
|
|
809
809
|
data={'powerSwitch_1': toggle_int},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyvesync
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.2
|
|
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>
|
|
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
|
|
File without changes
|
|
File without changes
|