Update PySwitchbot to improve connection reliability (#75692)

This commit is contained in:
J. Nick Koston
2022-07-24 16:38:07 -05:00
committed by GitHub
parent c9ae409d9a
commit d890598da7
10 changed files with 16 additions and 80 deletions

View File

@@ -15,15 +15,11 @@ SUPPORTED_MODEL_TYPES = {
# Config Defaults
DEFAULT_RETRY_COUNT = 3
DEFAULT_RETRY_TIMEOUT = 5
# Config Options
CONF_RETRY_COUNT = "retry_count"
CONF_SCAN_TIMEOUT = "scan_timeout"
# Deprecated config Entry Options to be removed in 2023.4
CONF_TIME_BETWEEN_UPDATE_COMMAND = "update_time"
CONF_RETRY_TIMEOUT = "retry_timeout"
# Data
COMMON_OPTIONS = "common_options"
CONF_SCAN_TIMEOUT = "scan_timeout"