2018-11-14 20:23:49 +00:00
|
|
|
"""Define constants for the SimpliSafe component."""
|
|
|
|
from datetime import timedelta
|
2019-03-21 05:56:46 +00:00
|
|
|
import logging
|
2018-11-14 20:23:49 +00:00
|
|
|
|
2019-05-07 22:52:49 +00:00
|
|
|
LOGGER = logging.getLogger(__package__)
|
2018-11-14 20:23:49 +00:00
|
|
|
|
|
|
|
DOMAIN = 'rainmachine'
|
|
|
|
|
|
|
|
DATA_CLIENT = 'client'
|
|
|
|
|
|
|
|
DEFAULT_PORT = 8080
|
|
|
|
DEFAULT_SCAN_INTERVAL = timedelta(seconds=60)
|
2018-12-05 17:31:32 +00:00
|
|
|
DEFAULT_SSL = True
|
2018-11-14 20:23:49 +00:00
|
|
|
|
2019-05-02 07:45:51 +00:00
|
|
|
PROVISION_SETTINGS = 'provision.settings'
|
|
|
|
RESTRICTIONS_CURRENT = 'restrictions.current'
|
|
|
|
RESTRICTIONS_UNIVERSAL = 'restrictions.universal'
|
2019-04-12 23:44:04 +00:00
|
|
|
|
2018-11-14 20:23:49 +00:00
|
|
|
TOPIC_UPDATE = 'update_{0}'
|