Add additional Vital 100S model to vesync (#113838)

This commit is contained in:
pleum 2024-04-09 16:18:37 +07:00 committed by GitHub
parent 4cd2351bcc
commit 7bf2baa236
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -55,5 +55,6 @@ SKU_TO_BASE_DEVICE = {
"LAP-V201S-WUS": "Vital200S", # Alt ID Model Vital200S
"LAP-V201-AUSR": "Vital200S", # Alt ID Model Vital200S
"Vital100S": "Vital100S",
"LAP-V102S-WUS": "Vital100S", # Alt ID Model Vital100S,
"LAP-V102S-WUS": "Vital100S", # Alt ID Model Vital100S
"LAP-V102S-AASR": "Vital100S", # Alt ID Model Vital100S
}

View File

@ -184,6 +184,8 @@ class VeSyncFanHA(VeSyncDevice, FanEntity):
self.smartfan.auto_mode()
elif preset_mode == FAN_MODE_SLEEP:
self.smartfan.sleep_mode()
elif preset_mode == FAN_MODE_PET:
self.smartfan.pet_mode()
self.schedule_update_ha_state()