Add Vital 100S & Vital 200S to VeSync sensors (#111017)

This commit is contained in:
Jason Kossis 2024-02-21 14:39:06 -05:00 committed by GitHub
parent 0eef449526
commit a5ab2dfb62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,9 +72,24 @@ def ha_dev_type(device):
return DEV_TYPE_TO_HA.get(device.device_type)
FILTER_LIFE_SUPPORTED = ["LV-PUR131S", "Core200S", "Core300S", "Core400S", "Core600S"]
AIR_QUALITY_SUPPORTED = ["LV-PUR131S", "Core300S", "Core400S", "Core600S"]
PM25_SUPPORTED = ["Core300S", "Core400S", "Core600S"]
FILTER_LIFE_SUPPORTED = [
"LV-PUR131S",
"Core200S",
"Core300S",
"Core400S",
"Core600S",
"Vital100S",
"Vital200S",
]
AIR_QUALITY_SUPPORTED = [
"LV-PUR131S",
"Core300S",
"Core400S",
"Core600S",
"Vital100S",
"Vital200S",
]
PM25_SUPPORTED = ["Core300S", "Core400S", "Core600S", "Vital100S", "Vital200S"]
SENSORS: tuple[VeSyncSensorEntityDescription, ...] = (
VeSyncSensorEntityDescription(