Remove unused SmartThings capability subscriptions (#38128)

This commit is contained in:
Andrew Sayre
2020-07-31 17:40:23 +02:00
committed by GitHub
parent 49cbc9735c
commit bb69aba051
3 changed files with 51 additions and 3 deletions
@@ -24,6 +24,8 @@ SIGNAL_SMARTAPP_PREFIX = "smartthings_smartap_"
SETTINGS_INSTANCE_ID = "hassInstanceId"
SUBSCRIPTION_WARNING_LIMIT = 40
STORAGE_KEY = DOMAIN
STORAGE_VERSION = 1
@@ -41,6 +43,12 @@ SUPPORTED_PLATFORMS = [
"scene",
]
IGNORED_CAPABILITIES = [
"execute",
"healthCheck",
"ocf",
]
TOKEN_REFRESH_INTERVAL = timedelta(days=14)
VAL_UID = "^(?:([0-9a-fA-F]{32})|([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}))$"