30 lines
655 B
Python
30 lines
655 B
Python
"""Constants for Sonarr."""
|
|
DOMAIN = "sonarr"
|
|
|
|
# Attributes
|
|
ATTR_IDENTIFIERS = "identifiers"
|
|
ATTR_MANUFACTURER = "manufacturer"
|
|
ATTR_SOFTWARE_VERSION = "sw_version"
|
|
|
|
# Config Keys
|
|
CONF_BASE_PATH = "base_path"
|
|
CONF_DAYS = "days"
|
|
CONF_INCLUDED = "include_paths"
|
|
CONF_UNIT = "unit"
|
|
CONF_UPCOMING_DAYS = "upcoming_days"
|
|
CONF_URLBASE = "urlbase"
|
|
CONF_WANTED_MAX_ITEMS = "wanted_max_items"
|
|
|
|
# Data
|
|
DATA_SONARR = "sonarr"
|
|
DATA_UNDO_UPDATE_LISTENER = "undo_update_listener"
|
|
|
|
# Defaults
|
|
DEFAULT_BASE_PATH = "/api"
|
|
DEFAULT_HOST = "localhost"
|
|
DEFAULT_PORT = 8989
|
|
DEFAULT_SSL = False
|
|
DEFAULT_UPCOMING_DAYS = 1
|
|
DEFAULT_VERIFY_SSL = False
|
|
DEFAULT_WANTED_MAX_ITEMS = 50
|