1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Add name and slug to supervisor discovery info (#80094)

This commit is contained in:
Martin Hjelmare
2022-10-11 16:56:45 +02:00
committed by GitHub
parent 918243b7c8
commit 62c4cd3c26
11 changed files with 160 additions and 50 deletions

View File

@@ -2507,7 +2507,10 @@ async def test_async_setup_update_entry(hass):
(config_entries.SOURCE_HOMEKIT, BaseServiceInfo()),
(config_entries.SOURCE_DHCP, BaseServiceInfo()),
(config_entries.SOURCE_ZEROCONF, BaseServiceInfo()),
(config_entries.SOURCE_HASSIO, HassioServiceInfo(config={})),
(
config_entries.SOURCE_HASSIO,
HassioServiceInfo(config={}, name="Test", slug="test"),
),
),
)
async def test_flow_with_default_discovery(hass, manager, discovery_source):