Ensure lutron_caseta is only discovered once (#45792)

This commit is contained in:
J. Nick Koston
2021-02-01 22:30:59 +00:00
committed by Paulus Schoutsen
parent 078579de69
commit 53db89e13d
@@ -84,7 +84,9 @@ class LutronCasetaFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
}
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):
"""Handle pairing with the hub."""