17 lines
458 B
Python
17 lines
458 B
Python
"""Constants for the Azure Storage integration."""
|
|
|
|
from collections.abc import Callable
|
|
from typing import Final
|
|
|
|
from homeassistant.util.hass_dict import HassKey
|
|
|
|
DOMAIN: Final = "azure_storage"
|
|
|
|
CONF_STORAGE_ACCOUNT_KEY: Final = "storage_account_key"
|
|
CONF_ACCOUNT_NAME: Final = "account_name"
|
|
CONF_CONTAINER_NAME: Final = "container_name"
|
|
|
|
DATA_BACKUP_AGENT_LISTENERS: HassKey[list[Callable[[], None]]] = HassKey(
|
|
f"{DOMAIN}.backup_agent_listeners"
|
|
)
|