Add config entry for SimpliSafe (#17148)
* Initial move into component * Base functionality in place * Starting tests in place * All config entry tests in place * Made default scan interval more obvious and removed extra logging * Inherit default scan interval from alarm_control_panel * Updated coveragerc and CODEOWNERS * Member-requested changes * Hound * Updated requirements * Updated tests * Member-requested changes * Owner-requested changes * Constant cleanup * Fixed config flow test * Owner-requested updates * Updated requirements * Using async_will_remove_from_hass * Corrected scan interval logic * Fixed tests * Owner-requested changes * Additional logging * Owner-requested changes
This commit is contained in:
parent
1f863830e1
commit
401e22fc0c
14 changed files with 461 additions and 86 deletions
10
homeassistant/components/simplisafe/const.py
Normal file
10
homeassistant/components/simplisafe/const.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
"""Define constants for the SimpliSafe component."""
|
||||
from datetime import timedelta
|
||||
|
||||
DOMAIN = 'simplisafe'
|
||||
|
||||
DATA_CLIENT = 'client'
|
||||
|
||||
DEFAULT_SCAN_INTERVAL = timedelta(seconds=30)
|
||||
|
||||
TOPIC_UPDATE = 'update_{0}'
|
Loading…
Add table
Add a link
Reference in a new issue