2019-03-24 16:16:50 +01:00
|
|
|
"""Constants for the Axis component."""
|
|
|
|
import logging
|
|
|
|
|
2021-12-13 14:09:49 +01:00
|
|
|
from homeassistant.const import Platform
|
2020-05-15 23:56:09 +02:00
|
|
|
|
2019-05-08 00:52:49 +02:00
|
|
|
LOGGER = logging.getLogger(__package__)
|
2019-03-24 16:16:50 +01:00
|
|
|
|
2019-07-31 12:25:30 -07:00
|
|
|
DOMAIN = "axis"
|
2019-03-24 16:16:50 +01:00
|
|
|
|
2020-05-14 10:49:27 +02:00
|
|
|
ATTR_MANUFACTURER = "Axis Communications AB"
|
|
|
|
|
2019-07-31 12:25:30 -07:00
|
|
|
CONF_EVENTS = "events"
|
2020-06-01 18:45:38 +02:00
|
|
|
CONF_STREAM_PROFILE = "stream_profile"
|
2021-01-23 00:15:58 +01:00
|
|
|
CONF_VIDEO_SOURCE = "video_source"
|
2019-03-24 16:16:50 +01:00
|
|
|
|
2020-05-14 10:49:27 +02:00
|
|
|
DEFAULT_EVENTS = True
|
2020-06-01 18:45:38 +02:00
|
|
|
DEFAULT_STREAM_PROFILE = "No stream profile"
|
2019-03-24 16:16:50 +01:00
|
|
|
DEFAULT_TRIGGER_TIME = 0
|
2021-01-23 00:15:58 +01:00
|
|
|
DEFAULT_VIDEO_SOURCE = "No video source"
|
2020-05-15 23:56:09 +02:00
|
|
|
|
2021-12-13 14:09:49 +01:00
|
|
|
PLATFORMS = [Platform.BINARY_SENSOR, Platform.CAMERA, Platform.LIGHT, Platform.SWITCH]
|