Add tradfri device info (#16768)

This commit is contained in:
Paulus Schoutsen authored and Pascal Vizeli committed 2018-09-21 14:47:52 +02:00
1 parent a0a54dfd5b
commit 3e59ffb33a
4 files changed
+39 -5

No files matched your search

+1 -1
View File
@@ -322,7 +322,7 @@ def mock_component(hass, component):
def mock_registry(hass, mock_entries=None):
"""Mock the Entity Registry."""
registry = entity_registry.EntityRegistry(hass)
registry.entities = mock_entries or {}
registry.entities = mock_entries or OrderedDict()
async def _get_reg():
return registry