2019-03-24 15:16:50 +00:00
|
|
|
"""Constants for the Axis component."""
|
|
|
|
import logging
|
|
|
|
|
2021-12-13 13:09:49 +00:00
|
|
|
from homeassistant.const import Platform
|
2020-05-15 21:56:09 +00:00
|
|
|
|
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"
|
2021-01-22 23:15:58 +00:00
|
|
|
CONF_VIDEO_SOURCE = "video_source"
|
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
|
2021-01-22 23:15:58 +00:00
|
|
|
DEFAULT_VIDEO_SOURCE = "No video source"
|
2020-05-15 21:56:09 +00:00
|
|
|
|
2021-12-13 13:09:49 +00:00
|
|
|
PLATFORMS = [Platform.BINARY_SENSOR, Platform.CAMERA, Platform.LIGHT, Platform.SWITCH]
|