{
  "pluginAlias": "EufyRobovac",
  "pluginType": "platform",
  "headerDisplay": "Configure your RoboVac devices here.",
  "singular": true,
  "schema": {
    "type": "object",
    "properties": {
      "devices": {
        "description": "For information on how to obtain deviceId and localKey, go [here](https://github.com/hov3rcraft/eufy-robovac#readme).",
        "title": "Devices",
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "title": "Name",
              "type": "string",
              "default": "Vacuum Cleaner",
              "required": true
            },
            "deviceId": {
              "title": "Device ID",
              "type": "string",
              "required": true
            },
            "localKey": {
              "title": "Local Key",
              "type": "string",
              "required": true
            },
            "deviceIp": {
              "title": "Device IP",
              "description": "If your device has a static IP, enter it here to improve performance.",
              "type": "string",
              "required": false
            },
            "useSwitchService": {
              "title": "Use Switch for Vacuum (Default is Fan)",
              "type": "boolean",
              "required": false,
              "default": false
            },
            "findButtonEnabled": {
              "title": "Enable Find Button",
              "type": "boolean",
              "required": false,
              "default": true
            },
            "batteryInformationEnabled": {
              "title": "Enable Battery and Charging Information",
              "type": "boolean",
              "required": false,
              "default": true
            },
            "errorSensorEnabled": {
              "title": "Enable Error Sensor",
              "type": "boolean",
              "required": false,
              "default": true
            }
          }
        }
      },
      "debugLogEnabled": {
        "title": "Enable Debug Log",
        "description": "Diverts the log messages for all log levels directly to the console",
        "type": "boolean",
        "required": false,
        "default": false
      }
    }
  }
}