Add icon to entity registry list for display (#108313)
This commit is contained in:
parent
2e56d7d048
commit
cdf3c07488
2 changed files with 4 additions and 0 deletions
|
@ -160,6 +160,7 @@ async def test_list_entities_for_display(
|
|||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_id="test_domain.test",
|
||||
has_entity_name=True,
|
||||
icon="mdi:icon",
|
||||
original_name="Hello World",
|
||||
platform="test_platform",
|
||||
translation_key="translations_galore",
|
||||
|
@ -170,6 +171,7 @@ async def test_list_entities_for_display(
|
|||
device_id="device123",
|
||||
entity_id="test_domain.nameless",
|
||||
has_entity_name=True,
|
||||
icon=None,
|
||||
original_name=None,
|
||||
platform="test_platform",
|
||||
unique_id="2345",
|
||||
|
@ -231,6 +233,7 @@ async def test_list_entities_for_display(
|
|||
"ec": 1,
|
||||
"ei": "test_domain.test",
|
||||
"en": "Hello World",
|
||||
"ic": "mdi:icon",
|
||||
"pl": "test_platform",
|
||||
"tk": "translations_galore",
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue