Skip to content

Commit

Permalink
[DA] Adds missing scene_HassTurnOn for Danish (home-assistant#1953)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-abs authored and schizza committed Mar 16, 2024
1 parent e340a7b commit 0d8a16e
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 0 deletions.
1 change: 1 addition & 0 deletions responses/da/HassTurnOn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ responses:
cover: "Åbnede {{ slots.name }}"
cover_area: "Åbnede {{ slots.area }}"
cover_device_class: "Åbnede {{ slots.device_class }}"
scene: "Aktiveret"
1 change: 1 addition & 0 deletions sentences/da/_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ expansion_rules:
temperatur: "{temperature}[°| grader] [{temperature_unit}]"
tænd: "tænd [for]"
åbn: "åbn [for]"
i: "(i|[oppe ]på)"

skip_words:
- "venligst"
Expand Down
28 changes: 28 additions & 0 deletions sentences/da/scene_HassTurnOn.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
language: da
intents:
HassTurnOn:
data:
- sentences:
- "[aktiver] <navn> [scene]"
- "<navn> [scene] til"
- "<tænd> <navn> [scene]"
- "slå <navn> [scene] til"
- "skift til (<navn> [scene]|scene <navn>)"
requires_context:
domain: scene
slots:
domain: scene
response: scene
- sentences:
- "[aktiver] <område> <navn> [scene]"
- "<område> <navn> til"
- "<tænd> <område> <navn> [scene]"
- "[aktiver] <navn> [scene] <i> <område>"
- "<tænd> <navn> [scene] <i> <område>"
- "skift til <navn> [scene] <i> <område>"
- "skift <område> til <navn> [scene]"
requires_context:
domain: scene
slots:
domain: scene
response: scene
2 changes: 2 additions & 0 deletions tests/da/_fixtures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ entities:
state: "14"
attributes:
unit_of_measurement: °C
- name: "Party Mode"
id: "scene.party_mode"
30 changes: 30 additions & 0 deletions tests/da/scene_HassTurnOn.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
language: da
tests:
- sentences:
- "aktiver party mode scene"
- "tænd for party mode scene"
- "slå party mode scene til"
- "party mode scene til"
- "skift til party mode scene"
- "skift til scene party mode"
intent:
name: HassTurnOn
slots:
domain: scene
name: "Party Mode"
response: "Aktiveret"
- sentences:
- "aktiver køkken party mode scene"
- "tænd for køkken party mode scene"
- "aktiver party mode i køkkenet"
- "køkken party mode til"
- "tænd for party mode i køkkenet"
- "skift køkken til party mode scene"
- "skift til party mode scene i køkkent"
intent:
name: HassTurnOn
slots:
area: Køkken
domain: scene
name: "Party Mode"
response: "Aktiveret"

0 comments on commit 0d8a16e

Please sign in to comment.