{
    "name": "LgSmartTv",
    "displayName": "LG Smart Tv",
    "id": "4ef7a68b-9da0-4c62-b9ac-f478dc6f9f52",
    "vendors": [
        {
            "name": "lg",
            "displayName": "LG",
            "id": "a9af9673-78db-4226-a16b-f34b304f7041",
            "deviceClasses": [
                {
                    "id": "1d41b5a8-74ff-4a12-b365-c7bbe610848f",
                    "name": "lgSmartTv",
                    "displayName": "LG Smart Tv",
                    "createMethods": [ "discovery" ],
                    "setupMethod": "displayPin",
                    "interfaces": ["connectable"],
                    "paramTypes": [
                        {
                            "id": "797a1915-cb85-400a-9c1a-db09c73b54d5",
                            "name": "name",
                            "displayName": "name",
                            "type": "QString",
                            "inputType": "TextLine"
                        },
                        {
                            "id": "0deec372-b955-49d2-9906-fc1a603dd637",
                            "name": "model",
                            "displayName": "model",
                            "type": "QString",
                            "inputType": "TextLine"
                        },
                        {
                            "id": "0af152bb-8844-44d8-afee-d08bb0e28558",
                            "name": "uuid",
                            "displayName": "uuid",
                            "type": "QString",
                            "inputType": "TextLine"
                        },
                        {
                            "id": "9710c07c-0725-4099-bf73-2513efbc0872",
                            "name": "hostAddress",
                            "displayName": "host address",
                            "type": "QString",
                            "inputType": "IPv4Address"
                        },
                        {
                            "id": "442abce0-16f9-4628-9534-e98e7f1c0a51",
                            "name": "port",
                            "displayName": "port",
                            "type": "int"
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "b056c36b-df87-4177-8d5d-1e7c1e8cdc7a",
                            "name": "connected",
                            "displayName": "Reachable",
                            "displayNameEvent": "Reachable changed",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "8ad3d77f-d340-495d-8c2a-5569a80e9d36",
                            "name": "tv3DMode",
                            "displayName": "3D mode",
                            "displayNameEvent": "3D mode changed",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "07d39a6e-7eab-42d0-851d-9f3bcd3bbb57",
                            "name": "tvVolumeLevel",
                            "displayName": "volume",
                            "displayNameEvent": "Volume changed",
                            "type": "int",
                            "unit": "Percentage",
                            "defaultValue": 0
                        },
                        {
                            "id": "a6ac9061-3de7-403a-a646-790ca5d73764",
                            "name": "tvMute",
                            "displayNameEvent": "mute changed",
                            "displayName": "mute",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "84c86670-77c7-4fc6-9e23-abca066e76aa",
                            "name": "tvChannelType",
                            "displayName": "tv channel type",
                            "displayNameEvent": "tc channel type changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "265dc5f7-3f4d-4002-a6fe-2a53986bcf1d",
                            "name": "tvChannelName",
                            "displayName": "channel name",
                            "displayNameEvent": "channel name changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "881629a3-4ce2-42ba-8ce6-10d90c383799",
                            "name": "tvChannelNumber",
                            "displayName": "channel number",
                            "displayNameEvent": "channel number changed",
                            "type": "int",
                            "defaultValue": 0
                        },
                        {
                            "id": "3f53e52e-1ad7-40e7-8080-76908e720cac",
                            "name": "tvProgramName",
                            "displayName": "program",
                            "displayNameEvent": "program changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "e895017a-139f-410c-bfb2-4d008104e164",
                            "name": "tvInputSourceIndex",
                            "displayName": "input source index",
                            "displayNameEvent": "input source index changed",
                            "type": "int",
                            "defaultValue": 0
                        },
                        {
                            "id": "58b734ec-2269-4c57-99e1-e1eeee401053",
                            "name": "tvInputSourceLabelName",
                            "displayName": "input source",
                            "displayNameEvent": "input source changed",
                            "type": "QString",
                            "defaultValue": "-"
                        }
                    ],
                    "actionTypes": [
                        {
                            "id": "ac5d7dcd-dfe8-4a94-9ab9-21b3f804b39e",
                            "name": "commandVolumeUp",
                            "displayName": "volume up"
                        },
                        {
                            "id": "62b17bec-f461-4ffa-93d1-67a9430d55e1",
                            "name": "commandVolumeDown",
                            "displayName": "volume down"
                        },
                        {
                            "id": "1aa9d7f0-0f66-4b90-bb72-f6b7b2118221",
                            "name": "commandMute",
                            "displayName": "mute"
                        },
                        {
                            "id": "b7e31999-ba67-443d-8e5c-ec104af987bd",
                            "name": "commandUnmute",
                            "displayName": "unmute"
                        },
                        {
                            "id": "acd1f6a0-2cfa-4665-9607-cf94245ec5a3",
                            "name": "commandChannelUp",
                            "displayName": "channel up"
                        },
                        {
                            "id": "6ea66772-0e6d-40b1-978c-a01fb53871dd",
                            "name": "commandChannelDown",
                            "displayName": "channel down"
                        },
                        {
                            "id": "cbe41134-ff11-4916-815b-3ac289c64090",
                            "name": "commandPowerOff",
                            "displayName": "power off"
                        },
                        {
                            "id": "57c483b4-4ddf-4470-828c-8d8767e7a923",
                            "name": "commandArrowUp",
                            "displayName": "arrow up"
                        },
                        {
                            "id": "614cf1af-5cf7-4bb2-885c-4414078d8899",
                            "name": "commandArrowDown",
                            "displayName": "arrow down"
                        },
                        {
                            "id": "916394dd-7833-4875-8d7a-49d7d24ceeb2",
                            "name": "commandArrowLeft",
                            "displayName": "arrow left"
                        },
                        {
                            "id": "01e3df1e-638b-4e14-ba85-660267766062",
                            "name": "commandArrowRight",
                            "displayName": "arrow right"
                        },
                        {
                            "id": "257dfa59-0d38-4e18-a3fc-213809fdb12f",
                            "name": "commandOk",
                            "displayName": "OK"
                        },
                        {
                            "id": "ce4184b3-6b8e-4fc3-a4cb-7b8ec72f2ce9",
                            "name": "commandBack",
                            "displayName": "back"
                        },
                        {
                            "id": "33f941c1-f5fc-4449-b6e3-93eafca493e0",
                            "name": "commandHome",
                            "displayName": "home"
                        },
                        {
                            "id": "9a6e5111-95d3-49ac-8056-249e704b1509",
                            "name": "commandInputSource",
                            "displayName": "input source"
                        },
                        {
                            "id": "d76efdb8-056e-4b39-a839-2ef6d6001b00",
                            "name": "commandExit",
                            "displayName": "exit"
                        },
                        {
                            "id": "9c1290d5-3135-4124-a576-fc7522cffdcf",
                            "name": "commandInfo",
                            "displayName": "info"
                        },
                        {
                            "id": "47d65cac-fe75-4c36-9dee-9862c1c1130e",
                            "name": "commandMyApps",
                            "displayName": "my apps"
                        },
                        {
                            "id": "9aa3a97e-505d-4906-9764-14b6dc4e31e8",
                            "name": "commandProgramList",
                            "displayName": "program list"
                        }
                    ]
                }
            ]
        }
    ]
}
