{
  "pluginAlias": "skyq-tvremote",
  "pluginType": "platform",
  "headerDisplay": "Sky Q set-top boxes are exposed to HomeKit as separate accessories and each needs to be manually paired.\n\n1. Open the Home <img src='https://user-images.githubusercontent.com/3979615/78010622-4ea1d380-738e-11ea-8a17-e6a465eeec35.png' height='16.42px'> app on your device.\n2. Tap the Home tab, then tap <img src='https://user-images.githubusercontent.com/3979615/78010869-9aed1380-738e-11ea-9644-9f46b3633026.png' height='16.42px'>.\n3. Tap *Add Accessory*, and select *I Don't Have a Code or Cannot Scan*.\n4. Enter the Homebridge PIN, this can be found under the QR code in Homebridge UI or your Homebridge logs, alternatively you can select *Use Camera* and scan the QR code again.\n\nFor help and examples of common configurations please read the [read me](https://github.com/neilpatel121/homebridge-skyq-tvremote).",
  "singular": true,
  "schema": {
    "devices": {
      "type": "array",
      "uniqueItems": true,
      "items": {
        "title": "Sky Q Set-Top Box",
        "type": "object",
        "properties": {
          "name": {
            "title": "Name",
            "type": "string",
            "required": true,
            "placeholder": "Sky Q TV",
            "description": "Name of the set-top box."
          },
          "ipAddress": {
            "title": "IP Address",
            "type": "string",
            "required": true,
            "placeholder": "192.168.0.2",
            "format": "ipv4",
            "description": "The IPv4 address of your Sky Q Box."
          }
        }
      }
    }
  },
  "layout": [
    {
      "key": "devices",
      "type": "array",
      "buttonText": "Add Sky Q Set-Top Box",
      "items": [
        "devices[].name",
        "devices[].ipAddress"
      ]
    }
  ]
}
