| 1 |
language: "en" |
| 2 |
intents: |
| 3 |
HassTurnOff: |
| 4 |
data: |
| 5 |
# Turn off a specific light |
| 6 |
- sentences: |
| 7 |
- "<turn> off <area_floor> <name> <light>" |
| 8 |
- "<turn> off <name> <light> [<in_area_floor>]" |
| 9 |
- "[<turn>] <area_floor> <name> <light> [to] off" |
| 10 |
- "[<turn>] <name> <light> [<in_area_floor>] [to] off" |
| 11 |
- "deactivate <area_floor> <name> <light>" |
| 12 |
- "deactivate <name> <light> [<in_area_floor>]" |
| 13 |
requires_context: |
| 14 |
domain: "light" |
| 15 |
|
| 16 |
# Turn off all lights in an area |
| 17 |
- sentences: |
| 18 |
- "<area> <light> (off|out)" |
| 19 |
- "<light> (off|out) [<in>] <area>" |
| 20 |
- "<turn> (off|out) [<all>] <area> <light>" |
| 21 |
- "<turn> (off|out) [(<all>|<the>)] <light> <in> <area>" |
| 22 |
- "[<turn>] [<all>] <area> <light> (off|out)" |
| 23 |
- "[<turn>] [(<all>|<the>)] <light> <in> <area> (off|out)" |
| 24 |
- "[<turn>] [(<all>|<the>)] <light> (off|out) <in> <area>" |
| 25 |
- "deactivate [<all>] <area> <light>" |
| 26 |
- "deactivate [(<all>|<the>)] <light> <in> <area>" |
| 27 |
slots: |
| 28 |
domain: "light" |
| 29 |
response: "lights_area" |
| 30 |
|
| 31 |
# Turn off all lights on a floor |
| 32 |
- sentences: |
| 33 |
- "<floor> <light> (off|out)" |
| 34 |
- "<light> (off|out) [<in>] <floor>" |
| 35 |
- "<turn> (off|out) [<all>] <floor> <light>" |
| 36 |
- "<turn> (off|out) [(<all>|<the>)] <light> [<in>] <floor>" |
| 37 |
- "[<turn>] [<all>] <floor> <light> (off|out)" |
| 38 |
- "[<turn>] [(<all>|<the>)] <light> [<in>] <floor> (off|out)" |
| 39 |
- "[<turn>] [(<all>|<the>)] <light> (off|out) [<in>] <floor>" |
| 40 |
- "deactivate [<all>] <floor> <light>" |
| 41 |
- "deactivate [(<all>|<the>)] <light> [<in>] <floor>" |
| 42 |
response: "lights_floor" |
| 43 |
slots: |
| 44 |
domain: "light" |
| 45 |
|
| 46 |
# Turn off all lights in the home |
| 47 |
- sentences: |
| 48 |
- "<turn> <all> <light> (off|out) [<everywhere>]" |
| 49 |
- "<turn> [<the>] <light> (off|out) <everywhere>" |
| 50 |
- "<turn> (off|out) <all> <light> [<everywhere>]" |
| 51 |
- "<turn> (off|out) [<the>] <light> <everywhere>" |
| 52 |
- "<turn> (off|out) [<all>] [the] <home> <light> <everywhere>" |
| 53 |
- "deactivate <all> <light> [<everywhere>]" |
| 54 |
- "deactivate [<the>] <light> <everywhere>" |
| 55 |
- "get every <light> (off|out) [<everywhere>]" |
| 56 |
- "make sure <all> <light> <is> (off|out)" |
| 57 |
response: "light_all" |
| 58 |
slots: |
| 59 |
domain: "light" |
| 60 |
|
| 61 |
# Turn off lights in the same area as a satellite device |
| 62 |
- sentences: |
| 63 |
# Explicit <here> optional all |
| 64 |
- "<turn> [(<all>|<the>)] <light> (off|out) <here>" |
| 65 |
- "<turn> [(<all>|<the>)] <light> <here> (off|out)" |
| 66 |
- "<turn> (off|out) [(<all>|<the>)] <light> <here>" |
| 67 |
- "deactivate [(<all>|<the>)] <light> <here>" |
| 68 |
- "[<all>] [<the>] <light> (off|out) <here>" |
| 69 |
|
| 70 |
# Implicit <here> no all |
| 71 |
- "<turn> [<the>] <light> (off|out) [<here>]" |
| 72 |
- "<turn> [<the>] <light> [<here>] (off|out)" |
| 73 |
- "<turn> (off|out) [<the>] <light> [<here>]" |
| 74 |
- "deactivate [<the>] <light> [<here>]" |
| 75 |
- "<light> (off|out) [<here>]" |
| 76 |
response: "lights_area" |
| 77 |
slots: |
| 78 |
domain: "light" |
| 79 |
requires_context: |
| 80 |
area: |
| 81 |
slot: true |