From 725b316ec6aaac8b8a690a5db802d67aa600c190 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 20 Aug 2021 10:02:03 -0500 Subject: [PATCH] Add HomeKit and DHCP to DISCOVERY_SOURCES in config_entries (#54923) --- homeassistant/config_entries.py | 2 ++ tests/test_config_entries.py | 1 + 2 files changed, 3 insertions(+) diff --git a/homeassistant/config_entries.py b/homeassistant/config_entries.py index 07cb9eae7f9..b711802386a 100644 --- a/homeassistant/config_entries.py +++ b/homeassistant/config_entries.py @@ -104,6 +104,8 @@ DISCOVERY_NOTIFICATION_ID = "config_entry_discovery" DISCOVERY_SOURCES = ( SOURCE_SSDP, SOURCE_ZEROCONF, + SOURCE_HOMEKIT, + SOURCE_DHCP, SOURCE_DISCOVERY, SOURCE_IMPORT, SOURCE_UNIGNORE, diff --git a/tests/test_config_entries.py b/tests/test_config_entries.py index 7bcc83048a4..391366683d5 100644 --- a/tests/test_config_entries.py +++ b/tests/test_config_entries.py @@ -2360,6 +2360,7 @@ async def test_async_setup_update_entry(hass): config_entries.SOURCE_DISCOVERY, config_entries.SOURCE_SSDP, config_entries.SOURCE_HOMEKIT, + config_entries.SOURCE_DHCP, config_entries.SOURCE_ZEROCONF, config_entries.SOURCE_HASSIO, ),