Skip to content

Commit

Permalink
Add context sentences for HassClimateGetTemperature (#2956)
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam authored Feb 4, 2025
1 parent f6d2bc3 commit ad720de
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sentences/nl/climate_HassClimateGetTemperature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ intents:
- "(hoe [hoog|laag|<warm>]|op hoeveel graden) (is|staat) [de] <name> [ingesteld]"
requires_context:
domain: "climate"
- sentences:
- "wat is de temperatuur"
- "hoe (warm|koud|heet|koel) is het"
requires_context:
area:
slot: true
11 changes: 11 additions & 0 deletions tests/nl/climate_HassClimateGetTemperature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,14 @@ tests:
slots:
name: Woonkamerthermostaat
response: "19.6 graden"

- sentences:
- "wat is de temperatuur"
- "hoe warm is het"
intent:
name: HassClimateGetTemperature
context:
area: Woonkamer
slots:
area: Woonkamer
response: "19.6 graden"

0 comments on commit ad720de

Please # to comment.