mirror of
https://github.com/micahqcade/custom_vesync.git
synced 2025-02-11 17:49:00 +01:00
Cherry pick from webdjoe/pyvesync (#8)
Include fix https://github.com/webdjoe/pyvesync/blob/humid-bug-fix/src/pyvesync/vesyncfan.py
This commit is contained in:
parent
684cf2c201
commit
dde8644627
@ -4,21 +4,21 @@ import json
|
|||||||
import logging
|
import logging
|
||||||
from typing import Dict, Tuple, Union
|
from typing import Dict, Tuple, Union
|
||||||
|
|
||||||
from .helpers import Helpers
|
from pyvesync.helpers import Helpers
|
||||||
from .vesyncbasedevice import VeSyncBaseDevice
|
from pyvesync.vesyncbasedevice import VeSyncBaseDevice
|
||||||
|
|
||||||
humid_features: dict = {
|
humid_features: dict = {
|
||||||
"Classic300S": {
|
"Classic300S": {
|
||||||
"module": "VeSyncHumid200300S",
|
"module": "VeSyncHumid200300S",
|
||||||
"models": ["Classic300S", "LUH-A601S-WUSB"],
|
"models": ["Classic300S", "LUH-A601S-WUSB"],
|
||||||
"features": ["night_light"],
|
"features": ["nightlight"],
|
||||||
"mist_modes": ["auto", "sleep", "manual"],
|
"mist_modes": ["auto", "sleep", "manual"],
|
||||||
"mist_levels": list(range(1, 10)),
|
"mist_levels": list(range(1, 10)),
|
||||||
},
|
},
|
||||||
"Classic200S": {
|
"Classic200S": {
|
||||||
"module": "VeSyncHumid200S",
|
"module": "VeSyncHumid200S",
|
||||||
"models": ["Classic200S"],
|
"models": ["Classic200S"],
|
||||||
"features": ["nightlight"],
|
"features": [],
|
||||||
"mist_modes": ["auto", "manual"],
|
"mist_modes": ["auto", "manual"],
|
||||||
"mist_levels": list(range(1, 10)),
|
"mist_levels": list(range(1, 10)),
|
||||||
},
|
},
|
||||||
@ -26,7 +26,7 @@ humid_features: dict = {
|
|||||||
"module": "VeSyncHumid200300S",
|
"module": "VeSyncHumid200300S",
|
||||||
"models": ["Dual200S", "LUH-D301S-WUSR", "LUH-D301S-WJP", "LUH-D301S-WEU"],
|
"models": ["Dual200S", "LUH-D301S-WUSR", "LUH-D301S-WJP", "LUH-D301S-WEU"],
|
||||||
"features": [],
|
"features": [],
|
||||||
"mist_modes": ["auto", "sleep", "manual"],
|
"mist_modes": ["auto", "manual"],
|
||||||
"mist_levels": list(range(1, 3)),
|
"mist_levels": list(range(1, 3)),
|
||||||
},
|
},
|
||||||
"LV600S": {
|
"LV600S": {
|
||||||
@ -38,7 +38,7 @@ humid_features: dict = {
|
|||||||
"LUH-A602S-WEU",
|
"LUH-A602S-WEU",
|
||||||
"LUH-A602S-WJP",
|
"LUH-A602S-WJP",
|
||||||
],
|
],
|
||||||
"features": ["warm_mist", "night_light"],
|
"features": ["warm_mist", "nightlight"],
|
||||||
"mist_modes": ["humidity", "sleep", "manual"],
|
"mist_modes": ["humidity", "sleep", "manual"],
|
||||||
"mist_levels": list(range(1, 10)),
|
"mist_levels": list(range(1, 10)),
|
||||||
"warm_mist_levels": [0, 1, 2, 3],
|
"warm_mist_levels": [0, 1, 2, 3],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user