{
    "name": "Nuki",
    "displayName": "Nuki",
    "id": "e5806d75-a40e-4766-a272-5a3a8d3ed625",
    "vendors": [
        {
            "name": "nuki",
            "displayName": "Nuki",
            "id": "bf313b83-2ac5-4d22-bf0e-c13d3b4caf52",
            "thingClasses": [
                {
                    "id": "4a1cc5d9-9b44-4632-8db0-66d64efd4767",
                    "name": "nuki",
                    "displayName": "Smartlock",
                    "interfaces": [ "smartlock", "connectable", "battery" ],
                    "createMethods": [ "discovery" ],
                    "setupMethod": "pushButton",
                    "paramTypes": [
                        {
                            "id": "2477abba-874b-4c48-b543-7b911ff215b3",
                            "name": "name",
                            "displayName": "Name",
                            "type": "QString",
                            "inputType": "TextLine"
                        },
                        {
                            "id": "30976794-6066-4f72-8135-6d50499247a5",
                            "name": "mac",
                            "displayName": "MAC address",
                            "type": "QString",
                            "inputType": "MacAddress"
                        },
                        {
                            "id": "ea51d911-f94a-4d2d-97fd-9f1d4c6519bf",
                            "name": "serialNumber",
                            "displayName": "Serial number",
                            "type": "QString",
                            "inputType": "TextLine"
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "d5fbd774-4e87-4c7c-8c92-f094352897f6",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "e9ffe14f-b71d-44cd-96c7-eb90fe243e13",
                            "name": "batteryCritical",
                            "displayName": "Battery critical",
                            "displayNameEvent": "Battery critical changed",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "a47dec8b-4df2-4acd-895b-bfeacbcb6f2e",
                            "name": "status",
                            "displayName": "Status",
                            "displayNameEvent": "Status changed",
                            "type": "QString",
                            "possibleValues": [
                                "Ok",
                                "Uncalibrated",
                                "Motor blocked",
                                "Undefined"
                            ],
                            "defaultValue": "Undefined"
                        },
                        {
                            "id": "07a09bd8-b342-4e33-92cd-0af21f8689fa",
                            "name": "state",
                            "displayName": "State",
                            "displayNameEvent": "State changed",
                            "type": "QString",
                            "possibleValues": [
                                "locked",
                                "locking",
                                "unlocked",
                                "unlocking",
                                "unlatched",
                                "unlatching"
                            ],
                            "defaultValue": "locked"
                        },
                        {
                            "id": "4e291e6a-2b90-4e6c-bad4-5400e6db4f05",
                            "name": "mode",
                            "displayName": "Mode",
                            "displayNameEvent": "Mode changed",
                            "type": "QString",
                            "possibleValues": [
                                "Uninitialized",
                                "Pairing",
                                "Door"
                            ],
                            "defaultValue": "Uninitialized"
                        },
                        {
                            "id": "b67bc7a6-2d6b-46e8-8e59-e4eab2e5292a",
                            "name": "trigger",
                            "displayName": "Trigger",
                            "displayNameEvent": "Trigger changed",
                            "type": "QString",
                            "possibleValues": [
                                "Bluetooth",
                                "Manual",
                                "Button"
                            ],
                            "defaultValue": "Bluetooth"
                        },
                        {
                            "id": "b1b0eafb-e5f2-47d3-bd18-74a21129f9b5",
                            "name": "hardwareRevision",
                            "displayName": "Hardware revision",
                            "displayNameEvent": "Hardware revision changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "9dc0115b-cdb4-472c-961b-b182f77a576f",
                            "name": "firmwareRevision",
                            "displayName": "Firmware revision",
                            "displayNameEvent": "Firmware revision changed",
                            "type": "QString",
                            "defaultValue": "-"
                        }
                    ],
                    "actionTypes": [
                        {
                            "id": "55d25891-89b9-4a9f-a2b3-774eccf30183",
                            "name": "close",
                            "displayName": "Lock"
                        },
                        {
                            "id": "76e96738-5336-4b9a-87f7-1822307b5a39",
                            "name": "open",
                            "displayName": "Unlock"
                        },
                        {
                            "id": "45be8d24-17c3-422b-b264-381e673bb3c8",
                            "name": "unlatch",
                            "displayName": "Open door"
                        },
                        {
                            "id": "7c9d5c5d-d8c1-424b-8620-daa3a757576b",
                            "name": "refresh",
                            "displayName": "Refresh"
                        }
                    ]
                }
            ]
        }
    ]
}
