Implement Switchbot Blind Tilt (#86591)

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: BelowAverageDeveloper <90269575+BelowAverageDev@users.noreply.github.com>
This commit is contained in:
Jesse Hills
2023-02-17 16:06:02 +13:00
committed by GitHub
parent 6cab27f378
commit a26d41f260
6 changed files with 94 additions and 4 deletions

View File

@@ -25,6 +25,7 @@ class SupportedModels(StrEnum):
MOTION = "motion"
HUMIDIFIER = "humidifier"
LOCK = "lock"
BLIND_TILT = "blind_tilt"
CONNECTABLE_SUPPORTED_MODEL_TYPES = {
@@ -36,6 +37,7 @@ CONNECTABLE_SUPPORTED_MODEL_TYPES = {
SwitchbotModel.CEILING_LIGHT: SupportedModels.CEILING_LIGHT,
SwitchbotModel.HUMIDIFIER: SupportedModels.HUMIDIFIER,
SwitchbotModel.LOCK: SupportedModels.LOCK,
SwitchbotModel.BLIND_TILT: SupportedModels.BLIND_TILT,
}
NON_CONNECTABLE_SUPPORTED_MODEL_TYPES = {