Skip to content

Commit

Permalink
[PT] Add vacuum (#2126)
Browse files Browse the repository at this point in the history
  • Loading branch information
abmantis committed Apr 7, 2024
1 parent e1e88e8 commit e8d9d65
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 0 deletions.
5 changes: 5 additions & 0 deletions responses/pt/HassVacuumReturnToBase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: pt
responses:
intents:
HassVacuumReturnToBase:
default: "A regressar"
5 changes: 5 additions & 0 deletions responses/pt/HassVacuumStart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: pt
responses:
intents:
HassVacuumStart:
default: "Limpeza iniciada"
1 change: 1 addition & 0 deletions sentences/pt/homeassistant_HassTurnOn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ intents:
- scene
- script
- sensor
- vacuum
8 changes: 8 additions & 0 deletions sentences/pt/vacuum_HassVacuumReturnToBase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: pt
intents:
HassVacuumReturnToBase:
data:
- sentences:
- "(retornar|voltar) <nome> [(a|à|para a) base]"
requires_context:
domain: vacuum
8 changes: 8 additions & 0 deletions sentences/pt/vacuum_HassVacuumStart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: pt
intents:
HassVacuumStart:
data:
- sentences:
- "(começar|iniciar|ligar) <nome>"
requires_context:
domain: vacuum
4 changes: 4 additions & 0 deletions tests/pt/_fixtures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,7 @@ entities:
- name: "Tarefas"
id: "todo.tarefas"
state: ""

- name: "Ambrósio"
id: "vacuum.ambrosio"
state: "idle"
13 changes: 13 additions & 0 deletions tests/pt/vacuum_HassVacuumReturnToBase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
language: pt
tests:
- sentences:
- "Voltar o Ambrósio para a base"
- "Retornar o Ambrósio para a base"
- "Retornar o Ambrósio à base"
- "Retornar o Ambrósio"
- "Retornar Ambrósio"
intent:
name: HassVacuumReturnToBase
slots:
name: "Ambrósio"
response: "A regressar"
11 changes: 11 additions & 0 deletions tests/pt/vacuum_HassVacuumStart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: pt
tests:
- sentences:
- "começar o Ambrósio"
- "iniciar o Ambrósio"
- "ligar Ambrósio"
intent:
name: HassVacuumStart
slots:
name: "Ambrósio"
response: "Limpeza iniciada"

0 comments on commit e8d9d65

Please sign in to comment.