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-03-21 05:56:46 +00:00
|
|
|
LOGGER = logging.getLogger('.')
|
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-04-12 23:44:04 +00:00
|
|
|
OPERATION_RESTRICTIONS_CURRENT = 'restrictions.current'
|
|
|
|
OPERATION_RESTRICTIONS_UNIVERSAL = 'restrictions.universal'
|
|
|
|
|
2018-11-14 20:23:49 +00:00
|
|
|
TOPIC_UPDATE = 'update_{0}'
|