{
    "name": "tuya",
    "displayName": "Tuya",
    "id": "405643b3-22ec-4a36-9808-e8b1405b01c9",
    "vendors": [
        {
            "name": "tuya",
            "displayName": "Tuya",
            "id": "d5dd33a7-e5f6-48be-bdd9-1a1ec04152c9",
            "thingClasses": [
                {
                    "id": "dd6dcd91-f667-45a5-9594-12b95f94337e",
                    "name": "tuyaCloud",
                    "displayName": "Tuya cloud login",
                    "createMethods": ["user"],
                    "setupMethod": "userandpassword",
                    "interfaces": [ "account" ],
                    "stateTypes": [
                        {
                            "id": "c844a23a-301b-4e6c-ba18-2926a38e6bf5",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "33e9d30c-c988-4cd4-8d39-ce84bcfa79c5",
                            "name": "loggedIn",
                            "displayName": "Logged in",
                            "displayNameEvent": "Logged in changed",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "15bc38a7-0962-4f3b-a0b1-4f164958493b",
                            "name": "userDisplayName",
                            "displayName": "Username",
                            "displayNameEvent": "User changed",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ]
                },
                {
                    "id": "393d7256-e792-4dca-adb5-b13750e05391",
                    "name": "tuyaSwitch",
                    "displayName": "Tuya switch",
                    "createMethods": ["auto"],
                    "interfaces": ["powersocket", "connectable"],
                    "paramTypes": [
                        {
                            "id": "bfdb02b0-d12d-4385-a03d-d2c147c2aca2",
                            "name": "id",
                            "displayName": "ID",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "b5ac83c4-e1ff-4682-80f2-61cca097ed8f",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "c84a703a-d1c7-491d-9507-5a69b217ac53",
                            "name": "power",
                            "displayName": "Power",
                            "displayNameEvent": "Power changed",
                            "displayNameAction": "Set power",
                            "type": "bool",
                            "defaultValue": false,
                            "writable": true
                        }
                    ]
                },
                {
                    "id": "d4bb0170-596d-4904-8fd0-fd8e7ad39f72",
                    "name": "tuyaClosable",
                    "displayName": "Tuya blinds",
                    "createMethods": ["auto"],
                    "interfaces": ["blind", "connectable"],
                    "paramTypes": [
                        {
                            "id": "b9b2bb1f-b44b-43d7-8bbb-e67cf1b5d0a0",
                            "name": "id",
                            "displayName": "ID",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "cf051676-3041-4e90-8c37-63e98412dfe8",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        }
                    ],
                    "actionTypes": [
                        {
                            "id": "f9f34515-670d-439e-851a-0bf82f867882",
                            "name": "open",
                            "displayName": "Open blinds"
                        },
                        {
                            "id": "f266ea4a-052f-466b-bf31-8c5c7e80a843",
                            "name": "close",
                            "displayName": "Close blinds"
                        },
                        {
                            "id": "8fc2ea7d-b945-41c8-bbda-820bdadc9e02",
                            "name": "stop",
                            "displayName": "Stop"
                        }
                    ]
                }
            ]
        }
    ]
}
