# 控制设备电源

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /ZidooMusicControl/v2/setPowerOption:
    get:
      summary: 控制设备电源
      deprecated: false
      description: >+
        ## 🔧 设置设备电源状态（执行电源操作）


        根据接口 `/getPowerOption` 返回的 tag（如 `standby`, `reboot`,
        `poweroff`），对设备执行相应的电源操作。


        ---

      tags:
        - 控制设备/按键控制
      parameters:
        - name: tag
          in: query
          description: 获取电源控制中的对应tag
          required: true
          example: reboot
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 控制设备/按键控制
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/6727011/apis/api-319483283-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
