mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-21 15:04:24 +01:00
implement name overwrite
This commit is contained in:
@@ -26,7 +26,7 @@ class HAEntity(panel_cards.Entity):
|
||||
icon_char = ha_icons.get_icon_ha(self.etype, self.state, device_class=self.attributes.get("device_class", None), media_content_type=self.attributes.get("media_content_type", None), overwrite=self.config.get("icon"))
|
||||
color = ha_colors.get_entity_color(
|
||||
self.etype, self.state, self.attributes)
|
||||
name = self.attributes.get("friendly_name", "unknown")
|
||||
name = self.config.get("name", self.attributes.get("friendly_name", "unknown"))
|
||||
value = ""
|
||||
|
||||
match self.etype:
|
||||
|
||||
Reference in New Issue
Block a user