Generate bond config entry ID from the hub metadata (#38354)

* Generate bond config entry ID from the hub metadata

* Generate bond config entry ID from the hub metadata (PR feedback)
This commit is contained in:
Eugene Prystupa authored and GitHub committed 2020-07-30 18:00:58 -05:00
1 parent ecf22198c5
commit 0493f1c206
4 files changed
+23 -10

No files matched your search

+1
View File
@@ -64,6 +64,7 @@ async def test_async_setup_entry_sets_up_hub_and_supported_domains(hass: HomeAss
assert config_entry.entry_id in hass.data[DOMAIN]
assert config_entry.state == ENTRY_STATE_LOADED
assert config_entry.unique_id == "test-bond-id"
# verify hub device is registered correctly
device_registry = await dr.async_get_registry(hass)