Gh61/lovelace-hue-like-light-card

Feature: Change Entity Name in Detail-View

DaReelRigo85 opened this issue · 4 comments

Hey,

first I want to say thank you for this lovely card and your work on it :)

I added it to all my Lights/Rooms and now realised that I can´t rename the entities. Now I have the problem that I don´t know what light is on. Is ist possible to add custom names to an entity like changing the Group title ?

Screenshot 2024-02-26 082456

Something like this:

type: custom:hue-like-light-card
title: Wohnzimmer
icon: mdi:sofa
slider: none
scenes: []
entities:

  • entity: light.beleuchtung_wohnzimmer_deckenlampen_r
    name: Rechts
  • entity: light.beleuchtung_wohnzimmer_deckenlampen_l
    name: Links
  • entity: light.beleuchtung_wohnzimmer_deckenlampen_lv
    name: Vorne-Links
  • entity: light.beleuchtung_wohnzimmer_deckenlampen_lh
    name: Hinten-Links
  • entity: light.beleuchtung_zone_wohnzimmer_schranklampe
    name: Schrank
  • entity: light.beleuchtung_zone_wohnzimmer_fernsehbeleuchtung
    name: Fernseher

I´ve looked to the Sourcecode but because I´m new in HA I don´t know where to find this :)

thank you,
Chris

Gh61 commented

You should rename your entities on Home Assistant level, so the right name is used anywhere, where you use the entity.
This can be done in Entities in the settings:
Open your Home Assistant instance and show your entities.

Or you can simply long-press on each entity in the hue-screen. This should open more-info window, where you can go to the entity settings and also give the entity some nice Title.

Let me start by saying that this card rocks! I second this feature request, it would make the icing on the cake.
I ordered all of my entities using the same naming convention (type | location | name). Having 7 lights called 'ceiling' isn't very practical.

erkr commented

Yes, I also second this request. My naming is perfectly fine for most parts of HA, but some lights have names that don’t work well in the hue page for particular zones or groups.
Example: I have two aquaria, both simply named aquarium. That is a good choice per room, but not for the zone, showing aquarium twice.
To make the request more specific. Please allow to define an ‘entity object’, so optionally the name of entities can be set for a particular room:

 - entity:light.aquarium_living
   name: aquarium1
 - entity:light.aquarium_hallway
   name:  aquarium2

Was searching to see if I was missing something. I vote for this as well!