Add HomeKit and DHCP to DISCOVERY_SOURCES in config_entries (#54923)

This commit is contained in:
J. Nick Koston 2021-08-20 10:02:03 -05:00 committed by GitHub
parent 2ddeb0c013
commit 725b316ec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -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,

View File

@ -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,
),