Tweak handling of entities with has_entity_name
set (#74948)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
parent
da027fa390
commit
2e228b2608
4 changed files with 33 additions and 22 deletions
|
@ -544,6 +544,7 @@ class EntityPlatform:
|
|||
entity_category=entity.entity_category,
|
||||
hidden_by=hidden_by,
|
||||
known_object_ids=self.entities.keys(),
|
||||
has_entity_name=entity.has_entity_name,
|
||||
original_device_class=entity.device_class,
|
||||
original_icon=entity.icon,
|
||||
original_name=entity.name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue