1 """Config flow for Hisense AEH-W4A1 integration."""
3 from pyaehw4a1.aehw4a1
import AehW4a1
8 from .const
import DOMAIN
12 """Return if there are devices that can be discovered."""
13 aehw4a1_ip_addresses = await AehW4a1().discovery()
14 return len(aehw4a1_ip_addresses) > 0
17 config_entry_flow.register_discovery_flow(
18 DOMAIN,
"Hisense AEH-W4A1", _async_has_devices
bool _async_has_devices(HomeAssistant hass)