{
  "pluginAlias": "Luxor",
  "pluginType": "platform",
  "singular": false,
  "headerDisplay": "This is a PLATFORM module for the [HomeBridge Platform](https://github.com/nfarina/homebridge) to control [FX Luminaire](http://www.FXL.com).  This plug-in enables power and brightness controls for [FX Luminaire Luxor ZD](http://www.fxl.com/product/power-and-control/luxor-zd) and, additionally color, on the [FX Luminaire Luxor ZDC](http://www.fxl.com/product/power-and-control/luxor-zdc).",
  "footerDisplay": "",
  "schema": {
    "type": "object",
    "properties": {
      "name": {
        "title": "Name",
        "type": "string",
        "default": "Luxor",
        "required": true
      },
      "ipAddr": {
        "title": "IP Address",
        "type": "string",
        "required": true,
        "default": "192.168.0.1",
        "format": "ipv4"
      },
      "hideGroups": {
        "title": "Hide light groups (show only themes)",
        "type": "boolean"
      },
      "noAllThemes":{
        "title": "Do not create the Illuminate All and Extinguish All themes",
        "type": "boolean"
      },
      "independentColors": {
        "title": "Use independent colors for each Light Group (legacy behavior)",
        "type": "boolean"
      },
      "commandTimeout":{
        "title": "Adjust the amount of time (in milliseconds) that the plugin will wait for each HTTP request to the server",
        "type": "integer",
        "default": 750
      },
      "removeAccessories": {
        "title": "Remove specific accessory/accessories",
        "type": "string",
        "required": false,
        "default": "",
        "description": "Enter specific UUID's separated by a comma to remove individual lights/themes before adding new ones.  After enabling this feature, restart Homebridge, then disable it and restart Homebrige."
      },
      "removeAllAccessories": {
        "title": "Remove all accessory/accessories",
        "type": "boolean",
        "required": false,
        "default": false,
        "description": "Set 'true' to have homebridge-luxor remove all cached accessories before re-adding new ones.  After enabling this feature, restart Homebridge, then disable it and restart Homebrige."
      }
    }
  },
  "layout": [
    {
      "key": "Name",
      "title": "Name",
      "placeholder": "Luxor"
    },
    {
      "key": "ipAddr",
      "title": "IP Address",
      "placeholder": "192.168.0.1"
    },
    {
      "key": "hideGroups",
      "placeholder": false
    },
    {
      "key": "noAllThemes",
      "placeholder": false
    },
    {
      "key": "independentColors", 
      "placeholder": false
    },
    {
      "key": "commandTimeout",
      "placeholder": 750
    },
    {
      "type": "section",
      "title": "Panic Button",
      "expandable": true,
      "expanded": false,
      "items": [
        {
          "key": "removeAccessories",
          "type": "string",
          "notitle": false
        },
        {
          "key": "removeAllAccessories",
          "type": "boolean",
          "notitle": false
        }
      ]
    }
  ]
}