Skip to content

Commit

Permalink
fixed sentence todo_HassListAddItem (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejs2 authored Dec 17, 2023
1 parent e051463 commit 7de8b58
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
3 changes: 2 additions & 1 deletion sentences/sl/todo_HassListAddItem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ intents:
HassListAddItem:
data:
- sentences:
- (dodaj| daj) <item> na [seznam|listo] [za] <my_list>
- "(dodaj| daj) <item> na [seznam|listo] [za|na] <my_list>"
- "[dodaj| daj] <item> [h|k|na] <my_list>"
response: item_added
requires_context:
domain: todo
Expand Down
7 changes: 6 additions & 1 deletion tests/sl/_fixtures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -230,21 +230,26 @@ entities:
attributes:
temperature: "21"
temperature_unit: "stopinj"
- name: "opravila"

- name: "opravila|opravilom"
id: "todo.opravila"
state: ""

- name: "v Benetkah"
id: "weather.benetke"
state: "jasno"
attributes:
temperature: "28"
temperature_unit: "stopinj"

- name: "Lev"
id: "person.Lev"
state: "doma"

- name: "Arya"
id: "person.arya"
state: "v službi"

- name: "Jon"
id: "person.jon"
state: "ni doma"
Expand Down
6 changes: 5 additions & 1 deletion tests/sl/todo_HassListAddItem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ tests:
- sentences:
- dodaj čiščenje na seznam za opravila
- daj čiščenje na seznam za opravila
- dodaj čiščenje na opravila
- čiščenje k opravilom
intent:
name: HassListAddItem
slots:
item: "čiščenje "
name: "opravila"
name:
- "opravila"
- "opravilom"
response: Dodano čiščenje

0 comments on commit 7de8b58

Please sign in to comment.