Skip to content

Commit

Permalink
[uk]Added fan intents (home-assistant#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
skynetua authored Dec 28, 2022
1 parent a3d667c commit 144e7b0
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 17 deletions.
12 changes: 8 additions & 4 deletions sentences/uk/fan_HassTurnOff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ language: uk
intents:
HassTurnOff:
data:
- sentences: []
slots:
domain: fan
name: all
- sentences:
- "<вимкни> [всі] вентилятор[и] <area>"
- "<вимкни> <area> [всі] вентилятор[и]"
- "<вимкни> вентиляцію <area>"
- "<вимкни> <area> вентиляцію"
slots:
domain: fan
name: all
12 changes: 8 additions & 4 deletions sentences/uk/fan_HassTurnOn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ language: uk
intents:
HassTurnOn:
data:
- sentences: []
slots:
domain: fan
name: all
- sentences:
- "<ввімкни> [всі] вентилятор[и] <area>"
- "<ввімкни> <area> [всі] вентилятор[и]"
- "<ввімкни> вентиляцію <area>"
- "<ввімкни> <area> вентиляцію"
slots:
domain: fan
name: all
2 changes: 1 addition & 1 deletion tests/uk/_fixtures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: uk
areas:
- name: Кухн(я|і)
id: kitchen
- name: Гостинн(а|ій)
- name: Вітальн(я|і)
id: living_room
- name: Спальн(я|і)
id: bedroom
Expand Down
15 changes: 11 additions & 4 deletions tests/uk/fan_HassTurnOff.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
language: uk
tests:
- sentences: []
intent:
name: HassTurnOff
slots: {}
- sentences:
- "вимкни вентилятори у вітальні"
- "вимкни в вітальні вентилятор"
- "вимкни в вітальні вентиляцію"
- "вимкни вентиляцію в вітальні"
intent:
name: HassTurnOff
slots:
area: living_room
domain: fan
name: all
15 changes: 11 additions & 4 deletions tests/uk/fan_HassTurnOn.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
language: uk
tests:
- sentences: []
intent:
name: HassTurnOn
slots: {}
- sentences:
- "ввімкни всі вентилятори у вітальні"
- "ввімкни в вітальні вентилятор"
- "увімкни вентиляцію в вітальні"
- "увімкни в вітальні вентиляцію"
intent:
name: HassTurnOn
slots:
area: living_room
domain: fan
name: all

0 comments on commit 144e7b0

Please sign in to comment.