{
  "pluginAlias": "Daikin Local Platform",
  "pluginType": "platform",
  "singular": true,
  "customUi": true,
  "schema": {
    "type": "object",
    "properties": {
      "name": {
        "title": "Plugin Name",
        "description": "This name will be displayed in the Homebridge log.",
        "type": "string",
        "default": "Daikin Local Platform",
        "placeholder": "Daikin Local Platform",
        "required": true
      },
      "climateIPs": {
        "type": "array",
        "description": "The IP addresses of the Daikin climate devices to be controlled.",
        "items": {
          "title": "IP Addresses",
          "type": "string"
        }
      },
      "climateKeys": {
        "type": "array",
        "description": "13-digit keys for secure (BRP072C) adapters. One entry per device, in the form { \"<ip exactly as written in climateIPs>\": \"<key>\" }. Edited from the device list in the settings UI.",
        "items": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "climateCoolingOnly": {
        "type": "array",
        "description": "Units to expose as cooling-only in HomeKit (Heating and Auto hidden), by IP exactly as written in climateIPs. For cool-only models whose firmware still reports heating. Edited from the device list in the settings UI.",
        "items": {
          "type": "string"
        }
      },
      "climateSwingSwitches": {
        "type": "array",
        "description": "Units that get separate Vertical Swing and Horizontal Swing switches in HomeKit (in addition to the standard swing toggle), by IP exactly as written in climateIPs. Edited from the device list in the settings UI.",
        "items": {
          "type": "string"
        }
      },
      "language": {
        "title": "HomeKit Name Language",
        "description": "Language for the default HomeKit names of the switches and sensors this plugin creates (e.g. Outdoor Temperature, Vertical Swing, Horizontal Swing). Same options as the Homebridge UI language; the settings UI defaults it to the language selected there. Names changed in the Home app are never touched.",
        "type": "string",
        "default": "en",
        "oneOf": [
          { "title": "Bulgarian (bg)", "enum": ["bg"] },
          { "title": "Catalan (ca)", "enum": ["ca"] },
          { "title": "Chinese - Simplified (zh-CN)", "enum": ["zh-CN"] },
          { "title": "Chinese - Traditional (zh-TW)", "enum": ["zh-TW"] },
          { "title": "Czech (cs)", "enum": ["cs"] },
          { "title": "Dutch (nl)", "enum": ["nl"] },
          { "title": "English (en)", "enum": ["en"] },
          { "title": "Finnish (fi)", "enum": ["fi"] },
          { "title": "French (fr)", "enum": ["fr"] },
          { "title": "German (de)", "enum": ["de"] },
          { "title": "Hebrew (he)", "enum": ["he"] },
          { "title": "Hungarian (hu)", "enum": ["hu"] },
          { "title": "Indonesian (id)", "enum": ["id"] },
          { "title": "Italian (it)", "enum": ["it"] },
          { "title": "Japanese (ja)", "enum": ["ja"] },
          { "title": "Korean (ko)", "enum": ["ko"] },
          { "title": "Macedonian (mk)", "enum": ["mk"] },
          { "title": "Norwegian (no)", "enum": ["no"] },
          { "title": "Polish (pl)", "enum": ["pl"] },
          { "title": "Portuguese (Brazil)", "enum": ["pt-BR"] },
          { "title": "Portuguese (Portugal)", "enum": ["pt"] },
          { "title": "Russian (ru)", "enum": ["ru"] },
          { "title": "Slovenian (sl)", "enum": ["sl"] },
          { "title": "Spanish (es)", "enum": ["es"] },
          { "title": "Swedish (sv)", "enum": ["sv"] },
          { "title": "Thai (th)", "enum": ["th"] },
          { "title": "Turkish (tr)", "enum": ["tr"] },
          { "title": "Ukrainian (uk)", "enum": ["uk"] }
        ]
      },
      "debugMode": {
        "title": "Debug Mode",
        "description": "When enabled, debug messages will be written to the log.",
        "type": "boolean",
        "default": false
      }
    }
  }
}
