node-red-contrib-home-assistant-websocket icon indicating copy to clipboard operation
node-red-contrib-home-assistant-websocket copied to clipboard

Cannot search for entity in list. Cannot add events:state node for specific entity due to this

Open slbailey opened this issue 2 years ago • 13 comments

Describe the bug

I am no longer able to add events:state node for specific entities. The list no longer filters based on what I type and I'm unable to type in the full entity name and have it appear in the list.

To Reproduce

  1. Add Event:State Node
  2. In the entity field, select an entity (try to pick one not displayed in the drop down).
  3. The list doesn't filter or move to the typed in entry and you are unable to enter the value manually as the list will select some arbitrary value.

Expected behavior

I expect the entity list to filter down to the entities that match what I've typed in the field or, at the very least, I should be able to type in the full entity name and have it work.

Screenshots

image

Example Flow

No response

This package's version (not the Home Assistant add-on version)

0.57.2

Is Node-RED running in Docker?

Home Assistant add-on

Node-RED version

14.6.1

Node.js version

unknown

Additional context

No response

slbailey avatar Oct 08 '23 12:10 slbailey

What browser? Do you have any errors in the browser?

zachowj avatar Oct 10 '23 05:10 zachowj

No error in the browser. As an update, I did some more research and when I typed in "binary_sensor.steve_in_bed" I got the results I shared above. However, after scrolling all the way to the bottom of the drop down selection, I did see this entry and was able to saw it.

So I would say "it works" but the expected behavior is incorrect. I would expect the drop down list to filter itself down as I type to only entries that match the string I'm typing in. Typing in binary_sensor, for example, should ONLY list entries in the drop down that contain "binary_sensor" ... This list should also be sorted alphabetically and continue reducing in size as I type. "binary_sensor.s" should only show binary sensors that start with the letter "s" -- this is not happening.

slbailey avatar Oct 10 '23 11:10 slbailey

I started to see this as well. Even though you enter the exact ID, it is at the bottom of the list, when it should be the only item in the list as its a perfect and only match (well, I guess its possible to have others that match the first part, like 1, 2, 3 or something like that).

marc-gist avatar Oct 29 '23 13:10 marc-gist

its a hit or miss for me whether the correct entity will pop up in the list. either way a ton of entites that dont even match what im searching for show up. its gotten worse lately

ljmerza avatar Nov 04 '23 15:11 ljmerza

Same issue here, happened months ago (sorry, can't pin the version of when it first started), but same got worse lately.

More info if it helps: I'm using the HA's NR addon, first install about 3 years ago, currently updated to the latest version. Tested on both Chrome+Firefox - same result and no console errors. Tried disabling/enabling "Cache autocomplete results" - no change. Tried changing the "entity selector" from "friendly name" to "id" - same result on both. There is no "pattern" I could find of which the other results are shown - looks like every day or two another list of entities are being shown atop of the searched entity. Yet, these "random" entities remain the same for about one day or two as said. I have ~1800 active entities (+ ~300 disabled ones).

Most important, as this issue says, it happens only on events:state node, on other nodes (like current state etc) it works perfectly fine.

Would be super helpful if this can be fixed.

Lemme know if other info is needed. Thank you!

ofirsnb avatar Dec 16 '23 09:12 ofirsnb

This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Feb 15 '24 06:02 github-actions[bot]

Still an issue

ljmerza avatar Feb 15 '24 07:02 ljmerza

still an issue: image

this happens for a long time - around few months but decided to look up this issue recently.

bednim avatar Feb 25 '24 19:02 bednim

This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 26 '24 06:04 github-actions[bot]

Still an issue on latest version

ofirsnb avatar Apr 26 '24 07:04 ofirsnb

This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 26 '24 06:06 github-actions[bot]

Still an issue on latest version

ofirsnb avatar Jun 26 '24 06:06 ofirsnb

I'm experiencing the same issue. A very annoying one.....

tpjanssen avatar Jun 28 '24 18:06 tpjanssen

fixed 57a8ab7845fb28d0ff082ebf67818130551ea27a

zachowj avatar Aug 10 '24 07:08 zachowj