NEWDEV_replace_preset_icon

This commit is contained in:
jokob-sk
2024-12-02 09:29:13 +11:00
parent d4837c8d75
commit 826bd8f524
2 changed files with 39 additions and 4 deletions

View File

@@ -265,6 +265,34 @@
}
]
},
{
"function": "replace_preset_icon",
"type": {
"dataType": "boolean",
"elements": [
{
"elementType": "input",
"elementOptions": [{ "type": "checkbox" }],
"transformers": []
}
]
},
"default_value": false,
"options": [],
"localized": ["name", "description"],
"name": [
{
"language_code": "en_us",
"string": "Overwrite Preset Icon"
}
],
"description": [
{
"language_code": "en_us",
"string": "If checked, the application replaces the preset icon in <code>NEWDEV_devIcon</code> with a pre-assigned vendor or device icon if found. If this is checked, avoid manually assigning this icon to devices, as it may be replaced."
}
]
},
{
"function": "devMac",
"type": {