postlund / search-card

Quickly search for entities from a Lovelace card.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request - Intellij like searching

rdehuyss opened this issue · comments

Now that we can search on Friendly Name, would it be possible to use Intellij like/CamelCase searching?

Example: I have some lights named as follows:

  • Slaapkamer 1 Licht 1
  • Slaapkamer 1 Licht 2
  • Slaapkamer 2 Licht 1
  • ...

It would be great that when typing S1L1 it would immediately show entity Slaapkamer 1 Licht 1.

More Info: https://dzone.com/articles/using-camelcase-intellij-idea

Would likely be possible. I would suggest to make the search code more general and allow different modes, handled by a setting. That way you can choose how search is performed according to your needs.