Add support for Happy Eyeballs to homekit_controller (#105454)
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…
Reference in New Issue