frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Automations filtering not returing all results

Open czbird77 opened this issue 4 months ago • 10 comments

Checklist

  • [x] I have updated to the latest available Home Assistant version.
  • [x] I have cleared the cache of my browser.
  • [x] I have tried a different browser to see if it is related to my browser.
  • [ ] I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

I have 10+ automations containing substring "rol" in their name. All the automations also all use the same device (ESPHome Rolety). When I go to the device, I can see all the automations that are using it. But when I go to Settings/Automations and try to filter out automations containing "rol", only 3 of them are displayed. This was working before (2025.10.4) but broken in 2025.11

Image Image Image

Describe the behavior you expected

I expect all automations that have names matching the entered substring to be displayed

Image

Steps to reproduce the issue

  1. go to settings-automations
  2. filter automations by name

...

What version of Home Assistant Core has the issue?

Installation method Home Assistant OS Core 2025.11.0 Supervisor 2025.11.1 Operating System 16.3 Frontend 20251105.0

What was the last working version of Home Assistant Core?

2025.10.4

In which browser are you experiencing the issue?

MS Edge Version 141.0.3537.71 (Official build) (64-bit), Vivaldi 7.6.3797.63 (Stable channel) (64bitové)

Which operating system are you using to run this browser?

Win11 x64 2024H2

State of relevant entities


Problem-relevant frontend configuration


JavaScript errors shown in your browser console/inspector


Additional information

No response

czbird77 avatar Nov 06 '25 10:11 czbird77

Let's have 2 automations with following names:

Moes1-III - Lights Out / Ráno - Obývák + Rolety 23 UP/DOWN
Obývák - Presence + TV Off + Low Light - Rano - Lights ON + Rolety 23 UP

Following are the results of filtering them out using substring search in Settings->Automations: --> obyvak = OK --> 23 = NOK --> rol = NOK --> role = NOK --> up = NOK

czbird77 avatar Nov 06 '25 11:11 czbird77

I'm having a similar issue I'm having multiple automations with 'Telegram' in the name but it only shows 1 when I search for 'Telegram'

tozzke avatar Nov 08 '25 09:11 tozzke

Seeing the same. Very werid results when searching. Also in the Entity searcher the behavior is odd. If you search for something non existent, it seems to display everything.

Is this PR related? https://github.com/home-assistant/frontend/pull/27396

fbloemhof avatar Nov 10 '25 12:11 fbloemhof

Tracking, facing the same issue, raised it on the HA Forum, will track here also Thanks to thos taking the time to investigate [https://community.home-assistant.io/t/search-in-automations-always-worked-perfectly-stopped-working-recently/951123]

brucecleghorn avatar Nov 15 '25 07:11 brucecleghorn

It's not just in "Automations." The same thing is happening when searching in "Scenes", "Scripts" and "Blueprints". It seems only the first 35 or so characters are being considered. If the search string appears further back in the description, it doesn't get picked up.

brofeelgood avatar Nov 22 '25 07:11 brofeelgood

I recently discovered that using double quotes yields better results, but it’s annoying to remember to use them.

czbird77 avatar Nov 22 '25 10:11 czbird77

still messed up in 2025.11.3

czbird77 avatar Nov 22 '25 23:11 czbird77

Weird that this item seems get so little attention. I just had an situation where I searched for almost the exact entity_id and it was result 15 in the list....

Some similar (duplicate?) issues: https://github.com/home-assistant/frontend/issues/22583 https://github.com/home-assistant/frontend/issues/27269

fbloemhof avatar Nov 25 '25 21:11 fbloemhof

I'm also having similar issue.

For example, I have 3 different automations: Automation - Turn bedroom fans on when warming up Automation - AC Decrease Temperature to 76 - Summer Automation - Automatic Reset Sugar Level Target Temperature

If I search "warming", nothing shows up. Come to find out, I can search for "Automation - Turn bedroom fans on". As soon as I type the next word "when", it goes away.

This similar thing happens on all three of these examples. The second one, it won't show as soon as I type "7"... It'll show with: "Automation - AC Decrease Temperature to " but not "Automation - AC Decrease Temperature to 7"

And the last sample.. I can search for "Automation - Automatic Reset Sugar " but as soon as I start to type "Level", it goes away. So I can't type "Automation - Automatic Reset Sugar L"

The search function is broken. And because HA changed the way the page loads, you cannot hit CTRL+F in chrome to find it either :(. If it's not displayed on the screen, chrome won't find it :(

meluvalli avatar Dec 05 '25 10:12 meluvalli

Same here, since I'm on 2025.11.2, then upgraded to 11.3, I've got the same issue. Many automations won't be found anymore depending on the keyword I enter. For example, all my tado automation names have a [tado] at the end. When I search for "tado", I get 5 results, but actually I have 22 results if I search in my automations.yaml file by "[tado]". The same applies for many other automations (without special characters in the name). It seems that the farther behind in the name the keyword is, the less likely it'll show up in the results. I also checked the 2025.12.2 release notes, but still no mention about this issue. please if someone can check this. I also deleted all my chromium storage for HA, all cache, tried different browser, tried incognito mode, nothing makes a difference. Thanks

chiefthomson avatar Dec 09 '25 14:12 chiefthomson

For what it's worth, I ran across the filtering issue separately and narrowed it down (I think) to the length of the name.

Example:

  • If the automation name is 0123456789012345678901234567890abc, filtering for abc does not match it.
  • If you make it one character shorter as 012345678901234567890123456789abc, filtering for abc DOES match.

Not sure if that will help, but wanted to pass this along. As a workaround, I've just abbreviated or shortened all my names so that they can match the filters.

I am on Version core-2025.12.3, Installation type Home Assistant OS.

forestocean88 avatar Dec 14 '25 20:12 forestocean88

Same issue here, but I think I have found a fix: https://github.com/home-assistant/frontend/pull/28557 If some of you have the possibility to test this patch I'd be happy to hear your feedback whether it fixes the issue for you

cnotin avatar Dec 15 '25 21:12 cnotin