mirror of
https://github.com/home-assistant/core.git
synced 2026-02-22 10:55:50 +00:00
* Adjust backup agent platform * Adjust according to discussion * Clean up the local agent dict too * Add test * Update kitchen_sink * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Adjust tests * Clean up * Fix kitchen sink reload --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
13 lines
314 B
Python
13 lines
314 B
Python
"""Constants for the Kitchen Sink integration."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from collections.abc import Callable
|
|
|
|
from homeassistant.util.hass_dict import HassKey
|
|
|
|
DOMAIN = "kitchen_sink"
|
|
DATA_BACKUP_AGENT_LISTENERS: HassKey[list[Callable[[], None]]] = HassKey(
|
|
f"{DOMAIN}.backup_agent_listeners"
|
|
)
|