Initial code for user supplied confirmation messages

This commit is contained in:
Philip Abbey
2025-10-30 17:50:04 +00:00
parent 0d3c76ef2e
commit fc0320aef6
9 changed files with 41 additions and 15 deletions

View File

@@ -37,6 +37,14 @@ For example:
"confirm": true
}
}
```
The `confirm` field may contain a string instead of a Boolean in order to provide a custom message to display instead of the default "Sure?" text.
```json
"tap_action": {
"confirm": "Toggle the cover?"
}
```
**The authors do not advise the use of this application for security sensitive devices. But we suspect users are taking that risk anyway, hence a PIN confirmation is provided that can be used for additional menu item security.**