{
  "pluginAlias": "LevoitHumidifiers",
  "pluginType": "platform",
  "singular": true,
  "schema": {
    "type": "object",
    "properties": {
      "name": {
        "title": "Name",
        "type": "string",
        "required": true,
        "default": "Levoit Humidifiers"
      },
      "email": {
        "title": "Email",
        "type": "string",
        "required": true,
        "description": "VeSync's account email."
      },
      "password": {
        "title": "Password",
        "type": "string",
        "required": true,
        "description": "VeSync's account password"
      },
      "accessories": {
        "type": "object",
        "properties": {
          "humidity_sensor": {
            "title": "Humidity Sensor",
            "type": "boolean",
            "default": true,
            "description": "Expose humidity sensor from device(s) to HomeKit"
          },
          "mist": {
            "title": "Mist Fan",
            "type": "boolean",
            "default": true,
            "description": "Enable fan for the Mist"
          },
          "warm_mist": {
            "title": "Warm Mist Fan",
            "type": "boolean",
            "default": true,
            "description": "Enable fan for Warm Mist"
          },
          "sleep_mode": {
            "title": "Sleep Mode Switch",
            "type": "boolean",
            "default": true,
            "description": "Enable switch for Sleep Mode"
          },
          "display": {
            "title": "Display Switch",
            "type": "boolean",
            "default": true,
            "description": "Enable switch for the Display"
          },
          "night_light": {
            "title": "Night Light Slider",
            "type": "boolean",
            "default": true,
            "description": "Enable brightness slider / switch for the Night Light"
          },
          "auto_pro": {
            "title": "Auto Pro Mode Switch",
            "type": "boolean",
            "default": true,
            "description": "Enables switch to turn on / off Auto Pro Mode on LEH_S601S / LUH_O601S models"
          }
        }
      },
      "options": {
        "type": "object",
        "properties": {
          "showOffWhenDisconnected": {
            "title": "Show Off When Disconnected",
            "type": "boolean",
            "default": false,
            "description": "When set to true, HomeKit will display unresponsive humidifiers as Off instead of Not Responding. Read the \"Note to Seasonal Humidifier Users\" in the README for more info."
          }
        }
      }
    }
  }
}