| 1 |
language: ar |
| 2 |
intents: |
| 3 |
HassTurnOff: |
| 4 |
data: |
| 5 |
- sentences: |
| 6 |
- "[<turn_off>] (<in> <area> [<light>] <name>|[<light>] <name> [in <area>])" |
| 7 |
expansion_rules: |
| 8 |
all_lights: "([<all>] <light>|<light> [<all>])" |
| 9 |
requires_context: |
| 10 |
domain: "light" |
| 11 |
|
| 12 |
# Turn on all lights in an area |
| 13 |
- sentences: |
| 14 |
- "<turn_off> <all_lights> [<in>] <area>" |
| 15 |
- "<turn_off> [<in>] <area> <all_lights>" |
| 16 |
expansion_rules: |
| 17 |
all_lights: "([<all>] <light>|<light> [<all>])" |
| 18 |
slots: |
| 19 |
domain: "light" |
| 20 |
response: "lights_area" |
| 21 |
|
| 22 |
# Turn on all lights in the home |
| 23 |
- sentences: |
| 24 |
- "<turn_off> <all_lights>" |
| 25 |
- "<turn_off> [<all>] <light> <everywhere>" |
| 26 |
- "<turn_off> <everywhere> [<all>] <light>" |
| 27 |
expansion_rules: |
| 28 |
all_lights: "(<all> <light>|<light> <all>)" |
| 29 |
slots: |
| 30 |
domain: "light" |
| 31 |
response: "light_all" |
| 32 |
|
| 33 |
# Turn on lights in the same area as a satellite device |
| 34 |
- sentences: |
| 35 |
- "<turn_off> <all_lights> [<here>]" |
| 36 |
- "<turn_off> [<here>] <all_lights>" |
| 37 |
expansion_rules: |
| 38 |
all_lights: "([<all>] <light>|<light> [<all>])" |
| 39 |
here: "(هنا|هون|هينا)" |
| 40 |
slots: |
| 41 |
domain: "light" |
| 42 |
requires_context: |
| 43 |
area: |
| 44 |
slot: true |
| 45 |
response: "lights_area" |
| 46 |
|
| 47 |
# Turn on all lights on a floor |
| 48 |
- sentences: |
| 49 |
- "<turn_off> <all_lights> [<in>] <floor>" |
| 50 |
- "<turn_off> [<in>] <floor> <all_lights>" |
| 51 |
expansion_rules: |
| 52 |
all_lights: "([<all>] <light>|<light> [<all>])" |
| 53 |
slots: |
| 54 |
domain: "light" |
| 55 |
response: "lights_floor" |