Allow setting an entity's name by its device class (#90767)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
337b59ba23
commit
67c1051305
21 changed files with 141 additions and 35 deletions
|
@ -172,6 +172,8 @@ class _TemplateAttribute:
|
|||
class TemplateEntity(Entity):
|
||||
"""Entity that uses templates to calculate attributes."""
|
||||
|
||||
_attr_name: str | None
|
||||
|
||||
_attr_available = True
|
||||
_attr_entity_picture = None
|
||||
_attr_icon = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue