# Entity ID instead of name

**URL:** https://discourse.nodered.org/t/entity-id-instead-of-name/74315
**Category:** General
**Tags:** home-assistant
**Created:** [28 January 2023 19:30 UTC](https://discourse.nodered.org/t/entity-id-instead-of-name/74315 "2023-01-28T19:30:15Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![radames](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@radames](https://discourse.nodered.org/u/radames)
#### Post date: [28 January 2023 19:30 UTC](https://discourse.nodered.org/t/entity-id-instead-of-name/74315/1 "2023-01-28T19:30:15Z")

</div>

hi need help  
something went wrong in my node red and all the nodes now display the entity Id like (switch.102\_2) instead the friendly name I gave them like (patio light ustairs-local). may be there is an index file that needs to be rebuild  
I don't know how to fix  
thx

---

<div class="post-metadata">

### Author: ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)
#### Post date: [28 January 2023 19:35 UTC](https://discourse.nodered.org/t/entity-id-instead-of-name/74315/2 "2023-01-28T19:35:51Z")

</div>

Welcome to the forums @radames

First thing : export your flow and paste it here (removing any sensitive data).  
we can then begin to see if there are any obvious issues.

````auto
```
JSON Here
```

````

I have never heard of this - but maybe some other members have

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [28 January 2023 19:36 UTC](https://discourse.nodered.org/t/entity-id-instead-of-name/74315/3 "2023-01-28T19:36:25Z")

</div>

Can I check whether you are using Home Assistant?

---

<div class="post-metadata">

### Author: ![radames](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@radames](https://discourse.nodered.org/u/radames)
#### Post date: [29 January 2023 08:02 UTC](https://discourse.nodered.org/t/entity-id-instead-of-name/74315/4 "2023-01-29T08:02:32Z")

</div>

yes using home assistant

---

<div class="post-metadata">

### Author: ![radames](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@radames](https://discourse.nodered.org/u/radames)
#### Post date: [29 January 2023 09:15 UTC](https://discourse.nodered.org/t/entity-id-instead-of-name/74315/5 "2023-01-29T09:15:41Z")

</div>

I tried to uninstall and reinstall red node still the same

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [29 January 2023 09:20 UTC](https://discourse.nodered.org/t/entity-id-instead-of-name/74315/6 "2023-01-29T09:20:35Z")

</div>

It is more likely that there is something wrong with home assistant and/or the home assistant nodes.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [29 January 2023 10:24 UTC](https://discourse.nodered.org/t/entity-id-instead-of-name/74315/7 "2023-01-29T10:24:27Z")

</div>

Few here use HA, finding it simpler to do everything in node-red, so you may be better asking on an HA forum.

---

<div class="post-metadata">

### Author: ![radames](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@radames](https://discourse.nodered.org/u/radames)
#### Post date: [29 January 2023 11:04 UTC](https://discourse.nodered.org/t/entity-id-instead-of-name/74315/8 "2023-01-29T11:04:54Z")

</div>

I am using node red I installed it in home assistant and every thing is in node red, when I go into any of the call services in node red in entities display the entity Id like (switch.102\_2) instead the friendly name I gave them like (patio light ustairs-local). may be there is an index file that needs to be rebuild  
I don't know how to fix

---

<div class="post-metadata">

### Author: ![radames](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@radames](https://discourse.nodered.org/u/radames)
#### Post date: [29 January 2023 11:07 UTC](https://discourse.nodered.org/t/entity-id-instead-of-name/74315/9 "2023-01-29T11:07:21Z")

</div>

![IMG_4153 copy](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/6/967a9830d7478a106dee1a0a67775245e8434b25.jpeg)

---

<div class="post-metadata">

### Author: ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)
#### Post date: [29 January 2023 11:20 UTC](https://discourse.nodered.org/t/entity-id-instead-of-name/74315/10 "2023-01-29T11:20:09Z")

</div>

Hi @radames

This is an issue with Home Assistant (or It's Node RED Nodes) - this is nothing to do with Node RED.  
as above - you need to seek support from the HA community

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [29 January 2023 11:40 UTC](https://discourse.nodered.org/t/entity-id-instead-of-name/74315/11 "2023-01-29T11:40:28Z")

</div>

> [@radames](#):
>
> I am using node red I installed it in home assistant and every thing is in node red,

Just to amplify the previous comment a bit, the nodes you mention are running within node-red but they are supplied as part of the HA packaged version of node-red, they are not part of the normal node-red install. That is why we don't know much about them. The normal node-red install does not have the concept of Entities with IDs, they are a HA concept.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [29 January 2023 12:09 UTC](https://discourse.nodered.org/t/entity-id-instead-of-name/74315/12 "2023-01-29T12:09:42Z")

</div>

And to expand still further, Home Assistant installs Node-RED in its own way which seems to be poorly understood. Sadly, HA does seem to cause a lot of issues.

---

<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: [30 March 2023 12:10 UTC](https://discourse.nodered.org/t/entity-id-instead-of-name/74315/13 "2023-03-30T12:10:01Z")

</div>

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