-
Notifications
You must be signed in to change notification settings - Fork 478
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
Matching device class #1244
Comments
In you first example are you using binary sensors to detect open and closed status? In your second example this is also reported here: #1351 |
|
@spuljko could you please also share your The first test ("how many covers are closed" -> "2") actually works in the current version. For your (second) example to work, you need to have a Also, I don't know how you expect the second example to work for various device classes with a singular response like "60%". If you have multiple humidity sensors in an area, what would you expect the response to be? |
When there is device class in sentence intent slot results are not as expected. For example (I know there is already this sentence in code, but this is just for testing purposes)
Test sentence:
Expected result is 2, but assert fails with '0' in {'2'}
Similar thing happens if I try to query temperature sensor:
Test sentences:
query.matched is 0, although there are sensors in fixtures.
The text was updated successfully, but these errors were encountered: