Commit Graph
51 Commits
Author SHA1 Message Date
Philip Abbey c48d74138a Update config.schema.json
Numeric's tap_action is different to the tap's, and re-using the $ref caused problems, so properties have been copied.
2026-06-24 01:38:34 +01:00
Philip Abbey 3404c7f679 Update schema for numeric tap_action and HISTORY
Add schema metadata and stricter validation for numeric tap_action: include title & description, disallow additionalProperties on the tap_action and its picker properties to better define the number picker payload. Update HISTORY.md with a 3.14 entry documenting numeric items now supporting tap_action.data and the PIN/menu behavior change, and credit the contributor.
2026-06-24 01:12:20 +01:00
StumblingGamer 17690d4349 Proposing changes to documentation and JSON Schema
Added proposed documentation section explaining Numeric data object and also updated JSON schema to match changes.

I tested the numeric example with tap_action.data in the documented web editor. The current schema did not appear to reject the field,
likely because numeric tap_action does not currently forbid additional properties at that nested level. I still added data explicitly
to the numeric schema so it is documented, discoverable, and type-checked as an object.
2026-06-23 11:12:00 -04:00
Philip Abbey 0ce95fa58a Update config.schema.json
Removed the need to specify any menu titles. The code works with a `Null` as-is.
2025-11-14 17:05:30 +00:00
Joseph Abbey 6822cbe434 Allow floats for media_player picker limits 2025-11-04 19:09:45 +00:00
Joseph Abbey b688cec8f6 Use minimum and maximum instead of const 2025-11-04 19:00:22 +00:00
Philip Abbey f0e263ae54 Update config.schema.json
Amended "Home Assistant Template" description.
2025-11-02 22:38:19 +00:00
Joseph Abbey bc5a7d04e4 Schema fixes and move "exit" into "tap_action" 2025-11-02 13:14:48 +00:00
Joseph Abbey ad83988ade Merge branch 'main' into rename-service-to-action
Signed-off-by: Joseph Abbey <me@josephabbey.dev>
2025-11-01 21:23:08 +00:00
Joseph Abbey cac94fecd4 rename service to action 2025-11-01 21:19:10 +00:00
Philip Abbey 3528080ec3 Merge branch 'main' into json-schema-update 2025-11-01 19:03:34 +00:00
Joseph Abbey 2fca0ef3a3 Update schema for picker object 2025-11-01 18:26:24 +00:00
Philip Abbey fc0320aef6 Initial code for user supplied confirmation messages 2025-10-30 17:50:04 +00:00
Philip Abbey 0d3c76ef2e Update config.schema.json
Made the 'picker' field within 'tap_action' mandatory for a 'numeric' menu items.
2025-10-30 17:03:21 +00:00
Philip Abbey a5ddb65512 Suggested code changes from philipabbey
1. attribute is option, so needs a different template in the API call when absent.
2. Automatically derive the format string from the picker step value for any precision of step.
3. Changed all Lang.String representations of numbers to Lang.Number or Lang.Float. I'm keen to remove the use of strings to hold a numeric value.
4. Tidied up and completed some code comments.
5. Adjusted the JSON schema definition. This is still not finished as the 'picker' object is required for 'numeric' menu items and must not be present for the others. Additional schema changes are required for greater precision.
6. Moved fields over from 'data' to 'picker'.
2025-10-29 14:26:02 +00:00
Joseph Abbey 5bdab41d8b Fix examples lists 2025-10-21 19:10:35 +01:00
Joseph Abbey 85080f5d46 2025-10-21 10:07:43 +01:00
Joseph Abbey 35e0fe26d0 Amendments 2025-10-21 09:05:15 +01:00
Joseph Abbey 427c1834a8 2025-10-21 09:03:49 +01:00
Joseph Abbey 4fbe4135b1 Update schema to support numeric items 2025-10-19 21:23:34 +01:00
Philip Abbey 842a31a1cc Review comment
enable => enabled
2025-07-10 18:24:30 +01:00
Philip Abbey b28daacafd Update config.schema.json
Removed exit from non-actionable menu items.
2025-07-09 20:54:28 +01:00
Philip Abbey 029a9f373e Update config.schema.json
Added to boolean options for disable and exit.
2025-07-09 19:57:11 +01:00
__JosephAbbey e898fc1fe5 Update config.schema.json
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-07-07 13:49:33 +01:00
Philip Abbey 47a930828a Revised glance view
Refreshed default view and new customisable view.
2025-07-06 14:44:53 +01:00
Philip Abbey fd58625640 Info only menu item 2025-01-19 13:44:53 +00:00
Philip Abbey 11ecf88ee2 An assortment of cosmetic changes
JSON schema fix to remove 'template' as a valid option, punctuation in strings, whitespace, and a new application history entry.
2024-11-18 19:39:13 +00:00
Matthias Oesterheld 97b5371a0e add "pin": true JSON config property, add default pin, add pin confirmation to toggle, adjust JSON schema 2024-11-13 21:30:36 +01:00
Matthias Oesterheld fb2bb7f566 remove transcoding, move pin to settings, remove pin from schema 2024-11-11 20:06:35 +01:00
Matthias Oesterheld b48102f9a6 add pin confirmation 2024-10-15 19:59:04 +02:00
Joseph Abbey 1c182dd615 Deprecate template type 2024-08-30 13:25:16 +01:00
Philip Abbey ea32d71a2b Added templates to group items 2024-08-24 18:31:47 +01:00
Joseph Abbey 3e0789e808 Update config.schema.json 2024-01-25 19:34:51 +00:00
Joseph Abbey 62b8f0fccf Add max size to menus 2024-01-21 13:06:44 +00:00
Restyled.io ed3dce8827 Restyled by prettier-json 2024-01-20 15:05:50 +00:00
Restyled.io 35a65ebdf4 Restyled by jq 2024-01-20 15:05:49 +00:00
Philip Abbey b46c4d2eb4 Read through all documentation 2024-01-20 15:05:33 +00:00
Restyled.io b7c48db604 Restyled by prettier-json 2024-01-19 19:39:25 +00:00
Restyled.io 018d2d9611 Restyled by jq 2024-01-19 19:39:22 +00:00
Philip Abbey 44ec2e2eb1 Initial Solution 2024-01-19 19:26:02 +00:00
Restyled.io a8e1bd6247 Restyled by prettier-json 2024-01-14 11:52:48 +00:00
Restyled.io 86be286c2b Restyled by jq 2024-01-14 11:52:45 +00:00
Joseph Abbey 31b30788b1 add TemplateMenuItem 2024-01-14 08:00:49 +00:00
Joseph Abbey cec10bb89a Initial schema draft 2024-01-12 18:43:04 +00:00
Philip Abbey 531c3e972e Update config.schema.json
Added missing full stops.
2023-12-01 11:42:11 +00:00
Philip Abbey 0e443e33d3 Update config.schema.json
Tidy up of help text
2023-12-01 10:19:49 +00:00
Philip Abbey 1df64286f0 Updated README
Also missed schema changes of the previous commit. Added a photo of the confirmation view.
2023-12-01 09:54:23 +00:00
Philip Abbey 2ccd2bfbff Changes required for 2-tap-or-toggle-dont-work-on-venu-2
Made the 'service' field for taps mandatory.
This makes scripts work for both the emulator and real devices.
Provide a response for automations started with a tap, and now they can be used for both tap and toggle.
2023-11-14 08:35:38 +00:00
Joseph Abbey 5afb08d096 Service call for tap item 2023-11-09 21:13:09 +00:00
Joseph Abbey 17ebad0b15 Make properties required 2023-11-01 15:57:27 +00:00