{
    "name": "tplink",
    "displayName": "tp-link",
    "id": "024ff2e3-30df-44a1-9c8d-63cc416f1fb8",
    "vendors": [
        {
            "name": "tplink",
            "displayName": "tp-link",
            "id": "8603b6cf-52ec-4481-aca2-f29ebd6cd8a8",
            "thingClasses": [
                {
                    "id": "48f981ba-3836-4810-9744-a349088f4545",
                    "name": "kasaPlug100",
                    "displayName": "Kasa Smart Wi-Fi Plug (HS100/HS103/HS105/KP100/KP105)",
                    "createMethods": ["discovery"],
                    "interfaces": [ "powersocket", "wirelessconnectable" ],
                    "paramTypes": [
                        {
                            "id": "7c7a4d88-6c7e-4981-b4f2-090976c0c9bb",
                            "name": "id",
                            "displayName": "ID",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "79bcdd81-2e9d-4312-a4a7-85f808d046ef",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "1de7fac2-87f1-4c2b-9286-1b0895c5ac49",
                            "name": "signalStrength",
                            "displayName": "Signal strength",
                            "displayNameEvent": "Signal strength changed",
                            "type": "uint",
                            "unit": "Percentage",
                            "minValue": 0,
                            "maxValue": 100,
                            "defaultValue": 100
                        },
                        {
                            "id": "a8991ea0-89f0-477b-97fb-414dd7d185b3",
                            "name": "power",
                            "displayName": "Power",
                            "displayNameEvent": "Turned on or off",
                            "displayNameAction": "Turn on or off",
                            "type": "bool",
                            "defaultValue": false,
                            "writable": true,
                            "ioType": "digitalOutput"
                        }
                    ]
                },
                {
                    "id": "32830124-9efb-4614-8227-ee269b1889b0",
                    "name": "kasaPlug110",
                    "displayName": "Kasa Smart Wi-Fi Plug With Energy Monitoring (HS110)",
                    "createMethods": ["discovery"],
                    "interfaces": [ "powersocket", "smartmeterconsumer", "wirelessconnectable" ],
                    "paramTypes": [
                        {
                            "id": "de3238f7-fe94-440d-b212-61cd4e221b50",
                            "name": "id",
                            "displayName": "ID",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "b66825ec-9f1b-48da-af18-f36913291c0e",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "cb16cfb0-6608-486f-abe5-264aa652704d",
                            "name": "signalStrength",
                            "displayName": "Signal strength",
                            "displayNameEvent": "Signal strength changed",
                            "type": "uint",
                            "unit": "Percentage",
                            "minValue": 0,
                            "maxValue": 100,
                            "defaultValue": 100
                        },
                        {
                            "id": "f1a5fda4-87a6-46f6-9499-16811a5f4f4d",
                            "name": "power",
                            "displayName": "Power",
                            "displayNameEvent": "Turned on or off",
                            "displayNameAction": "Turn on or off",
                            "type": "bool",
                            "defaultValue": false,
                            "writable": true,
                            "ioType": "digitalOutput"
                        },
                        {
                            "id": "a3533121-69ee-44fd-8394-13373e8f960e",
                            "name": "totalEnergyConsumed",
                            "displayName": "Total energy consumed",
                            "displayNameEvent": "Total energy consumed changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0
                        },
                        {
                            "id": "ccb52b57-5800-4f03-b7fa-f36dcebe1d4e",
                            "name": "currentPower",
                            "displayName": "Current power consumption",
                            "displayNameEvent": "Current power consumption changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0,
                            "filter": "adaptive"
                        }
                    ]
                },
                {
                    "id": "d527e576-d65e-4ae6-ae43-c89b594fb4c1",
                    "name": "kasaSwitch200",
                    "displayName": "Kasa Smart Wi-Fi Light Switch (HS200)",
                    "createMethods": ["discovery"],
                    "interfaces": [ "light", "wirelessconnectable" ],
                    "paramTypes": [
                        {
                            "id": "fe989b2f-034e-4615-8a47-4a8aa775ed99",
                            "name": "id",
                            "displayName": "ID",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "8792b3d1-f83d-44c3-b649-249a935d1eb4",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "6387c4e3-b0c1-4151-a3c9-925929c2d51e",
                            "name": "signalStrength",
                            "displayName": "Signal strength",
                            "displayNameEvent": "Signal strength changed",
                            "type": "uint",
                            "unit": "Percentage",
                            "minValue": 0,
                            "maxValue": 100,
                            "defaultValue": 100
                        },
                        {
                            "id": "3b0daf6c-ba04-4ff1-a381-685c869665b1",
                            "name": "power",
                            "displayName": "Power",
                            "displayNameEvent": "Turned on or off",
                            "displayNameAction": "Turn on or off",
                            "type": "bool",
                            "defaultValue": false,
                            "writable": true
                        }
                    ]
                },
                {
                    "id": "bbdee989-9431-4187-b135-5030a7a11be2",
                    "name": "kasaPowerStrip300",
                    "displayName": "Kasa Smart Wi-Fi Power Strip (HS300)",
                    "createMethods": ["discovery"],
                    "interfaces": [ "gateway", "smartmeterconsumer", "wirelessconnectable" ],
                    "paramTypes": [
                        {
                            "id": "62b38ddf-f6d7-44e1-955f-f04b375d960d",
                            "name": "id",
                            "displayName": "ID",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "9bcec21d-7207-44c6-8ebf-d2720bb7a63a",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "1a587f62-8274-4c2e-bdc6-1b0b6368e5f7",
                            "name": "signalStrength",
                            "displayName": "Signal strength",
                            "displayNameEvent": "Signal strength changed",
                            "type": "uint",
                            "unit": "Percentage",
                            "minValue": 0,
                            "maxValue": 100,
                            "defaultValue": 100
                        },
                        {
                            "id": "f2992226-1f36-477f-b053-04dc5dc3a31c",
                            "name": "totalEnergyConsumed",
                            "displayName": "Total energy consumed",
                            "displayNameEvent": "Total energy consumed changed",
                            "type": "double",
                            "unit": "KiloWattHour",
                            "defaultValue": 0
                        },
                        {
                            "id": "f973b4e8-99fb-4331-8193-e287bd37f5a0",
                            "name": "currentPower",
                            "displayName": "Current power consumption",
                            "displayNameEvent": "Current power consumption changed",
                            "type": "double",
                            "unit": "Watt",
                            "defaultValue": 0
                        }
                    ]
                },
                {
                    "id": "2f40e28c-2484-4e09-bda9-e7accc29ab41",
                    "name": "kasaSocket",
                    "displayName": "Kasa power socket",
                    "createMethods": ["auto"],
                    "interfaces": ["powersocket", "wirelessconnectable"],
                    "paramTypes": [
                        {
                            "id": "dd944807-c7f2-49da-b443-b69eb8387f41",
                            "name": "id",
                            "displayName": "ID",
                            "type": "QString",
                            "defaultValue": ""
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "59feb3a8-d35e-4c10-ac2e-01361e711a5e",
                            "name": "connected",
                            "displayName": "Connected",
                            "displayNameEvent": "Connected changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false
                        },
                        {
                            "id": "16b71516-2ff4-4a2f-b0fc-53fff11f3a16",
                            "name": "signalStrength",
                            "displayName": "Signal strength",
                            "displayNameEvent": "Signal strength changed",
                            "type": "uint",
                            "unit": "Percentage",
                            "minValue": 0,
                            "maxValue": 100,
                            "defaultValue": 100
                        },
                        {
                            "id": "b1d006a6-f2f5-475c-ab9e-8b431b1ac5f8",
                            "name": "power",
                            "displayName": "Power",
                            "displayNameEvent": "Turned on or off",
                            "displayNameAction": "Turn on or off",
                            "type": "bool",
                            "defaultValue": false,
                            "writable": true,
                            "ioType": "digitalOutput"
                        }
                    ]
                }
            ]
        }
    ]
}
