Add cover platform to switchbot (#56414)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
RenierM26 2021-09-21 19:35:47 +02:00 committed by GitHub
parent 34de74d869
commit 26e9590927
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 322 additions and 100 deletions

View file

@ -4,7 +4,9 @@ MANUFACTURER = "switchbot"
# Config Attributes
ATTR_BOT = "bot"
ATTR_CURTAIN = "curtain"
DEFAULT_NAME = "Switchbot"
SUPPORTED_MODEL_TYPES = {"WoHand": ATTR_BOT, "WoCurtain": ATTR_CURTAIN}
# Config Defaults
DEFAULT_RETRY_COUNT = 3