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

[SL] HassClimateGetTemperature fixed #2099

Merged
merged 1 commit into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion sentences/sl/climate_HassClimateGetTemperature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@ intents:
- "<temp> <area>"
- "koliko stopinj je [[v|na] <area>]"
- "povej mi <temp> [[v|na] <area>]"
- "na koliko [stopinj] je [nastavljen[a]] <temp> [[v|na] <area>]"

- sentences:
- "([na] kakšno) <temp> je [nastavljen[a|o|i]] <name> [[v|na] <area>]"
- "[na] koliko [stopinj] je [nastavljen[a|o|i]] <name> [[v|na] <area>]"
requires_context:
domain: "climate"
11 changes: 9 additions & 2 deletions tests/sl/climate_HassClimateGetTemperature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,19 @@ tests:
- sentences:
- kakšna je temperatura v dnevni sobi?
- ali je vroče v dnevni sobi?
- na koliko stopinj je nastavljena temperatura v dnevni sobi?
- temperatura v dnevni sobi?
- na koliko je nastavljen termostat v dnevni sobi?
intent:
name: HassClimateGetTemperature
slots:
area:
- dnevni sobi
response: "21 stopinj"

- sentences:
- "na kakšno temperaturo je nastavljen termostat?"
- "na koliko stopinj je nastavljen termostat?"
intent:
name: HassClimateGetTemperature
slots:
name: termostat
response: "21 stopinj"