26 lines
777 B
Python
26 lines
777 B
Python
"""Constants for the Axis component."""
|
|
import logging
|
|
|
|
from homeassistant.components.binary_sensor import DOMAIN as BINARY_SENSOR_DOMAIN
|
|
from homeassistant.components.camera import DOMAIN as CAMERA_DOMAIN
|
|
from homeassistant.components.light import DOMAIN as LIGHT_DOMAIN
|
|
from homeassistant.components.switch import DOMAIN as SWITCH_DOMAIN
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
DOMAIN = "axis"
|
|
|
|
ATTR_MANUFACTURER = "Axis Communications AB"
|
|
|
|
CONF_EVENTS = "events"
|
|
CONF_MODEL = "model"
|
|
CONF_STREAM_PROFILE = "stream_profile"
|
|
CONF_VIDEO_SOURCE = "video_source"
|
|
|
|
DEFAULT_EVENTS = True
|
|
DEFAULT_STREAM_PROFILE = "No stream profile"
|
|
DEFAULT_TRIGGER_TIME = 0
|
|
DEFAULT_VIDEO_SOURCE = "No video source"
|
|
|
|
PLATFORMS = [BINARY_SENSOR_DOMAIN, CAMERA_DOMAIN, LIGHT_DOMAIN, SWITCH_DOMAIN]
|