Skip to content

Commit

Permalink
[SL] HassClimateGetTemperature fixed (#2099)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejs2 committed Mar 19, 2024
1 parent dd75ea6 commit 5636706
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
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"

0 comments on commit 5636706

Please sign in to comment.