Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Entities are not prioritized over sensors in search #44

Open
mikejgray opened this issue Sep 12, 2023 · 0 comments
Open

[BUG] Entities are not prioritized over sensors in search #44

mikejgray opened this issue Sep 12, 2023 · 0 comments
Labels
bug Something isn't working post-merge

Comments

@mikejgray
Copy link
Collaborator

Per Matrix chat, the fuzzy search for a device does not prioritize a particular type over another. In this case a sensor has a similar name to an light, but the sensor was chosen instead for turn on.

Entity types should have an order of precedence depending on the action type to avoid scenarios like this.

@mikejgray mikejgray added the bug Something isn't working label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working post-merge
Projects
None yet
Development

No branches or pull requests

1 participant