{
  "name": "homebridge-proflame",
  "version": "1.4.0",
  "description": "Homebridge plugin for Proflame fireplaces (Single Accessory) with all features including lamp control",
  "main": "index.js",
  "keywords": [
    "homebridge-plugin",
    "proflame",
    "fireplace"
  ],
  "engines": {
    "node": ">=14.17.0",
    "homebridge": ">=1.8.0 || >=2.0.0"
  },
  "author": "MoziT",
  "license": "MIT",
  "dependencies": {
    "ws": "^8.13.0"
  },
  "homebridge": {
    "pluginAlias": "ProflameFireplace",
    "pluginType": "accessory",
    "singular": true,
    "customUi": true,
    "config.schema": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "object",
      "layout": [
        {
          "type": "fieldset",
          "title": "Required Settings",
          "items": [
            "name",
            "ip"
          ]
        },
        {
          "type": "fieldset",
          "title": "Optional Features",
          "description": "Enable additional controls like pilot, fan, lamp, etc.",
          "expandable": true,
          "items": [
            "pilotEnabled",
            "fanEnabled",
            "splitFlowEnabled",
            "auxEnabled",
            "flameControlEnabled",
            "thermostatEnabled",
            "lampEnabled"
          ]
        }
      ],
      "properties": {
        "name": {
          "title": "Accessory Name",
          "type": "string",
          "default": "My Fireplace",
          "required": true
        },
        "ip": {
          "title": "Proflame IP Address",
          "type": "string",
          "default": "192.168.1.252",
          "required": true
        },
        "pilotEnabled": {
          "title": "Enable Pilot Mode",
          "type": "boolean",
          "default": false
        },
        "fanEnabled": {
          "title": "Enable Fan (with 6 speeds)",
          "type": "boolean",
          "default": false
        },
        "splitFlowEnabled": {
          "title": "Enable Split Flow",
          "type": "boolean",
          "default": false
        },
        "auxEnabled": {
          "title": "Enable Auxiliary Output",
          "type": "boolean",
          "default": false
        },
        "flameControlEnabled": {
          "title": "Enable Flame Control (with 6 levels)",
          "type": "boolean",
          "default": false
        },
        "thermostatEnabled": {
          "title": "Enable Thermostat Control",
          "type": "boolean",
          "default": false
        },
        "lampEnabled": {
          "title": "Enable Lamp/Light (with 6 levels)",
          "type": "boolean",
          "default": false
        }
      }
    }
  }
}
