Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Fix missing vs_mode_auto (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlebourl authored Apr 25, 2023
1 parent f6d69cc commit 6a517d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom_components/vesync/humidifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
DOMAIN,
VS_DISCOVERY,
VS_HUMIDIFIERS,
VS_MODE_AUTO,
VS_MODE_HUMIDITY,
VS_MODE_MANUAL,
VS_MODE_SLEEP,
Expand All @@ -36,8 +37,9 @@


VS_TO_HA_MODE_MAP = {
VS_MODE_MANUAL: MODE_NORMAL,
VS_MODE_AUTO: MODE_AUTO,
VS_MODE_HUMIDITY: MODE_AUTO,
VS_MODE_MANUAL: MODE_NORMAL,
VS_MODE_SLEEP: MODE_SLEEP,
}

Expand Down

0 comments on commit 6a517d7

Please sign in to comment.