Add vesync 600S support (#69311)

This commit is contained in:
Leonardo Merza 2022-04-05 07:56:26 -04:00 committed by GitHub
parent ad98bedd4a
commit c8b4696ba2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,7 @@ DEV_TYPE_TO_HA = {
"Core200S": "fan", "Core200S": "fan",
"Core300S": "fan", "Core300S": "fan",
"Core400S": "fan", "Core400S": "fan",
"Core600S": "fan",
} }
FAN_MODE_AUTO = "auto" FAN_MODE_AUTO = "auto"
@ -33,12 +34,14 @@ PRESET_MODES = {
"Core200S": [FAN_MODE_SLEEP], "Core200S": [FAN_MODE_SLEEP],
"Core300S": [FAN_MODE_AUTO, FAN_MODE_SLEEP], "Core300S": [FAN_MODE_AUTO, FAN_MODE_SLEEP],
"Core400S": [FAN_MODE_AUTO, FAN_MODE_SLEEP], "Core400S": [FAN_MODE_AUTO, FAN_MODE_SLEEP],
"Core600S": [FAN_MODE_AUTO, FAN_MODE_SLEEP],
} }
SPEED_RANGE = { # off is not included SPEED_RANGE = { # off is not included
"LV-PUR131S": (1, 3), "LV-PUR131S": (1, 3),
"Core200S": (1, 3), "Core200S": (1, 3),
"Core300S": (1, 3), "Core300S": (1, 3),
"Core400S": (1, 4), "Core400S": (1, 4),
"Core600S": (1, 4),
} }