mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Ensure homekit_controller traps exceptions from find_ip_by_device_id (#40030)
This commit is contained in:
parent
a971b92899
commit
30b8565548
@ -304,9 +304,8 @@ class HomekitControllerFlowHandler(config_entries.ConfigFlow):
|
||||
# Its possible that the first try may have been busy so
|
||||
# we always check to see if self.finish_paring has been
|
||||
# set.
|
||||
discovery = await self.controller.find_ip_by_device_id(self.hkid)
|
||||
|
||||
try:
|
||||
discovery = await self.controller.find_ip_by_device_id(self.hkid)
|
||||
self.finish_pairing = await discovery.start_pairing(self.hkid)
|
||||
|
||||
except aiohomekit.BusyError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user