19 lines
412 B
Python
19 lines
412 B
Python
"""Define constants for the SimpliSafe component."""
|
|
from datetime import timedelta
|
|
import logging
|
|
|
|
LOGGER = logging.getLogger('.')
|
|
|
|
DOMAIN = 'rainmachine'
|
|
|
|
DATA_CLIENT = 'client'
|
|
|
|
DEFAULT_PORT = 8080
|
|
DEFAULT_SCAN_INTERVAL = timedelta(seconds=60)
|
|
DEFAULT_SSL = True
|
|
|
|
OPERATION_RESTRICTIONS_CURRENT = 'restrictions.current'
|
|
OPERATION_RESTRICTIONS_UNIVERSAL = 'restrictions.universal'
|
|
|
|
TOPIC_UPDATE = 'update_{0}'
|