Ignore the ignored konnected config entries (#32845)

* ignore the ignored konnected config entries

* key off data instead of source
This commit is contained in:
Kit Klein authored and Bram Kragten committed 2020-03-16 13:49:47 +01:00
1 parent fb1ba86b08
commit 104665d849
2 files changed
+5

No files matched your search

+4
View File
@@ -582,6 +582,10 @@ async def test_state_updates(hass, aiohttp_client, mock_panel):
)
entry.add_to_hass(hass)
# Add empty data field to ensure we process it correctly (possible if entry is ignored)
entry = MockConfigEntry(domain="konnected", title="Konnected Alarm Panel", data={},)
entry.add_to_hass(hass)
assert (
await async_setup_component(
hass,