{
  "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"
        }
      },
      "climateMatter": {
        "type": "array",
        "description": "Units published over Matter instead of HomeKit (HAP), by IP exactly as written in climateIPs. Takes effect only while Matter is enabled on this plugin's bridge. Edited from the device list in the settings UI.",
        "items": {
          "type": "string"
        }
      },
      "climateMatterMigration": {
        "type": "array",
        "description": "Units published over both HomeKit (HAP) and Matter while moving them to Matter, by IP exactly as written in climateIPs, so the Matter accessory can be set up in the Home app while the HomeKit one keeps working. Takes precedence over climateMatter. Edited from the device list in the settings UI.",
        "items": {
          "type": "string"
        }
      },
      "climateMatterSwing": {
        "type": "array",
        "description": "Units published over Matter that also get a separate Swing switch accessory (all vane axes at once), by IP exactly as written in climateIPs. Matter has no swing control the Apple Home app shows. Edited from the device list in the settings UI.",
        "items": {
          "type": "string"
        }
      },
      "climateSetpointAsTemperature": {
        "type": "array",
        "description": "Units whose Home app tile shows the target temperature instead of the unit's own room temperature reading, by IP exactly as written in climateIPs. For units whose built-in sensor reads far off the real room temperature. Edited from the device list in the settings UI.",
        "items": {
          "type": "string"
        }
      },
      "climateOutdoorSeparate": {
        "type": "array",
        "description": "Units whose outdoor temperature sensor is an accessory of its own instead of part of the unit's accessory, so the Home app can put it in another room, by IP exactly as written in climateIPs. Over Matter the sensor always is. Edited from the device list in the settings UI.",
        "items": {
          "type": "string"
        }
      },
      "climateOutdoorHidden": {
        "type": "array",
        "description": "Units that publish no outdoor temperature sensor, by IP exactly as written in climateIPs (takes precedence over climateOutdoorSeparate). Units on the same outdoor unit report the same reading. 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
      }
    }
  }
}
