{
    "name": "DateTime",
    "displayName": "Time",
    "id": "c26014c6-87fb-4233-85ed-01d18625018d",
    "vendors": [
        {
            "name": "nymea",
            "displayName": "nymea",
            "id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6",
            "deviceClasses": [
                {
                    "id": "fbf665fb-9aca-423f-a5f2-924e50ebe6ca",
                    "name": "today",
                    "displayName": "Today",
                    "interfaces": [ "daylightsensor" ],
                    "createMethods": ["user"],
                    "paramTypes": [ ],
                    "stateTypes": [
                        {
                            "id": "ab16997c-be29-438e-b588-2507d723d264",
                            "name": "timeZone",
                            "displayName": "timezone",
                            "displayNameEvent": "timezone changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "65d2a5ff-bcab-43a8-b043-f88cf01586f4",
                            "name": "city",
                            "displayName": "city",
                            "displayNameEvent": "city changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "a534bd8b-6826-4d71-b9f9-df1433964b94",
                            "name": "country",
                            "displayName": "country",
                            "displayNameEvent": "country changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "eb5231ea-6a1b-4d7e-a95f-d49e7b25122e",
                            "name": "day",
                            "displayName": "day",
                            "displayNameEvent": "day changed",
                            "type": "int",
                            "defaultValue": 1,
                            "minValue": 1,
                            "maxValue": 31
                        },
                        {
                            "id": "fcd8ec96-4488-438a-8b30-58bfe2a7fae2",
                            "name": "month",
                            "displayName": "month",
                            "displayNameEvent": "month changed",
                            "type": "int",
                            "defaultValue": 1,
                            "minValue": 1,
                            "maxValue": 12
                        },
                        {
                            "id": "a37acc9c-5cfb-4687-adce-e56beb32586f",
                            "name": "monthName",
                            "displayName": "month name",
                            "displayNameEvent": "month name changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "79d4ae9b-ea27-4346-8229-1d90f1ddfc9d",
                            "name": "year",
                            "displayName": "year",
                            "displayNameEvent": "year changed",
                            "type": "int",
                            "defaultValue": "1970"
                        },
                        {
                            "id": "452c0388-7fa1-414e-aeb2-8c7c385824b4",
                            "name": "weekday",
                            "displayName": "weekday",
                            "displayNameEvent": "weekday changed",
                            "type": "int",
                            "defaultValue": 1,
                            "minValue": 1,
                            "maxValue": 7
                        },
                        {
                            "id": "f627d052-cee6-4727-b9c6-0e935d41e04a",
                            "name": "weekdayName",
                            "displayName": "weekday name",
                            "displayNameEvent": "weekday name changed",
                            "type": "QString",
                            "defaultValue": "-"
                        },
                        {
                            "id": "4de5b57b-bb1a-4d66-9ce3-22bb280b075d",
                            "name": "weekend",
                            "displayName": "weekend",
                            "displayNameEvent": "weekend changed",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "44a99419-fbcd-4d8e-9441-897848b8f77c",
                            "name": "duskTime",
                            "displayName": "Dusk time",
                            "displayNameEvent": "Dusk time changed",
                            "unit": "UnixTime",
                            "type": "int",
                            "defaultValue": 0
                        },
                        {
                            "id": "3a08824d-285b-412e-a515-9664b491a85c",
                            "name": "sunriseTime",
                            "displayName": "Sunrise time",
                            "displayNameEvent": "Sunrise time changed",
                            "unit": "UnixTime",
                            "type": "int",
                            "defaultValue": 0
                        },
                        {
                            "id": "d92be29a-929c-4240-91a0-30153850f838",
                            "name": "noonTime",
                            "displayName": "Noon time",
                            "displayNameEvent": "Noon time changed",
                            "unit": "UnixTime",
                            "type": "int",
                            "defaultValue": 0
                        },
                        {
                            "id": "a5779b11-0499-4a6d-a7bd-8143dcc546b4",
                            "name": "dawnTime",
                            "displayName": "Dawn time",
                            "displayNameEvent": "Dawn time changed",
                            "unit": "UnixTime",
                            "type": "int",
                            "defaultValue": 0
                        },
                        {
                            "id": "377f04a7-df58-42ad-a234-e9e23bdc2f85",
                            "name": "sunsetTime",
                            "displayName": "Sunset time",
                            "displayNameEvent": "Sunset time changed",
                            "unit": "UnixTime",
                            "type": "int",
                            "defaultValue": 0
                        },
                        {
                            "id": "1c3d6179-3b00-456c-841a-2d26ce960c25",
                            "name": "daylight",
                            "displayName": "Daylight",
                            "displayNameEvent": "Daylight changed",
                            "type": "bool",
                            "defaultValue": false
                        }
                    ],
                    "eventTypes": [
                        {
                            "id": "792885f3-f505-42db-8c74-3d0460b575a1",
                            "name": "dusk",
                            "displayName": "dusk"
                        },
                        {
                            "id": "726acb30-928b-43da-a790-977a821c979e",
                            "name": "sunrise",
                            "displayName": "sunrise"
                        },
                        {
                            "id": "97ae8dd8-640c-4f9b-8773-aa7abb1d32fa",
                            "name": "noon",
                            "displayName": "noon"
                        },
                        {
                            "id": "5e3657b0-a459-4837-a632-0b20de4b7349",
                            "name": "dawn",
                            "displayName": "dawn"
                        },
                        {
                            "id": "f40d6e0f-fda2-475e-a6ae-c3fee03138b9",
                            "name": "sunset",
                            "displayName": "sunset"
                        }
                    ]
                },
                {
                    "id": "3f3c7ecc-9915-4e4e-95a1-e11f4f9d174d",
                    "name": "alarm",
                    "displayName": "Alarm",
                    "createMethods": ["user"],
                    "paramTypes": [
                        {
                            "id": "b36f1f62-60d7-49dd-926d-836c03563efa",
                            "name": "monday",
                            "displayName": "monday",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "6bcbecd9-d3b8-4a63-9a41-e3ee3f4c3bab",
                            "name": "tuesday",
                            "displayName": "tuesday",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "66bf302c-a7de-41cd-9e12-415276b82e65",
                            "name": "wednesday",
                            "displayName": "wednesday",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "97aa24dc-a741-48db-ad13-7ba14ab71ea1",
                            "name": "thursday",
                            "displayName": "thursday",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "8d99b490-9b59-4812-a18d-d43c1259d1b0",
                            "name": "friday",
                            "displayName": "friday",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "59cc3316-8de7-4602-9ee2-71559f7b665a",
                            "name": "saturday",
                            "displayName": "saturday",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "2d519d8f-4bda-4d30-801f-48fe6c10c540",
                            "name": "sunday",
                            "displayName": "sunday",
                            "type": "bool",
                            "defaultValue": false
                        },
                        {
                            "id": "3e38649d-f415-400f-bec2-81f374cad1cb",
                            "name": "minutes",
                            "displayName": "minutes",
                            "type": "int",
                            "unit": "Minutes",
                            "minValue": 0,
                            "maxValue": 60,
                            "defaultValue": 0

                        },
                        {
                            "id": "85c1d50d-509b-4a6a-840f-fc8fdbf46a52",
                            "name": "hours",
                            "displayName": "hours",
                            "type": "int",
                            "minValue": 0,
                            "maxValue": 24,
                            "unit": "Hours",
                            "defaultValue": 12
                        },
                        {
                            "id": "5c285d83-284b-4ab2-bff8-d9a0ebbecbe4",
                            "name": "timeType",
                            "displayName": "time type",
                            "type": "QString",
                            "allowedValues": [
                                "time",
                                "dusk",
                                "sunrise",
                                "sunnoon",
                                "sunset",
                                "dawn"
                            ],
                            "defaultValue": "time"
                        },
                        {
                            "id": "b37ec6bb-9f37-4520-ae34-d788ac2d5056",
                            "name": "offset",
                            "displayName": "offset",
                            "type": "int",
                            "minValue": -120,
                            "maxValue": 120,
                            "unit": "Minutes",
                            "defaultValue": 0
                        }
                    ],
                    "eventTypes": [
                        {
                            "id": "5ec9a4af-d5ea-4f68-ab32-f7a3fcd75ccc",
                            "name": "alarm",
                            "displayName": "alarm"
                        }
                    ]
                },
                {
                    "id": "805c8948-e663-4ba6-aa67-df7446ed7098",
                    "name": "countdown",
                    "displayName": "Countdown",
                    "createMethods": ["user"],
                    "paramTypes": [
                        {
                            "id": "7c1d33d8-bcc3-4890-a4be-2c753d9c14be",
                            "name": "seconds",
                            "displayName": "seconds",
                            "type": "int",
                            "unit": "Seconds",
                            "minValue": 0,
                            "maxValue": 60,
                            "defaultValue": 0
                        },
                        {
                            "id": "733e4174-dc42-4bf1-9a1d-65e785c2e580",
                            "name": "minutes",
                            "displayName": "minutes",
                            "type": "int",
                            "unit": "Minutes",
                            "minValue": 0,
                            "maxValue": 60,
                            "defaultValue": 0
                        },
                        {
                            "id": "0a54fe54-45a7-4fc5-a8d2-f9b6a92033de",
                            "name": "hours",
                            "displayName": "hours",
                            "type": "int",
                            "unit": "Hours",
                            "minValue": 0,
                            "maxValue": 24,
                            "defaultValue": 0
                        },
                        {
                            "id": "7b0c11cd-64c5-4cfc-9860-aa9ce7b7b3b5",
                            "name": "repeating",
                            "displayName": "repeating",
                            "type": "bool",
                            "defaultValue": false
                        }
                    ],
                    "eventTypes": [
                        {
                            "id": "1db11351-ad67-448e-a784-216741a06a58",
                            "name": "timeout",
                            "displayName": "timeout"
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "b21ccd53-1ebd-41a0-a2a3-662874e79837",
                            "name": "running",
                            "displayName": "running",
                            "displayNameEvent": "running changed",
                            "type": "bool",
                            "defaultValue": false
                        }
                    ],
                    "actionTypes": [
                        {
                            "id": "436e9923-6eff-444e-bde7-a61228a4d748",
                            "name": "start",
                            "displayName": "start"
                        },
                        {
                            "id": "bf4d1def-4159-4254-a76d-fd31aaa84e2d",
                            "name": "stop",
                            "displayName": "stop"
                        },
                        {
                            "id": "14aad613-b972-411f-93c9-f00bfd254285",
                            "name": "restart",
                            "displayName": "restart"
                        }
                    ]
                }
            ]
        }
    ]
}
