mirror of
https://github.com/home-assistant/core.git
synced 2026-09-26 01:11:51 -04:00
Add tradfri device info (#16768)
This commit is contained in:
committed by
Pascal Vizeli
parent
a0a54dfd5b
commit
3e59ffb33a
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user