-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Cover HassSetPosition in danish (#2895)
- Loading branch information
Showing
4 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: da | ||
responses: | ||
intents: | ||
HassSetPosition: | ||
default: "Position indstillet" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
language: da | ||
intents: | ||
HassSetPosition: | ||
data: | ||
# name | ||
- sentences: | ||
- "(<sæt_numerisk_værdi>|<åbn>|<luk>) {name} [position] [til] <position_pct>" | ||
requires_context: | ||
domain: cover | ||
slots: | ||
domain: cover | ||
|
||
# device_class and area | ||
- sentences: | ||
- "(<sæt_numerisk_værdi>|<åbn>|<luk>) {cover_classes:device_class} ([til] <position_pct>;<i_på> {area})" | ||
- "(<sæt_numerisk_værdi>|<åbn>|<luk>) {area} {cover_classes:device_class} [position] til <position_pct>" | ||
slots: | ||
domain: cover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
language: da | ||
tests: | ||
- sentences: | ||
- "indstil badeværelsespersienne position til 50%" | ||
- "sæt badeværelsespersienne til 50 procent" | ||
- "åbn badeværelsespersienne 50 %" | ||
intent: | ||
name: HassSetPosition | ||
slots: | ||
domain: cover | ||
name: "Badeværelsespersienne" | ||
position: 50 | ||
response: "Position indstillet" | ||
|
||
- sentences: | ||
- "indstil gardin i stue til 50%" | ||
- "åbn stue gardiner til 50 procent" | ||
- "luk gardinerne 50% i stue" | ||
intent: | ||
name: HassSetPosition | ||
slots: | ||
domain: cover | ||
device_class: "curtain" | ||
area: "Stue" | ||
position: 50 | ||
response: "Position indstillet" |