PLG: add PIHOLEAPI_CONSIDER_ONLINE #1436

Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
jokob-sk
2026-01-26 10:35:35 +11:00
parent f0960d2b84
commit c3d3826448
2 changed files with 74 additions and 29 deletions

View File

@@ -263,6 +263,34 @@
}
]
},
{
"function": "CONSIDER_ONLINE",
"type": {
"dataType": "integer",
"elements": [
{
"elementType": "input",
"elementOptions": [{ "type": "number" }],
"transformers": []
}
]
},
"default_value": 300,
"options": [],
"localized": ["name", "description"],
"name": [
{
"language_code": "en_us",
"string": "Online if last seen"
}
],
"description": [
{
"language_code": "en_us",
"string": "Time in seconds to consider a device online."
}
]
},
{
"function": "VERIFY_SSL",
"type": {