mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
24 lines
558 B
Python
24 lines
558 B
Python
"""Constants for the Backblaze integration."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from collections.abc import Callable
|
|
import logging
|
|
from typing import Final
|
|
|
|
from homeassistant.util.hass_dict import HassKey
|
|
|
|
DOMAIN: Final = "backblaze"
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
SEPARATOR: Final = "#!#!#"
|
|
|
|
CONF_APPLICATION_KEY_ID: Final = "application_key_id"
|
|
CONF_APPLICATION_KEY: Final = "application_key"
|
|
CONF_BUCKET: Final = "bucket"
|
|
|
|
DATA_BACKUP_AGENT_LISTENERS: HassKey[list[Callable[[], None]]] = HassKey(
|
|
f"{DOMAIN}.backup_agent_listeners"
|
|
)
|