Skip to content

Commit

Permalink
Add additional Vital 100S model to vesync (#113838)
Browse files Browse the repository at this point in the history
  • Loading branch information
pleum authored Apr 9, 2024
1 parent 4cd2351 commit 7bf2baa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion homeassistant/components/vesync/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,6 @@
"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
}
2 changes: 2 additions & 0 deletions homeassistant/components/vesync/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ def set_preset_mode(self, preset_mode: str) -> None:
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()

Expand Down

0 comments on commit 7bf2baa

Please sign in to comment.