set_property
Set device properties to control smart home appliances. Change power, brightness, temperature, and more using device ID, property name, and value.
Instructions
设置设备属性值,用于控制设备。例如开灯、调亮度、设温度等。
Args:
did: 设备ID
prop_name: 属性名称,如 power、brightness、temperature
value: 属性值,类型取决于属性定义。常见值:power 为 "on"/"off",brightness 为 0-100,temperature 为数字Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| did | Yes | ||
| prop_name | Yes | ||
| value | Yes |