{
  "i18n": true,
  "type": "panel",
  "label": "main settings",
  "items": {
    "_checkConfig": {
      // this component is not visible in the UI
      // it checks the configuration
      "type": "custom",
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "ConfigCustomBackItUpSet/Components/CheckAllConfigInvisible"
    },
    "_header1": {
      "type": "header",
      "text": "What to backup",
      "sm": 12,
      "size": 2
    },
    "minimalEnabled": {
      "type": "custom",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "ConfigCustomBackItUpSet/Components/AdapterExist",
      "adapter": "backitup",
      "label": "ioBroker"
    },
    "ccuEnabled": {
      "type": "custom",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "ConfigCustomBackItUpSet/Components/AdapterExist",
      "adapter": "hm-rpc",
      "label": "Homematic CCU"
    },
    "redisEnabled": {
      // todo: check if object or states use redis and hide if not
      "type": "checkbox",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "label": "Redis"
    },
    "javascriptsEnabled": {
      "disabled": "data.hostType === 'Slave'",
      "type": "custom",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "ConfigCustomBackItUpSet/Components/AdapterExist",
      "adapter": "javascript",
      "label": "JavaScripts",
      "title": "BackItUp Information",
      "showAlertAlways": true,
      "allHosts": true,
      "alert": "The JavaScript Adapter scripts are already saved in the ioBroker backup.\nThis option is just an additional option to be able to restore the scripts individually if necessary."
    },
    "zigbee2mqttEnabled": {
      "type": "custom",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "ConfigCustomBackItUpSet/Components/AdapterExist",
      "adapter": "zigbee2mqtt",
      "label": "Zigbee2MQTT",
      "title": "BackItUp Information",
      "showAlertAlways": true,
      "allHosts": true,
      "alert": "No Zigbee2MQTT Instance found on this host.\nPlease check your System."
    },
    "zigbeeEnabled": {
      "type": "custom",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "ConfigCustomBackItUpSet/Components/AdapterExist",
      "adapter": "zigbee",
      "label": "Zigbee Backup",
      "title": "BackItUp Information",
      "showAlertAlways": true,
      "allHosts": true,
      "alert": "No Zigbee Instance found on this host.\nPlease check your System."
    },
    "historyEnabled": {
      "newLine": true,
      "type": "custom",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "ConfigCustomBackItUpSet/Components/AdapterExist",
      "adapter": "history",
      "label": "History Backup",
      "title": "BackItUp Information",
      "showAlertAlways": true,
      "allHosts": true,
      "alert": "No History Instance found on this host.\nPlease check your System."
    },
    "influxDBEnabled": {
      "type": "custom",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "ConfigCustomBackItUpSet/Components/AdapterExist",
      "adapter": "influxdb",
      "label": "InfluxDB Backup",
      "title": "BackItUp Information",
      "showAlertAlways": true,
      "allHosts": true,
      "alert": "No InfluxDB Instance found on this host.\nPlease check your System."
    },
    "mySqlEnabled": {
      "type": "custom",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "ConfigCustomBackItUpSet/Components/AdapterExist",
      "adapter": "sql",
      "label": "MySQL Backup",
      "title": "BackItUp Information",
      "showAlertAlways": true,
      "allHosts": true,
      "alert": "No SQL Instance found on this host.\nPlease check your System."
    },
    "pgSqlEnabled": {
      "type": "custom",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "ConfigCustomBackItUpSet/Components/AdapterExist",
      "adapter": "sql",
      "label": "PostgreSQL Backup",
      "title": "BackItUp Information",
      "showAlertAlways": true,
      "allHosts": true,
      "alert": "No SQL Instance found on this host.\nPlease check your System."
    },
    "sqliteEnabled": {
      "type": "custom",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "ConfigCustomBackItUpSet/Components/AdapterExist",
      "adapter": "sql",
      "label": "SQLite3 backup",
      "title": "BackItUp Information",
      "showAlertAlways": true,
      "allHosts": true,
      "alert": "No SQL Instance found on this host.\nPlease check your System."
    },
    "grafanaEnabled": {
      "type": "checkbox",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "label": "Grafana backup"
    },
    "noderedEnabled": {
      "newLine": true,
      "type": "custom",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "ConfigCustomBackItUpSet/Components/AdapterExist",
      "adapter": "node-red",
      "label": "Node-Red Backup",
      "title": "BackItUp Information",
      "showAlertAlways": true,
      "allHosts": true,
      "alert": "No Node-Red Instance found on this host.\nPlease check your System."
    },
    "yahkaEnabled": {
      "type": "custom",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "ConfigCustomBackItUpSet/Components/AdapterExist",
      "adapter": "yahka",
      "label": "Yahka (Homekit) Backup",
      "title": "BackItUp Information",
      "showAlertAlways": true,
      "allHosts": true,
      "alert": "No Yahka Instance found on this host.\nPlease check your System."
    },
    "jarvisEnabled": {
      "type": "custom",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "ConfigCustomBackItUpSet/Components/AdapterExist",
      "adapter": "jarvis",
      "label": "Jarvis Backup",
      "title": "BackItUp Information",
      "showAlertAlways": true,
      "allHosts": true,
      "alert": "No Jarvis Instance found on this host.\nPlease check your System."
    },
    "esphomeEnabled": {
      "type": "custom",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "ConfigCustomBackItUpSet/Components/AdapterExist",
      "adapter": "esphome",
      "label": "ESPHome",
      "title": "BackItUp Information",
      "showAlertAlways": true,
      "allHosts": true,
      "alert": "No ESP-Home Instance found on this host.\nPlease check your System."
    },
    "_header2": {
      "type": "header",
      "text": "Storage location",
      "sm": 12,
      "size": 2,
      "color": "#fff"
    },
    "cifsEnabled": {
      "newLine": true,
      "type": "checkbox",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "label": "NAS / Copy",
    },
    "ftpEnabled": {
      "type": "checkbox",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "label": "FTP",
    },
    "dropboxEnabled": {
      "type": "checkbox",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "label": "Dropbox",
    },
    "googledriveEnabled": {
      "type": "checkbox",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "label": "Google Drive",
    },
    "webdavEnabled": {
      "type": "checkbox",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "label": "WebDAV",
    },
    "onedriveEnabled": {
      "type": "checkbox",
      "xs": 12,
      "sm": 6,
      "md": 4,
      "lg": 2,
      "label": "OneDrive",
    },
    "_header3": {
      "type": "header",
      "text": "Some features of BackItUp require additional adapters and tools. For detailed information please read the documentation of BackItUp!",
      "sm": 12,
      "size": 3
    },
    "_helpLink": {
      "type": "staticLink",
      "button": true,
      "variant": "outlined",
      "icon": "info",
      "label": "Show adapter documentation",
      "href": "https://github.com/simatec/ioBroker.backitup/blob/master/README.md#iobrokerbackitup",
      "newLine": true,
      "xs": 12,
      "sm": 12
    },
    "_helpLine2": {
      "newLine": true,
      "type": "divider",
      "color": "primary"
    },
    "_donateTxt": {
      "type": "staticText",
      "text": "If you like this project and would like to support its development, you are welcome to leave a donation.",
      "newLine": true
    },
    "_donate": {
      "type": "staticImage",
      "tooltip": "PayPal.Me",
      "noTranslation": true,
      "href": "https://paypal.me/mk1676",
      "src": "https://camo.githubusercontent.com/8402c5000216b140cf892ba21d3367647e0cc370ba89b3a8da1bc1b37a9e0696/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2d646f6e6174652532302537432532307370656e64656e2d626c75652e737667",
      "newLine": true
    },
    "_githubSponsor": {
      "type": "staticImage",
      "tooltip": "GitHub Sponsors",
      "noTranslation": true,
      "href": "https://github.com/sponsors/simatec",
      "src": "https://camo.githubusercontent.com/6d24ad1fc18fa9d263cacee4c5d9aa8e15128bd5f3f3184f6f54d20e6a4ab63b/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d53706f6e736f72266d6573736167653d254532253944254134266c6f676f3d47697448756226636f6c6f723d253233666538653836"
    }
  }
}
