Default homekit to listening on all interfaces to match Home Assistant behavior (#91520)
This commit is contained in:
parent
01046b88e5
commit
b875706bdd
2 changed files with 13 additions and 13 deletions
|
@ -302,10 +302,10 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||
_LOGGER.debug("Begin setup HomeKit for %s", name)
|
||||
|
||||
# ip_address and advertise_ip are yaml only
|
||||
ip_address = conf.get(
|
||||
CONF_IP_ADDRESS, await network.async_get_source_ip(hass, MDNS_TARGET_IP)
|
||||
ip_address = conf.get(CONF_IP_ADDRESS, [None])
|
||||
advertise_ip = conf.get(
|
||||
CONF_ADVERTISE_IP, await network.async_get_source_ip(hass, MDNS_TARGET_IP)
|
||||
)
|
||||
advertise_ip = conf.get(CONF_ADVERTISE_IP)
|
||||
# exclude_accessory_mode is only used for config flow
|
||||
# to indicate that the config entry was setup after
|
||||
# we started creating config entries for entities that
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue