Add support for Levoit Core 300S air purifier to VeSync integration (#62488)

This commit is contained in:
RefineryX 2022-01-07 11:55:39 +00:00 committed by GitHub
parent 4c1f65b7a4
commit b3c2ebd9ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View file

@ -21,6 +21,7 @@ _LOGGER = logging.getLogger(__name__)
DEV_TYPE_TO_HA = {
"LV-PUR131S": "fan",
"Core200S": "fan",
"Core300S": "fan",
"Core400S": "fan",
}
@ -30,6 +31,7 @@ FAN_MODE_SLEEP = "sleep"
PRESET_MODES = {
"LV-PUR131S": [FAN_MODE_AUTO, FAN_MODE_SLEEP],
"Core200S": [FAN_MODE_SLEEP],
"Core300S": [FAN_MODE_AUTO, FAN_MODE_SLEEP],
"Core400S": [FAN_MODE_AUTO, FAN_MODE_SLEEP],
}
SPEED_RANGE = (1, 3) # off is not included

View file

@ -3,7 +3,7 @@
"name": "VeSync",
"documentation": "https://www.home-assistant.io/integrations/vesync",
"codeowners": ["@markperdue", "@webdjoe", "@thegardenmonkey"],
"requirements": ["pyvesync==1.4.1"],
"requirements": ["pyvesync==1.4.2"],
"config_flow": true,
"iot_class": "cloud_polling"
}

View file

@ -2021,7 +2021,7 @@ pyvera==0.3.13
pyversasense==0.0.6
# homeassistant.components.vesync
pyvesync==1.4.1
pyvesync==1.4.2
# homeassistant.components.vizio
pyvizio==0.1.57

View file

@ -1237,7 +1237,7 @@ pyuptimerobot==21.11.0
pyvera==0.3.13
# homeassistant.components.vesync
pyvesync==1.4.1
pyvesync==1.4.2
# homeassistant.components.vizio
pyvizio==0.1.57