{
  "pluginAlias": "DysonBP01",
  "pluginType": "accessory",
  "headerDisplay": "For instructions on how to set up your BroadLink RM and Dyson BP01, [follow these instructions](https://github.com/jeremynoesen/homebridge-dyson-bp01#hardware-setup).",
  "singular": false,
  "schema": {
    "type": "object",
    "properties": {
      "name": {
        "title": "Name",
        "type": "string",
        "default": "Dyson Pure Cool Me",
        "description": "Enter a name for the accessory. Changing this later will require you to set up the fan again using the instructions above.",
        "required": true
      },
      "serialNumber": {
        "title": "Serial Number",
        "type": "string",
        "placeholder": "XXX-XX-XXXXXXXX",
        "pattern": "^([A-Za-z0-9]{3})-([A-Za-z]{2})-([A-Za-z0-9]{8})$",
        "description": "Enter the serial number of your Dyson BP01 to display it as part of the accessory information. Leave this blank to use a placeholder.",
        "required": false
      },
      "macAddress": {
        "title": "MAC Address",
        "type": "string",
        "placeholder": "XX:XX:XX:XX:XX:XX",
        "pattern": "^([A-Fa-f0-9]{2}:){5}[A-Fa-f0-9]{2}$",
        "description": "Enter the MAC address of the BroadLink RM you want to use. Leave this blank for automatic discovery.",
        "required": false
      },
      "exposeSensors": {
        "title": "Expose Sensors",
        "type": "boolean",
        "description": "Check this to expose temperature and humidity sensors if you have the sensor cable for your BroadLink RM.",
        "required": false
      }
    }
  }
}