mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
Add support for Happy Eyeballs to homekit_controller (#105454)
This commit is contained in:
parent
64c3cfca17
commit
ec1cde77f6
@ -257,6 +257,11 @@ class HomekitControllerFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
|||||||
)
|
)
|
||||||
updated_ip_port = {
|
updated_ip_port = {
|
||||||
"AccessoryIP": discovery_info.host,
|
"AccessoryIP": discovery_info.host,
|
||||||
|
"AccessoryIPs": [
|
||||||
|
str(ip_addr)
|
||||||
|
for ip_addr in discovery_info.ip_addresses
|
||||||
|
if not ip_addr.is_link_local and not ip_addr.is_unspecified
|
||||||
|
],
|
||||||
"AccessoryPort": discovery_info.port,
|
"AccessoryPort": discovery_info.port,
|
||||||
}
|
}
|
||||||
# If the device is already paired and known to us we should monitor c#
|
# If the device is already paired and known to us we should monitor c#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user