pyvesync 3.4.0__tar.gz → 3.4.1__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.4.0/src/pyvesync.egg-info → pyvesync-3.4.1}/PKG-INFO +1 -1
- {pyvesync-3.4.0 → pyvesync-3.4.1}/pyproject.toml +1 -1
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/base_devices/fan_base.py +1 -1
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/base_devices/humidifier_base.py +2 -2
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/device_map.py +3 -3
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/devices/vesyncfan.py +1 -1
- {pyvesync-3.4.0 → pyvesync-3.4.1/src/pyvesync.egg-info}/PKG-INFO +1 -1
- {pyvesync-3.4.0 → pyvesync-3.4.1}/LICENSE +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/MANIFEST.in +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/README.md +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/requirements.txt +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/setup.cfg +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/setup.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/__init__.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/auth.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/base_devices/__init__.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/base_devices/bulb_base.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/base_devices/fryer_base.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/base_devices/outlet_base.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/base_devices/purifier_base.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/base_devices/switch_base.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/base_devices/thermostat_base.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/base_devices/vesyncbasedevice.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/const.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/device_container.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/devices/__init__.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/devices/vesyncbulb.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/devices/vesynchumidifier.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/devices/vesynckitchen.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/devices/vesyncoutlet.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/devices/vesyncpurifier.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/devices/vesyncswitch.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/devices/vesyncthermostat.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/models/__init__.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/models/base_models.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/models/bulb_models.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/models/bypass_models.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/models/fan_models.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/models/fryer_models.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/models/home_models.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/models/humidifier_models.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/models/outlet_models.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/models/purifier_models.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/models/switch_models.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/models/thermostat_models.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/models/vesync_models.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/py.typed +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/utils/__init__.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/utils/colors.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/utils/device_mixins.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/utils/enum_utils.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/utils/errors.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/utils/helpers.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/utils/logs.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/vesync.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync/vesynchome.py +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync.egg-info/SOURCES.txt +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync.egg-info/dependency_links.txt +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/src/pyvesync.egg-info/requires.txt +0 -0
- {pyvesync-3.4.0 → pyvesync-3.4.1}/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.4.
|
|
3
|
+
Version: 3.4.1
|
|
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.4.
|
|
7
|
+
version = "3.4.1"
|
|
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"
|
|
@@ -90,7 +90,7 @@ class FanState(DeviceState):
|
|
|
90
90
|
self.mode: str | None = None
|
|
91
91
|
self.fan_level: int | None = None
|
|
92
92
|
self.fan_set_level: int | None = None
|
|
93
|
-
self.child_lock:
|
|
93
|
+
self.child_lock: bool | None = None
|
|
94
94
|
self.humidity: float | None = None
|
|
95
95
|
self.temperature: float | None = None
|
|
96
96
|
self.thermal_comfort: int | None = None
|
|
@@ -261,9 +261,9 @@ class VeSyncHumidifier(VeSyncBaseToggleDevice):
|
|
|
261
261
|
self._reverse_mist_modes: dict[str, str] = {}
|
|
262
262
|
for k, v in self.mist_modes.items():
|
|
263
263
|
self._reverse_mist_modes[v] = k
|
|
264
|
-
self.mist_levels: list[
|
|
264
|
+
self.mist_levels: list[int] = feature_map.mist_levels
|
|
265
265
|
self.features: list[str] = feature_map.features
|
|
266
|
-
self.warm_mist_levels: list[int
|
|
266
|
+
self.warm_mist_levels: list[int] = feature_map.warm_mist_levels
|
|
267
267
|
self.target_minmax: tuple[int, int] = feature_map.target_minmax
|
|
268
268
|
|
|
269
269
|
@property
|
|
@@ -273,11 +273,11 @@ class HumidifierMap(DeviceMapTemplate):
|
|
|
273
273
|
|
|
274
274
|
product_line: str = ProductLines.WIFI_AIR
|
|
275
275
|
mist_modes: dict[str, str] = field(default_factory=dict)
|
|
276
|
-
mist_levels: list[int
|
|
276
|
+
mist_levels: list[int] = field(default_factory=list)
|
|
277
277
|
product_type: str = ProductTypes.HUMIDIFIER
|
|
278
278
|
module: ModuleType = vesynchumidifier
|
|
279
279
|
target_minmax: tuple[int, int] = (30, 80)
|
|
280
|
-
warm_mist_levels: list[int
|
|
280
|
+
warm_mist_levels: list[int] = field(default_factory=list)
|
|
281
281
|
|
|
282
282
|
|
|
283
283
|
@dataclass(kw_only=True)
|
|
@@ -750,7 +750,7 @@ humidifier_modules = [
|
|
|
750
750
|
),
|
|
751
751
|
HumidifierMap(
|
|
752
752
|
class_name='VeSyncSuperior6000S',
|
|
753
|
-
dev_types=['LEH-S601S-WUS', 'LEH-S601S-WUSR', 'LEH-S601S-WEUR'],
|
|
753
|
+
dev_types=['LEH-S601S-WUS', 'LEH-S601S-WUSR', 'LEH-S601S-WEUR', 'LEH-S602S-WUS'],
|
|
754
754
|
features=[HumidifierFeatures.DRYING_MODE, HumidifierFeatures.AUTO_STOP],
|
|
755
755
|
mist_modes={
|
|
756
756
|
HumidifierModes.AUTO: 'autoPro',
|
|
@@ -259,7 +259,7 @@ class VeSyncPedestalFan(BypassV2Mixin, VeSyncFanBase):
|
|
|
259
259
|
self.state.horizontal_oscillation_status = DeviceStatus.from_int(
|
|
260
260
|
res.horizontalOscillationState
|
|
261
261
|
)
|
|
262
|
-
self.state.child_lock =
|
|
262
|
+
self.state.child_lock = bool(res.childLock)
|
|
263
263
|
if res.sleepPreference is not None:
|
|
264
264
|
self.state.sleep_change_fan_level = DeviceStatus.from_int(
|
|
265
265
|
res.sleepPreference.initFanSpeedLevel
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyvesync
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.1
|
|
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
|