2019-03-24 15:16:50 +00:00
|
|
|
"""Constants for the Axis component."""
|
|
|
|
import logging
|
|
|
|
|
2020-05-15 21:56:09 +00:00
|
|
|
from homeassistant.components.binary_sensor import DOMAIN as BINARY_SENSOR_DOMAIN
|
|
|
|
from homeassistant.components.camera import DOMAIN as CAMERA_DOMAIN
|
2020-06-18 21:27:08 +00:00
|
|
|
from homeassistant.components.light import DOMAIN as LIGHT_DOMAIN
|
2020-05-15 21:56:09 +00:00
|
|
|
from homeassistant.components.switch import DOMAIN as SWITCH_DOMAIN
|
|
|
|
|
2019-05-07 22:52:49 +00:00
|
|
|
LOGGER = logging.getLogger(__package__)
|
2019-03-24 15:16:50 +00:00
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
DOMAIN = "axis"
|
2019-03-24 15:16:50 +00:00
|
|
|
|
2020-05-14 08:49:27 +00:00
|
|
|
ATTR_MANUFACTURER = "Axis Communications AB"
|
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
CONF_EVENTS = "events"
|
|
|
|
CONF_MODEL = "model"
|
2020-06-01 16:45:38 +00:00
|
|
|
CONF_STREAM_PROFILE = "stream_profile"
|
2019-03-24 15:16:50 +00:00
|
|
|
|
2020-05-14 08:49:27 +00:00
|
|
|
DEFAULT_EVENTS = True
|
2020-06-01 16:45:38 +00:00
|
|
|
DEFAULT_STREAM_PROFILE = "No stream profile"
|
2019-03-24 15:16:50 +00:00
|
|
|
DEFAULT_TRIGGER_TIME = 0
|
2020-05-15 21:56:09 +00:00
|
|
|
|
2020-06-18 21:27:08 +00:00
|
|
|
PLATFORMS = [BINARY_SENSOR_DOMAIN, CAMERA_DOMAIN, LIGHT_DOMAIN, SWITCH_DOMAIN]
|