{
    "name": "Nanoleaf",
    "displayName": "Nanoleaf",
    "id": "360867ec-1594-498d-8182-fbab1fe17489",
    "vendors": [
        {
            "id": "3d7fdaa6-7896-419b-8be3-c90c42bcac7f",
            "name": "nanoleaf",
            "displayName": "Nanoleaf",
            "thingClasses": [
                {
                    "id": "d44ee383-9fa5-4751-babd-1129ac20896a",
                    "name": "lightPanels",
                    "displayName": "Light panels",
                    "interfaces": ["colorlight", "colortemperaturelight", "alert", "connectable"],
                    "createMethods": ["discovery"],
                    "setupMethod": "pushButton",
                    "browsable": true,
                    "paramTypes": [
                        {
                            "id": "ff57079f-d5ab-4511-8a5c-0726e7b82af6",
                            "name": "address",
                            "displayName": "Address",
                            "type" : "QString"
                        },
                        {
                            "id": "ba4fd45b-990d-480a-859d-fff7ffba3ba4",
                            "name": "port",
                            "displayName": "Port",
                            "type" : "int",
                            "readOnly": true
                        },
                        {
                            "id": "353d3c71-0ad2-40d5-99f6-cc305e2073f1",
                            "name": "model",
                            "displayName": "Model",
                            "type" : "QString",
                            "readOnly": true
                        },
                        {
                            "id": "18be4a5f-e2c2-4070-bc3e-ea9fe64f2276",
                            "name": "serialNo",
                            "displayName": "Serial number",
                            "type" : "QString",
                            "readOnly": true
                        },
                        {
                            "id": "1b85eebe-3b1a-49a9-bddb-2175d6599b95",
                            "name": "firmwareVersion",
                            "displayName": "Firmware version",
                            "type" : "QString",
                            "readOnly": true
                        }
                    ],
                    "actionTypes": [
                        {
                            "id": "47a6a1a1-fb90-4f24-be8c-b4dba0aaaa84",
                            "name": "alert",
                            "displayName": "Alert"
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "a3102107-a825-4ec8-a9ec-b2c2a9fb5c89",
                            "name": "connected",
                            "displayName": "Reachable",
                            "displayNameEvent": "Reachable changed",
                            "defaultValue": false,
                            "type": "bool",
                            "cached": false
                        },
                        {
                            "id": "44bee9ec-513d-4834-991a-ee9ae69d9f2a",
                            "name": "power",
                            "displayName": "Power",
                            "displayNameEvent": "Power changed",
                            "displayNameAction": "Set power",
                            "type": "bool",
                            "defaultValue": false,
                            "writable": true
                        },
                        {
                            "id": "41248127-844b-40be-87e6-38aee48b6687",
                            "name": "colorTemperature",
                            "displayName": "Color temperature",
                            "displayNameEvent": "Color temperature changed",
                            "displayNameAction": "Set color temperature",
                            "type": "int",
                            "unit": "Mired",
                            "defaultValue": 170,
                            "minValue": 153,
                            "maxValue": 500,
                            "writable": true
                        },
                        {
                            "id": "d4a52cdc-93b2-44fc-a36c-ae65f1d98f2e",
                            "name": "color",
                            "displayName": "Color",
                            "displayNameEvent": "Color changed",
                            "displayNameAction": "Set color",
                            "type": "QColor",
                            "defaultValue": "#000000",
                            "writable": true
                        },
                        {
                            "id": "4e5d6460-d42e-4b7c-a8f3-6e953451c1ef",
                            "name": "brightness",
                            "displayName": "Brightness",
                            "displayNameEvent": "Brightness changed",
                            "displayNameAction": "Set brightness",
                            "type": "int",
                            "unit": "Percentage",
                            "defaultValue": 0,
                            "minValue": 0,
                            "maxValue": 100,
                            "writable": true
                        },
                        {
                            "id": "bdd2ea1e-9ef9-4967-9678-2c601b826199",
                            "name": "colorMode",
                            "displayName": "Color mode",
                            "displayNameEvent": "Color mode changed",
                            "type": "QString",
                            "defaultValue": "Color temperature"
                        },
                        {
                            "id": "57f9831e-1b98-41c1-a21c-6073ff327237",
                            "name": "effectName",
                            "displayName": "Effect name",
                            "displayNameEvent": "Effect name changed",
                            "type": "QString",
                            "defaultValue": "-"
                        }
                    ]
                }
            ]
        }
    ]
}
