Switch flux_led to use integration discovery (#66574)
This commit is contained in:
parent
208671418e
commit
99568b133f
3 changed files with 7 additions and 7 deletions
|
@ -81,10 +81,10 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||
)
|
||||
return await self._async_handle_discovery()
|
||||
|
||||
async def async_step_discovery(
|
||||
async def async_step_integration_discovery(
|
||||
self, discovery_info: DiscoveryInfoType
|
||||
) -> FlowResult:
|
||||
"""Handle discovery."""
|
||||
"""Handle integration discovery."""
|
||||
self._discovered_device = cast(FluxLEDDiscovery, discovery_info)
|
||||
return await self._async_handle_discovery()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue