mirror of
https://github.com/home-assistant/core.git
synced 2026-09-26 09:23:17 -04:00
Ensure lutron_caseta is only discovered once (#45792)
This commit is contained in:
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."""
|
||||
|
||||
Reference in New Issue
Block a user