{
  "id": "switchbot-channel",
  "channels": ["switchbot"],
  "name": "SwitchBot",
  "version": "0.1.13",
  "description": "SwitchBot channel plugin for OpenClaw — real-time device status",
  "author": "SwitchBot Team",
  "license": "MIT",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "keywords": ["openclaw", "channel", "switchbot", "iot", "mqtt", "smart-home"],
  "repository": {
    "type": "git",
    "url": "https://github.com/SwitchBot/openclaw-channel"
  },
  "engines": {
    "node": ">=20.0.0",
    "openclaw": ">=2026.1.0"
  },
  "dependencies": {
    "mqtt": "5.10.3",
    "zod": "3.24.2"
  },
  "peerDependencies": {
    "openclaw": ">=2026.1.0"
  },
  "configSchema": {
    "type": "object",
    "properties": {
      "token": {
        "type": "string",
        "description": "SwitchBot API token from developer settings"
      },
      "secret": {
        "type": "string",
        "description": "SwitchBot API secret from developer settings"
      }
    }
  },
  "uiHints": {
    "token": { "label": "API Token", "placeholder": "从 SwitchBot App 开发者设置获取", "sensitive": true },
    "secret": { "label": "API Secret", "placeholder": "从 SwitchBot App 开发者设置获取", "sensitive": true }
  },
  "tools": ["switchbot_status"]
}