Add friendly_name to dev tools "Entity" column + fuzzy search#7582
Add friendly_name to dev tools "Entity" column + fuzzy search#7582spacegaier merged 15 commits intohome-assistant:devfrom
Conversation
|
I think the entity id should stay prominent here, not the friendly name, we are in the dev tools after all. |
|
Just my opinion, but I would prefer a fuzzy search over regex ( Besides the I haven't looked in detail which fuzzy algorithm we currently use, however this is the one from VS Code: isPatternInWord. |
… dev-tools-state-friendly_name
|
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
|
I will have another look. @cdce8p I think would be a separate PR, since that should also be then aligned with the regular entity picker. Doesn't make sense to have it in the table, but not in the general picker. Outside the scope of this PR from my side. |
Co-authored-by: Bram Kragten <mail@bramkragten.nl>

Breaking change
Proposed change
Add
friendly_nameto "Entity" column in the state-dev-tools for a more user-friendly approach. Friendly name can be used for filtering as well.This PR also adds support for fuzzy search in the entity filter.
Note:
friendly_nameis already shown in the "Attributes" column, but some users disable that column since too slow for big environments with many entities plus in that column thefriendly_nameis not so easy to spot (although it can be filtered for i f the column is used).Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: