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 = { DEV_TYPE_TO_HA = {
"LV-PUR131S": "fan", "LV-PUR131S": "fan",
"Core200S": "fan", "Core200S": "fan",
"Core300S": "fan",
"Core400S": "fan", "Core400S": "fan",
} }
@ -30,6 +31,7 @@ FAN_MODE_SLEEP = "sleep"
PRESET_MODES = { PRESET_MODES = {
"LV-PUR131S": [FAN_MODE_AUTO, FAN_MODE_SLEEP], "LV-PUR131S": [FAN_MODE_AUTO, FAN_MODE_SLEEP],
"Core200S": [FAN_MODE_SLEEP], "Core200S": [FAN_MODE_SLEEP],
"Core300S": [FAN_MODE_AUTO, FAN_MODE_SLEEP],
"Core400S": [FAN_MODE_AUTO, FAN_MODE_SLEEP], "Core400S": [FAN_MODE_AUTO, FAN_MODE_SLEEP],
} }
SPEED_RANGE = (1, 3) # off is not included SPEED_RANGE = (1, 3) # off is not included

View File

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

View File

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

View File

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