| 1 |
language: zh-CN |
| 2 |
intents: |
| 3 |
HassLightSet: |
| 4 |
data: |
| 5 |
# brightness |
| 6 |
- sentences: |
| 7 |
- "[<let>]<name>亮度[<set_to>]<brightness>" |
| 8 |
- "(设置|调节)<name>亮度<to><brightness>" |
| 9 |
response: brightness |
| 10 |
requires_context: |
| 11 |
domain: light |
| 12 |
- sentences: |
| 13 |
- "[<let>]<area>[<light>][的]亮度[<set_to>]<brightness>" |
| 14 |
- "(设置|调节)<area>[<light>][的]亮度<to><brightness>" |
| 15 |
slots: |
| 16 |
name: all |
| 17 |
response: brightness_area |
| 18 |
|
| 19 |
# Max/Min brightness |
| 20 |
- sentences: |
| 21 |
- "[<let>]<name>亮度[<set_to>]{brightness_level:brightness}" |
| 22 |
- "(设置|调节)<name>亮度<to>{brightness_level:brightness}" |
| 23 |
requires_context: |
| 24 |
domain: light |
| 25 |
response: brightness |
| 26 |
- sentences: |
| 27 |
- "[<let>]<area>[<light>][的]亮度[<set_to>]{brightness_level:brightness}" |
| 28 |
- "(设置|调节)<area>[<light>][的]亮度<to>{brightness_level:brightness}" |
| 29 |
slots: |
| 30 |
name: all |
| 31 |
response: brightness_area |
| 32 |
|
| 33 |
# color |
| 34 |
- sentences: |
| 35 |
- "[<let>]<name>[颜色][<set_to>]{color}" |
| 36 |
requires_context: |
| 37 |
domain: light |
| 38 |
response: color |
| 39 |
- sentences: |
| 40 |
- "[<let>]<area><light>[的][颜色][<set_to>]{color}" |
| 41 |
slots: |
| 42 |
name: all |
| 43 |
response: color_area |