mirror of
https://github.com/home-assistant/core.git
synced 2026-05-31 20:54:23 +01:00
01784efa89
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
20 lines
526 B
Python
20 lines
526 B
Python
"""Config flow for Home Assistant Backup integration."""
|
|
|
|
from typing import Any
|
|
|
|
from homeassistant.config_entries import ConfigFlow, ConfigFlowResult
|
|
|
|
from .const import DOMAIN
|
|
|
|
|
|
class BackupConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
"""Handle a config flow for Home Assistant Backup."""
|
|
|
|
VERSION = 1
|
|
|
|
async def async_step_system(
|
|
self, user_input: dict[str, Any] | None = None
|
|
) -> ConfigFlowResult:
|
|
"""Handle the initial step."""
|
|
return self.async_create_entry(title="Backup", data={})
|