-
Notifications
You must be signed in to change notification settings - Fork 528
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[en] Expand light_HassTurnOn with natural sentences
- Loading branch information
1 parent
70db9c1
commit 78028a0
Showing
3 changed files
with
183 additions
and
104 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
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 |
---|---|---|
@@ -1,72 +1,79 @@ | ||
--- | ||
language: "en" | ||
intents: | ||
HassTurnOn: | ||
data: | ||
- sentences: | ||
- "<turn> on (<area> <name> <light_devices>|<name> <light_devices> [in <area>])" | ||
- "[<turn>] (<area> <name> <light_devices>|<name> <light_devices> [in <area>]) [to] on" | ||
- "activate (<area> <name> <light_devices>|<name> <light_devices> [in <area>])" | ||
expansion_rules: | ||
light_devices: "(light[s]|[light] switch[es])" | ||
- "<turn> on (<area_floor> <name> <light>|<name> <light> [<in_area_floor>])" | ||
- "[<turn>] (<area_floor> <name> <light>|<name> <light> [<in_area_floor>]) [to] on" | ||
- "activate (<area_floor> <name> <light>|<name> <light> [<in_area_floor>])" | ||
- "light up (<area_floor> <name> <light>|<name> <light> [<in_area_floor>])" | ||
requires_context: | ||
domain: "light" | ||
|
||
- sentences: | ||
- "<turn> on [all] <light> in <area>" | ||
- "<turn> on [all] <area> <light>" | ||
- "[<turn>] [all] <area> <light> on" | ||
- "[<turn>] [all] <light> [in] <area> on" | ||
- "activate [all] <light> [in] <area>" | ||
- "activate [all] <area> <light>" | ||
- "<light> on in <area>" | ||
- "(light up|illuminate) <area>" | ||
- "<area> <light> on" | ||
- "<light> on [in ]<area>" | ||
- "<turn> on [<all> ]<area> <light>" | ||
- "<turn> on [<all> ]<light> <in> <area>" | ||
- "[<turn>] [<all> ]<area> <light> on" | ||
- "[<turn>] [<all> ]<light> <in> <area> on" | ||
- "[<turn>] [<all> ]<light> on <in> <area>" | ||
- "activate [<all> ]<area> <light>" | ||
- "activate [<all> ]<light> <in> <area>" | ||
slots: | ||
domain: "light" | ||
response: "lights_area" | ||
|
||
# Turn on all lights on a floor | ||
- sentences: | ||
- "(light up|illuminate) <floor>" | ||
- "<floor> <light> on" | ||
- "<light> on [in ]<floor>" | ||
- "<turn> on [<all> ]<floor> <light>" | ||
- "<turn> on [<all> ]<light> <in> <floor>" | ||
- "[<turn>] [<all> ]<floor> <light> on" | ||
- "[<turn>] [<all> ]<light> <in> <floor> on" | ||
- "[<turn>] [<all> ]<light> on <in> <floor>" | ||
- "activate [<all> ]<floor> <light>" | ||
- "activate [<all> ]<light> <in> <floor>" | ||
response: "lights_floor" | ||
slots: | ||
domain: "light" | ||
|
||
# Turn on all lights in the home | ||
- sentences: | ||
- "<turn> <all> <light> on <everywhere>" | ||
- "<turn> on <all> <light> <everywhere>" | ||
- "activate <all> <light> <everywhere>" | ||
- "(light up|activate|illuminate) <all> <light> <everywhere>" | ||
- "(light up|illuminate) the (entire|whole) <home>" | ||
- "(light up|illuminate) <everywhere>[ <everywhere>]" | ||
- "<turn> <all> <light> on[ <everywhere>]" | ||
- "<turn> <light> on <everywhere>" | ||
- "<turn> on <all> <light>[ <everywhere>]" | ||
- "<turn> on <light> <everywhere>" | ||
- "activate <light> <everywhere>" | ||
- "<turn> <all> <light> on" | ||
- "<turn> on <all> <light>" | ||
- "<turn> on [<all> ][the ]<home> <light> <everywhere>" | ||
- "activate <all> <light>" | ||
- "activate <light> <everywhere>" | ||
- "get every <light> on[ <everywhere>]" | ||
- "illuminate <all> areas[ <everywhere>]" | ||
- make sure <all> <light> <is> on | ||
response: "light_all" | ||
slots: | ||
domain: "light" | ||
|
||
# Turn on lights in the same area as a satellite device | ||
- sentences: | ||
- "<turn> <all> <light> on <here>" | ||
- "<turn> <light> on <here>" | ||
- "<turn> <all> <light> <here> on" | ||
- "<turn> <light> <here> on" | ||
- "<turn> on <all> <light> <here>" | ||
- "<turn> on <light> <here>" | ||
- "activate <all> <light> <here>" | ||
- "activate <light> <here>" | ||
- "<turn> <light> on" | ||
- "<turn> on <light>" | ||
- "activate <light>" | ||
- "<light> on" | ||
- "<light> on[ <here>]" | ||
- "<turn> [<all> ]<light> on[ <here>]" | ||
- "<turn> [<all> ]<light> <here> on" | ||
- "<turn> on [<all> ]<light>[ <here>]" | ||
- "activate [<all> ]<light>[ <here>]" | ||
- "i want <all> <light> on[ <here>]" | ||
- "light <here> up" | ||
- "light up <here>" | ||
response: "lights_area" | ||
slots: | ||
domain: "light" | ||
requires_context: | ||
area: | ||
slot: true | ||
|
||
# Turn on all lights on a floor | ||
- sentences: | ||
- "<turn> on <all> <light> (on|in) <floor>" | ||
- "<turn> on <all> <light> <floor>" | ||
- "<turn> on <all> <floor> <light>" | ||
- "<turn> <floor> <light> on" | ||
- "<floor> <light> on" | ||
- "activate <all> <floor> <light>" | ||
- "activate <all> <light> (on|in) <floor>" | ||
response: "lights_floor" | ||
slots: | ||
domain: "light" |
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