Node Red entity names

Using Node Red to create a HA entity is nice, and I can see some good uses for it. But I haven’t found a way to set the entity_id from Node Red. Do I have to rename it in HA after it’s been created, or is there a better way?

The lower portion defines how it will be displayed in HA.

1 Like

Thanks @Mikefila. I tried to set the name, but my mistake was that first I created the entity WITHOUT setting it, so it got a rather cryptic name. When I set the name afterwards, it appeared only as friendly_name.
So, now I’ve learned that it’s important to define the entity name when you first create the entity.