run_action
Execute device actions such as starting a sweep or playing music. Specify device ID and action name to trigger commands on Xiaomi smart home.
Instructions
执行设备动作,例如扫地机开始清扫、播放音乐等。
Args:
did: 设备ID
action_name: 动作名称,如 start-sweep、stop-sweeping
value: 动作参数,可选Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| did | Yes | ||
| action_name | Yes | ||
| value | No |