Skip to content

Commit

Permalink
[RU] Тimer improvements (#2259)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitrokun authored Jun 26, 2024
1 parent 9466012 commit 003e1e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 2 additions & 5 deletions sentences/ru/homeassistant_HassStartTimer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ intents:
HassStartTimer:
data:
- sentences:
- "[установи[ть]|включи[ть]|запусти[ть]] таймер на <timer_duration>"
- "[установи[ть]|включи[ть]|запусти[ть]] таймер {timer_name:name} на <timer_duration>"
requires_context:
area:
slot: false
- "[установи[ть]|включи[ть]|запусти[ть]|зада(й|ть)] таймер на <timer_duration>"
- "[установи[ть]|включи[ть]|запусти[ть]|зада(й|ть)] таймер {timer_name:name} на <timer_duration>"
- sentences:
- "{timer_command:conversation_command} через <timer_duration>"
- "через <timer_duration> {timer_command:conversation_command}"
Expand Down
8 changes: 8 additions & 0 deletions tests/ru/homeassistant_HassStartTimer.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
---
language: ru
tests:
- sentences:
- "задай таймер на 10 минут"
intent:
name: HassStartTimer
slots:
minutes: 10
response: Таймер запущен

- sentences:
- "установи таймер на 1 час"
intent:
Expand Down

0 comments on commit 003e1e4

Please sign in to comment.