{
    "name": "Philips Hue",
    "idName": "PhilipsHue",
    "id": "5f2e634b-b7f3-48ee-976a-b5ae22aa5c55",
    "vendors": [
        {
            "id": "0ae1e001-2aa6-47ed-b8c0-334c3728a68f",
            "name": "Philips",
            "idName": "philips",
            "deviceClasses": [
                {
                    "deviceClassId": "642aa4c7-19aa-45ed-ba06-aa1ae6c9edf7",
                    "idName": "hueBridge",
                    "name": "Hue Bridge",
                    "createMethods": ["discovery"],
                    "setupMethod": "pushButton",
                    "pairingInfo": "Please press the button on the Hue Bridge within 30 seconds before you continue",
                    "paramTypes": [
                        {
                            "name": "name",
                            "type" : "QString",
                            "inputType": "TextLine"
                        },
                        {
                            "name": "api key",
                            "type" : "QString",
                            "inputType": "TextLine",
                            "readOnly": true
                        },
                        {
                            "name": "host address",
                            "type" : "QString",
                            "inputType": "IPv4Address",
                            "readOnly": true
                        },
                        {
                            "name": "mac address",
                            "type" : "QString",
                            "inputType": "MacAddress",
                            "readOnly": true
                        },
                        {
                            "name": "api version",
                            "type" : "QString",
                            "readOnly": true
                        },
                        {
                            "name": "software version",
                            "type" : "QString",
                            "readOnly": true
                        },
                        {
                            "name": "zigbee channel",
                            "type" : "int",
                            "readOnly": true
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "15794d26-fde8-4a61-8f83-d7830534975f",
                            "idName": "bridgeReachable",
                            "name": "reachable",
                            "type": "bool"
                        }
                    ]
                },
                {
                    "deviceClassId": "0edba26c-96ab-44fb-a6a2-c0574d19630e",
                    "idName": "hueLight",
                    "name": "Hue Light",
                    "createMethods": ["auto"],
                    "paramTypes": [
                        {
                            "name": "name",
                            "type" : "QString",
                            "inputType": "TextLine"
                        },
                        {
                            "name": "bridge",
                            "type" : "QString",
                            "readOnly": true
                        },
                        {
                            "name": "model id",
                            "type" : "QString",
                            "readOnly": true
                        },
                        {
                            "name": "api key",
                            "type" : "QString",
                            "inputType": "TextLine",
                            "readOnly": true
                        },
                        {
                            "name": "host address",
                            "type" : "QString",
                            "inputType": "IPv4Address",
                            "readOnly": true
                        },
                        {
                            "name": "light id",
                            "type" : "int",
                            "readOnly": true
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "19bb8d10-1b28-4ba3-99b7-a634138dcfde",
                            "idName": "hueReachable",
                            "name": "reachable",
                            "type": "bool"
                        },
                        {
                            "id": "90aaffe5-6a76-47d2-a14a-550f60390245",
                            "idName": "huePower",
                            "name": "power",
                            "type": "bool",
                            "defaultValue": false,
                            "writable": true
                        },
                        {
                            "id": "c0f4206f-f219-4f06-93c4-4ca515a56f79",
                            "idName": "hueTemperature",
                            "name": "color temperature",
                            "type": "int",
                            "unit": "Mired",
                            "defaultValue": 170,
                            "minValue": 153,
                            "maxValue": 500,
                            "writable": true
                        },
                        {
                            "id": "d25423e7-b924-4b20-80b6-77eecc65d089",
                            "idName": "hueColor",
                            "name": "color",
                            "type": "QColor",
                            "defaultValue": "#000000",
                            "writable": true

                        },
                        {
                            "id": "90e91f64-a208-468c-a5a2-7f47e08859e2",
                            "idName": "hueBrightness",
                            "name": "brightness",
                            "type": "int",
                            "unit": "Percentage",
                            "defaultValue": 0,
                            "minValue": 0,
                            "maxValue": 100,
                            "writable": true

                        },
                        {
                            "id": "0b7cdd8d-4db8-4183-abe2-f3c01d1c9afc",
                            "idName": "hueEffect",
                            "name": "effect",
                            "type": "QString",
                            "defaultValue": "none",
                            "possibleValues": [
                                "none",
                                "color loop"
                            ],
                            "writable": true
                        }
                    ],
                    "actionTypes": [
                        {
                            "id": "d25dcfbc-d28c-4905-80e3-300ffb1248f5",
                            "idName": "hueAlert",
                            "name": "flash",
                            "paramTypes": [
                                {
                                    "name": "alert",
                                    "type": "QString",
                                    "allowedValues": [
                                        "flash once",
                                        "flash 30 seconds"
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}
