Renaming Sensor Template Helpers

Experimenting with using Template Sensor Helpers as entities added to an existing device. The entity is named after the name I gave to the Helper. If I want to add an entity called “ScoreOutOfTen” or something to more than one device, do I have to have a load of Helpers all called ScoreOutOfTen or is there something I can change in the helper’s State Template code to name the entity as it will appear in the Device Info page?

The State template field only determines the state of the entity… it has nothing to do with the name or entity ID.

The entity ID is set based on the original name you give it in the configuration flow. You should not change it’s entity ID after the helper is created. If you want a specific entity ID it is best to name it appropriately in the config flow, then change the name afterward if desired.

The helper’s name can be changed from it’s entity settings menu. The entity setting menu can be reached many ways, for example by clicking on the helper in the Helpers menu then clicking the gear at the top right of the popup menu that opens.

1 Like

Ah I see. I think the UI makes impractical anyway what I would have wanted since what shows in the Device Info page for the linked device is the name of the helper not the name of the entity so they’d always be showing as Score1, Score2 and so on, not just Score.

No problem in use, just a cosmetic niggle I guess.