mirror of
https://github.com/home-assistant/core.git
synced 2025-04-26 02:07:54 +00:00
Ensure lutron_caseta is only discovered once (#45792)
This commit is contained in:
parent
868e530cbb
commit
8be357ff4f
@ -79,7 +79,9 @@ class LutronCasetaFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
|||||||
}
|
}
|
||||||
return await self.async_step_link()
|
return await self.async_step_link()
|
||||||
|
|
||||||
async_step_homekit = async_step_zeroconf
|
async def async_step_homekit(self, discovery_info):
|
||||||
|
"""Handle a flow initialized by homekit discovery."""
|
||||||
|
return await self.async_step_zeroconf(discovery_info)
|
||||||
|
|
||||||
async def async_step_link(self, user_input=None):
|
async def async_step_link(self, user_input=None):
|
||||||
"""Handle pairing with the hub."""
|
"""Handle pairing with the hub."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user