hass-core/homeassistant/components/simplisafe/const.py
Aaron Bach 401e22fc0c 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
2018-10-12 19:07:47 +02:00

10 lines
207 B
Python

"""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}'