forked from home-assistant/intents
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RO] HassSetPosition refactoring (home-assistant#2049)
- Loading branch information
Showing
4 changed files
with
47 additions
and
9 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,20 @@ | ||
language: ro | ||
intents: | ||
HassSetPosition: | ||
data: | ||
- sentences: | ||
- "[<seteaza> ]<pozitia> [<din> ]<name> [<pana_la> ][valoarea[ de] ]<position>" | ||
- "[<seteaza> ]<name> [<pana_la> ]<pozitia>[ de] <position>" | ||
- "[<seteaza> ][<in>|<pana_la> ]<position> <pozitia> [<din> ]<name>" | ||
- "(<deschide>|<inchide>) <name> [<pana_la> ][(valoarea|<pozitia>)[ de] ]<position>" | ||
requires_context: | ||
domain: cover | ||
slots: | ||
domain: cover | ||
|
||
- sentences: | ||
- "[<seteaza> ]({cover_classes_singular:device_class}|[toate ]{cover_classes_plural:device_class}) ([<din> ]<area>;[<pana_la> ](<pozitia>|valoare[a])[ de] <position>)" | ||
- "[<seteaza> ]<pozitia> <din> ({cover_classes_singular:device_class}|[toate ]{cover_classes_plural:device_class}) ([<din> ]<area>;[<pana_la> ][(<pozitia>|valoare[a]) ][de ]<position>)" | ||
- "(<deschide>|<inchide>) ([<pana_la> ][(<pozitia>|valoare[a])[ de] ]<position>;({cover_classes_singular:device_class}|[toate ]{cover_classes_plural:device_class}) [<din> ]<area>)" | ||
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
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,14 @@ | ||
language: ro | ||
tests: | ||
- sentences: | ||
- "seteaza pozitia de la valva principala la 100" | ||
- "pune valva principala la pozitia 100 %" | ||
- "modifica la 100 de procente pozitia de la valva principala" | ||
- "deschide valva principala 100%" | ||
intent: | ||
name: HassSetPosition | ||
slots: | ||
domain: valve | ||
name: "Valva principala" | ||
position: 100 | ||
response: "Am setat poziția" |