iobroker.openmediavault
Version:
129 lines • 4.43 kB
JSON
{
"label": "File System Information",
"items": {
"donation_link": {
"type": "staticLink",
"text": "You like the adapter? Then support me.",
"sm": 12,
"button": true,
"newLine": true,
"href": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VWAXSTS634G88&source=url",
"style": {
"justifyContent": "flex-start !important"
}
},
"fileSystemDivider": {
"newLine": true,
"type": "header",
"text": "File System Information",
"size": 2
},
"fileSystemEnabled": {
"newLine": true,
"type": "checkbox",
"label": "fileSystemEnabled",
"sm": 12,
"md": 3
},
"fileSystemBlackListDivider": {
"newLine": true,
"type": "header",
"text": "File System Information Blacklist / Whitelist",
"hidden": "!data.fileSystemEnabled",
"size": 2
},
"fileSystemIsWhiteList": {
"newLine": true,
"type": "checkbox",
"label": "${data.fileSystemIsWhiteList ? 'use as whitelist' : 'use as blacklist'}",
"hidden": "!data.fileSystemEnabled",
"xl": 2,
"lg": 2,
"md": 2,
"sm": 12,
"xs": 12
},
"fileSystemBlackList": {
"type": "table",
"xl": 6,
"lg": 6,
"md": 6,
"sm": 12,
"xs": 12,
"hidden": "!data.fileSystemEnabled",
"uniqueColumns": [
"id"
],
"confirm": {
"condition": "!_alive",
"title": "Attention!",
"text": "This selection is only possible with a running instance!",
"ok": "Got it!",
"cancel": "cancel",
"type": "warning"
},
"items": [
{
"type": "autocompleteSendTo",
"title": "${data.fileSystemIsWhiteList ? 'Choose which File System Information should be included' : 'Choose which File System Information should be excluded'}",
"attr": "id",
"filter": true,
"sort": true,
"noMultiEdit": true,
"jsonData": "${instanceObj}",
"command": "fileSystemBlackList"
}
]
},
"fileSystemBlackListStatesDivider": {
"newLine": true,
"type": "header",
"text": "Datapoints Blacklist / Whitelist",
"hidden": "!data.fileSystemEnabled",
"size": 2
},
"fileSystemStatesIsWhiteList": {
"newLine": true,
"type": "checkbox",
"label": "${data.fileSystemStatesIsWhiteList ? 'use as whitelist' : 'use as blacklist'}",
"hidden": "!data.fileSystemEnabled",
"xl": 2,
"lg": 2,
"md": 2,
"sm": 12,
"xs": 12
},
"fileSystemStatesBlackList": {
"type": "table",
"xl": 6,
"lg": 6,
"md": 6,
"sm": 12,
"xs": 12,
"hidden": "!data.fileSystemEnabled",
"uniqueColumns": [
"id"
],
"confirm": {
"condition": "!_alive",
"title": "Attention!",
"text": "This selection is only possible with a running instance!",
"ok": "Got it!",
"cancel": "cancel",
"type": "warning"
},
"items": [
{
"type": "autocompleteSendTo",
"title": "${data.fileSystemStatesIsWhiteList ? 'Choose which datapoint should be included' : 'Choose which datapoint should be excluded'}",
"attr": "id",
"filter": true,
"sort": true,
"noMultiEdit": true,
"jsonData": "{\"instanceID\": \"${globalData.instanceID}\",\"adapter\": \"${globalData.adapter}\"}",
"command": "fileSystemStateList"
}
]
}
}
}