Amended documentation for two new menu item options

The options are 'enable' and 'exit'.
This commit is contained in:
Philip Abbey
2025-07-09 21:48:58 +01:00
parent 6dbcea94cf
commit 8b3e86a00f
3 changed files with 71 additions and 0 deletions

View File

@ -218,6 +218,19 @@ An example of a dimmer light with 4 brightness settings 0..3. Here our light wor
}
```
# Disable Menu Item
If you would like to temporarily disable an item in your menu, then rather than swapping menu definition files or deleting a section of the menu you can mark the item as 'disabled'. This field applies to all menu items.
```json
{
"name": "Phone",
"type": "info",
"content": "{{ ... }}",
"enabled": false
}
```
## Warnings
Just remember, on older smaller memory devices **you have the ability to crash the application by creating an excessive menu definition**. Templates can require significant definition for highly customised text. Don't be silly.