You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
weather.condition.category is set to "Rain" (or similar value), condition is set to "rain"
voc_match looks for "rain.voc" in locale/it-it/vocabulary/condition/rain.voc but can't match the "rain" word (because of the file's content it's translated in italian)
The text was updated successfully, but these errors were encountered:
Will need to check what languages OpenWeather handles. Alternatively we do all the API interaction in english and translate the localized condition term to the base english condition for comparison.
Describe the bug
Mycroft answers with "condition-not-expected" dialog if condition matches the weather
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Output should be "condition-expected"
Log files
...
Environment (please complete the following information):
Additional context
The problem seems to be related to this row:
intent_match = self.voc_match(weather.condition.category.lower(), condition)
The text was updated successfully, but these errors were encountered: