Switch flux_led to use integration discovery (#66574)

This commit is contained in:
J. Nick Koston 2022-02-15 18:25:43 -06:00 committed by GitHub
parent 208671418e
commit 99568b133f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -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()