PLG: add online option only via PIHOLEAPI_GET_OFFLINE #1436

Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
jokob-sk
2026-01-25 12:43:51 +11:00
parent e61133c557
commit ff206b8fc7
2 changed files with 50 additions and 10 deletions

View File

@@ -234,6 +234,34 @@
}
]
},
{
"function": "GET_OFFLINE",
"type": {
"dataType": "boolean",
"elements": [
{
"elementType": "input",
"elementOptions": [{ "type": "checkbox" }],
"transformers": []
}
]
},
"default_value": false,
"options": [],
"localized": ["name", "description"],
"name": [
{
"language_code": "en_us",
"string": "Import offline"
}
],
"description": [
{
"language_code": "en_us",
"string": "Import offline devices. By default only online devices are retrieved."
}
]
},
{
"function": "VERIFY_SSL",
"type": {