# Refer entity name in title of node 

**URL:** <https://discourse.nodered.org/t/refer-entity-name-in-title-of-node/31557>\
**Category:** General\
**Created:** [14 August 2020 10:27 UTC](https://discourse.nodered.org/t/refer-entity-name-in-title-of-node/31557 "2020-08-14T10:27:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fietstasss](https://avatars.discourse-cdn.com/v4/letter/f/d78d45/32.png) [@fietstasss](https://discourse.nodered.org/u/fietstasss)\
**Post date:** [14 August 2020 10:27 UTC](https://discourse.nodered.org/t/refer-entity-name-in-title-of-node/31557/1 "2020-08-14T10:27:09Z")

</div>

Hi all,

I like to keep my NodeRed as ‘organised’ as possible. To achieve this I tend to use the ‘Name’ function for each block with a bit of a description of what it does.  
For example, let’s say I’m using a ‘call-service’ node to change the state of the entitiy: ‘input\_boolean.car\_home’ to ‘on’.  
For this, I would give the node a name like:  
‘Set input\_boolean.car\_home to on’

These type of nodes are used often, and usely i just copy/paste them for re-use with another entity.

However, with the ‘hardcoded name’ I need to manually change this everytime for bóth the entity (offcourse) and also the name of the node.  
Fine, but we all like to be lazy whenever possible, so I was wondering if it’s somehow possible to re-use the parameters given in (for example this case) the ‘Name’-part of a node.  
The Name-textfield would than look something like this:

`Set <entity> to on`

Is this somehow possible in Node Red?

_[(Crossposted in the Home Assistant Community)](https://community.home-assistant.io/t/refer-entity-name-in-title-of-node/218244)_

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [14 August 2020 10:29 UTC](https://discourse.nodered.org/t/refer-entity-name-in-title-of-node/31557/2 "2020-08-14T10:29:21Z")

</div>

This is a duplicate posting, originally posted in the HA forum - [https://community.home-assistant.io/t/refer-entity-name-in-title-of-node/218244](https://community.home-assistant.io/t/refer-entity-name-in-title-of-node/218244)

---

<div class="post-metadata">

**Author:** ![fietstasss](https://avatars.discourse-cdn.com/v4/letter/f/d78d45/32.png) [@fietstasss](https://discourse.nodered.org/u/fietstasss)\
**Post date:** [14 August 2020 11:41 UTC](https://discourse.nodered.org/t/refer-entity-name-in-title-of-node/31557/3 "2020-08-14T11:41:09Z")

</div>

My appologies, forgot to mention the crosspost. Edited startpost to include this information.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [13 October 2020 11:41 UTC](https://discourse.nodered.org/t/refer-entity-name-in-title-of-node/31557/4 "2020-10-13T11:41:15Z")

</div>

Closed on 13 October 2020 11:41 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
