{
    "i18n": true,
    "type": "tabs",
    "items": {
        "_options": {
            "type": "panel",
            "label": "Options",
            "items": {
                "serverProtocol": {
                    "type": "select",
                    "sm": 6,
                    "md": 4,
                    "lg": 2,
                    "options": [
                        {
                            "label": "http",
                            "value": "http"
                        },
                        {
                            "label": "https",
                            "value": "https"
                        }
                    ],
                    "default": "http",
                    "label": "Protocol",
                    "help": "Protocol of your Kostal PIKO MP plus. Example: http or https"
                },
                "serverIp": {
                    "type": "text",
                    "sm": 12,
                    "md": 4,
                    "lg": 2,
                    "label": "Server IP/Hostname",
                    "help": "IP or hostname of your Kostal PIKO MP plus. Example: 192.168.0.100"
                },
                "serverPort": {
                    "type": "number",
                    "sm": 6,
                    "md": 2,
                    "lg": 2,
                    "min": 0,
                    "max": 65535,
                    "label": "Port",
                    "help": "Port of your Kostal PIKO MP plus. Example: 80"
                },
                "interval": {
                    "type": "number",
                    "sm": 6,
                    "md": 6,
                    "lg": 2,
                    "min": 10000,
                    "max": 3600000,
                    "label": "Interval (ms)",
                    "help": "Refresh interval in milliseconds"
                },
                "failCount": {
                    "newLine": true,
                    "type": "number",
                    "sm": 6,
                    "md": 6,
                    "lg": 2,
                    "min": 0,
                    "max": 10,
                    "label": "Number of retries",
                    "help": "Number of retries in case of an error"
                },
                "failTimeout": {
                    "type": "number",
                    "sm": 6,
                    "md": 6,
                    "lg": 2,
                    "min": 10000,
                    "max": 600000,
                    "label": "Timeout (ms) for Retry",
                    "help": "After how many milliseconds a retry is started, in case of an error."
                }
            }
        }
    }
}
