{
  "pluginAlias": "HomebridgeDeconzConverter",
  "pluginType": "platform",
  "singular": true,
  "schema": {
    "host": {
      "title": "Host",
      "type": "string",
      "required": true,
      "default": "127.0.0.1"
    },
    "useHTTPS": {
      "title": "Use HTTPS",
      "description": "Is your host protected over HTTPS?",
      "type": "boolean",
      "default": false
    },
    "apiKey": {
      "title": "API Key",
      "description": "To see how to get you API key, visit: https://dresden-elektronik.github.io/deconz-rest-doc/getting_started/#acquire-an-api-key",
      "type": "string",
      "required": true
    },
    "port": {
      "title": "WebSocket Port",
      "description": "To see how to get your WebSocket Port, visit: https://dresden-elektronik.github.io/deconz-rest-doc/endpoints/websocket/",
      "type": "string",
      "required": true
    },
    "rollerShutters": {
      "type": "array",
      "items": {
        "title": "Roller Shutters",
        "type": "object",
        "properties": {
          "displayName": {
            "title": "Name",
            "type": "string"
          },
          "uniqueId": {
            "title": "Unique ID",
            "type": "string",
            "placeholder": "00:00:00:00:00:00:00:00-01",
            "description": "To see how to list all your 'lights' and get their `uniqueId`, visit: https://dresden-elektronik.github.io/deconz-rest-doc/getting_started/#get-a-list-of-all-lights"
          }
        }
      }
    },
    "nodonMultifonctions": {
      "type": "array",
      "items": {
        "title": "NodOn Multifonctions Modules",
        "type": "object",
        "properties": {
          "displayName": {
            "title": "Name",
            "type": "string"
          },
          "uniqueId": {
            "title": "Unique ID",
            "type": "string",
            "placeholder": "00:00:00:00:00:00:00:00-01",
            "description": "To see how to list all your 'lights' and get their `uniqueId`, visit: https://dresden-elektronik.github.io/deconz-rest-doc/getting_started/#get-a-list-of-all-lights"
          }
        }
      }
    },
    "contactSensors": {
      "type": "array",
      "items": {
        "title": "Contact Sensors",
        "type": "object",
        "properties": {
          "displayName": {
            "title": "Name",
            "type": "string"
          },
          "uniqueId": {
            "title": "Unique ID",
            "type": "string",
            "placeholder": "00:00:00:00:00:00:00:00-01",
            "description": "To see how to list all your 'sensors' and get their `uniqueId`, visit: https://dresden-elektronik.github.io/deconz-rest-doc/endpoints/sensors/#get-all-sensors"
          }
        }
      }
    }
  }
}
