Search entities by friendly name?!

Is there a way to search the entities by the friendly name you give them in Home Assistant?!

I always set the entity_id by the type of device - a lightbulb, no matter what manufacturer or the location in the house, gets named lamp_E27_white_01(-99) or lamp_E14_rgb_01(-99) - so, solely by the type and capabilities. Obviously I want them to show up with real names in the UI so I call them “Kitchen light” or “Livingroom main lamp” - whatever. This works great as long as you stay within Home Assistant - you can search for the entities in the File Editor by starting to type “Kitchen light” - which brings up the corresponding entity_id “light.lamp_E27_white_49”.

This does not seem to work in Node Red, which is quite frustrating because I recently started to move every automation to Node Red - surely there must be a way to enable this?!

Anyone can help?

1 Like

You can do a get_entities call with the property: attributes.friendly_name
However, i assume you would like to autofill the entity_ids with the friendly_name. This is currently not possible.