-
Notifications
You must be signed in to change notification settings - Fork 525
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
ea36d67
commit e669eb3
Showing
5 changed files
with
376 additions
and
202 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
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,92 @@ | ||
--- | ||
language: "en" | ||
intents: | ||
HassTurnOn: | ||
data: | ||
# Turn on a specific light | ||
- 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>" | ||
- "<turn> on <name> <light> [<in_area_floor>]" | ||
- "[<turn>] <area_floor> <name> <light> [to] on" | ||
- "[<turn>] <name> <light> [<in_area_floor>] [to] on" | ||
- "activate <area_floor> <name> <light>" | ||
- "activate <name> <light> [<in_area_floor>]" | ||
- "light up <area_floor> <name> <light>" | ||
- "light up <name> <light> [<in_area_floor>]" | ||
requires_context: | ||
domain: "light" | ||
|
||
# Turn on all lights in an area | ||
- 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>" | ||
- "<turn> on [<all>] [the] <home> <light> <everywhere>" | ||
- "activate <all> <light> [<everywhere>]" | ||
- "activate <light> <everywhere>" | ||
- "<turn> <all> <light> on" | ||
- "<turn> on <all> <light>" | ||
- "activate <all> <light>" | ||
- "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" | ||
# Explicit <here> optional all | ||
- "<turn> [<all>] <light> on <here>" | ||
- "<turn> [<all>] <light> <here> on" | ||
- "<turn> on [<all>] <light> <here>" | ||
- "activate [<all>] <light> <here>" | ||
- "[<all>] <light> on <here>" | ||
|
||
# Implicit <here> no all | ||
- "<turn> <light> on [<here>]" | ||
- "<turn> <light> [<here>] on" | ||
- "<turn> on <light> [<here>]" | ||
- "activate <light> [<here>]" | ||
- "<light> on [<here>]" | ||
- "light (it|<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" |
Oops, something went wrong.