Add MVP humidifier support to switchbot (#83696)

* Add MVP humidifier support to switchbot

changelog: https://github.com/Danielhiversen/pySwitchbot/compare/0.22.0...0.23.0

* Update homeassistant/components/switchbot/config_flow.py

* bump

* coveragerc

* Revert "coveragerc"

This reverts commit eb642f6543e5f37511d65570c359670e1ee7be1f.

* fix dirty branch
This commit is contained in:
J. Nick Koston
2022-12-10 08:56:57 -10:00
committed by GitHub
parent 5c79dae4c0
commit 642cefb035
10 changed files with 112 additions and 27 deletions

View File

@@ -23,6 +23,7 @@ class SupportedModels(StrEnum):
CONTACT = "contact"
PLUG = "plug"
MOTION = "motion"
HUMIDIFIER = "humidifier"
CONNECTABLE_SUPPORTED_MODEL_TYPES = {
@@ -32,6 +33,7 @@ CONNECTABLE_SUPPORTED_MODEL_TYPES = {
SwitchbotModel.COLOR_BULB: SupportedModels.BULB,
SwitchbotModel.LIGHT_STRIP: SupportedModels.LIGHT_STRIP,
SwitchbotModel.CEILING_LIGHT: SupportedModels.CEILING_LIGHT,
SwitchbotModel.HUMIDIFIER: SupportedModels.HUMIDIFIER,
}
NON_CONNECTABLE_SUPPORTED_MODEL_TYPES = {