2021-07-19 13:28:40 +00:00
|
|
|
"""Config flow for Switcher integration."""
|
2024-03-08 13:33:51 +00:00
|
|
|
|
2021-07-19 13:28:40 +00:00
|
|
|
from __future__ import annotations
|
|
|
|
|
2024-05-24 07:15:17 +00:00
|
|
|
from homeassistant.helpers import config_entry_flow
|
2021-07-19 13:28:40 +00:00
|
|
|
|
2024-05-24 07:15:17 +00:00
|
|
|
from .const import DOMAIN
|
|
|
|
from .utils import async_has_devices
|
2021-07-19 13:28:40 +00:00
|
|
|
|
2024-05-24 07:15:17 +00:00
|
|
|
config_entry_flow.register_discovery_flow(DOMAIN, "Switcher", async_has_devices)
|