core/homeassistant/components/rainmachine/const.py

19 lines
412 B
Python
Raw Normal View History

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