Skip to content

Commit

Permalink
Add some more light control sentences (home-assistant#2362)
Browse files Browse the repository at this point in the history
  • Loading branch information
tetele authored Aug 1, 2024
1 parent 535afd9 commit 1242f12
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sentences/en/light_HassTurnOff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ intents:
- "[<turn>] [all] <light> [in] <area> off"
- "deactivate [all] <light> [in] <area>"
- "deactivate [all] <area> <light>"
- "<light> (off|out) in <area>"
- "<area> <light> (off|out)"
slots:
domain: "light"
response: "lights_area"
Expand Down Expand Up @@ -49,6 +51,7 @@ intents:
- "<turn> <light> off"
- "<turn> off <light>"
- "deactivate <light>"
- "<light> (off|out)"
response: "lights_area"
slots:
domain: "light"
Expand Down
2 changes: 2 additions & 0 deletions sentences/en/light_HassTurnOn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ intents:
- "[<turn>] [all] <light> [in] <area> on"
- "activate [all] <light> [in] <area>"
- "activate [all] <area> <light>"
- "<light> on in <area>"
slots:
domain: "light"
response: "lights_area"
Expand Down Expand Up @@ -49,6 +50,7 @@ intents:
- "<turn> <light> on"
- "<turn> on <light>"
- "activate <light>"
- "<light> on"
response: "lights_area"
slots:
domain: "light"
Expand Down
3 changes: 3 additions & 0 deletions tests/en/light_HassTurnOff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ tests:
- "turn the kitchen lights off"
- "kitchen lighting off"
- "deactivate kitchen lights"
- "light off in the kitchen"
- "kitchen lights out"
intent:
name: HassTurnOff
slots:
Expand Down Expand Up @@ -63,6 +65,7 @@ tests:
- Turn the lights off
- Turn off the lights
- Deactivate the lights
- Lights out
intent:
name: HassTurnOff
context:
Expand Down
2 changes: 2 additions & 0 deletions tests/en/light_HassTurnOn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ tests:
- "activate living room lights"
- "lights living room on"
- "living room lighting on"
- "light on in the living room"
intent:
name: HassTurnOn
slots:
Expand Down Expand Up @@ -65,6 +66,7 @@ tests:
- Turn the lights on
- Turn on the lights
- Activate the lights
- Lights on
intent:
name: HassTurnOn
context:
Expand Down

0 comments on commit 1242f12

Please sign in to comment.