This commit is contained in:
joBr99
2023-11-20 17:54:30 +01:00
parent 6af48209e6
commit 6a7606b3e0
2 changed files with 6 additions and 2 deletions

View File

@@ -27,6 +27,8 @@ class HAEntity(panel_cards.Entity):
color = ha_colors.get_entity_color(
self.etype, self.state, self.attributes)
name = self.config.get("name", self.attributes.get("friendly_name", "unknown"))
if self.name_overwrite:
name = self.name_overwrite
value = ""
match self.etype: