{
  "pluginAlias": "MaxCubePlatform",
  "pluginType": "platform",
  "footerDisplay": "For documentation please see https://github.com/normen/homebridge-platform-maxcube",
  "schema": {
    "name": {
      "title": "Name",
      "default": "MaxCube Platform",
      "description": "The name of this plugin as it appears in the homebridge log",
      "type": "string",
      "required": true
    },
    "ip": {
      "title": "IP / Hostname",
      "type": "string",
      "description": "The IP or hostname of your Max! Cube, find and/or set it through your router",
      "placeholder": "192.168.1.90",
      "required": true
    },
    "port": {
      "title": "Port",
      "type": "number",
      "default": 62910,
      "required": true
    },
    "windowsensor": {
      "title": "Show Window Sensors",
      "description": "Show window sensors as contact sensors in HomeKit",
      "type": "boolean",
      "default": true,
      "required": false
    },
    "allow_wall_thermostat": {
      "title": "Show Wall Thermostats",
      "description": "By default wall thermostats are not shown in HomeKit",
      "type": "boolean",
      "default": false,
      "required": false
    },
    "only_wall_thermostat": {
      "title": "Show Only Wall Thermostats",
      "description": "Set this if you only want to control wall thermostats in HomeKit",
      "type": "boolean",
      "default": false,
      "required": false
    }
  }
}
