305 Commits

Author SHA1 Message Date
Joseph Abbey
c4066e9fe3 Enhanced web editor 2024-01-23 21:19:07 +00:00
Philip Abbey
c062a6fcff Update HISTORY.md
Added V2.5 description.
2024-01-23 19:29:29 +00:00
Philip Abbey
7ab8246197 Merge pull request #88 from house-of-abbey/87-look-for-memory-usage-efficiencies
87 look for memory usage efficiencies
v2.5
2024-01-23 07:13:22 +00:00
Philip Abbey
776134e842 Merge pull request #89 from house-of-abbey/restyled/87-look-for-memory-usage-efficiencies
Restyle 87 look for memory usage efficiencies
2024-01-22 22:25:46 +00:00
Restyled.io
a95736ebed Restyled by whitespace 2024-01-22 22:20:26 +00:00
Philip Abbey
9c001f3402 Cosmetic 2024-01-22 10:28:35 +00:00
Philip Abbey
7786efd883 Update HomeAssistantApp.mc
Removed memory metrics
2024-01-21 20:46:55 +00:00
Philip Abbey
0b80e4546d Corrected a previous incomplete commit
All now "WatchUi.loadResource($.Rez.Strings.WebhookFailed) as Lang.String"
2024-01-21 20:43:11 +00:00
Philip Abbey
6e67c4cf2a Removed RezStrings.mc
And in-lined the resource strings fetching.
2024-01-21 20:38:01 +00:00
Philip Abbey
b80227e484 Update Settings.mc
Cosmetic
2024-01-21 20:11:47 +00:00
Philip Abbey
d9b345e5b8 Update Settings.mc
Cosmetic
2024-01-21 20:04:12 +00:00
Philip Abbey
fc7302ad3b Update HomeAssistantView.mc
Removed empty else clause.
2024-01-21 20:00:52 +00:00
Philip Abbey
d9ecaf34ee Removed Debug
On some devices it looks like removing the System.println() statements from inside an 'if' clause whose condition is a constant (static constant Globals.scDebug) makes a memory saving. This would suggest the compiler does not propagate constants and prune unreachable code. However in the device of greatest interest debug removal has made no difference to the memory usage. Here the conditional clauses have been turned into comments that can be removed on a case-by-case basis otherwise the debug printing is too voluminous anyway.
2024-01-21 17:53:37 +00:00
Joseph Abbey
62b8f0fccf Add max size to menus 2024-01-21 13:06:44 +00:00
Philip Abbey
26954cbc60 Update RootView.mc
Memory usage decimal place was never used due to integer arithmetic. A single character changes fixed that.
2024-01-21 13:00:31 +00:00
Philip Abbey
a5b2af81bc Merge pull request #81 from house-of-abbey/80-examples
Added examples for templates and custom switches
2024-01-20 15:07:32 +00:00
Joseph Abbey
10c64c0fdc Merge pull request #86 from house-of-abbey/restyled/80-examples 2024-01-20 15:06:25 +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 v2.4 2024-01-20 15:05:33 +00:00
Joseph Abbey
2b21c840c6 Rename Troubleshooting.md to TroubleShooting.md 2024-01-20 13:41:04 +00:00
Joseph Abbey
1448f6b0c2 Update config.schema.json 2024-01-20 12:10:17 +00:00
Philip Abbey
ce2f4d38d0 Menu for different pages of documents 2024-01-20 11:31:50 +00:00
Philip Abbey
13d3ffd1ec Documentation 2024-01-19 22:27:39 +00:00
Joseph Abbey
5620ea6695 Update config.schema.json 2024-01-19 21:17:24 +00:00
Philip Abbey
7243917103 Documentation 2024-01-19 21:14:33 +00:00
Philip Abbey
49fb42cc0f Documentation 2024-01-19 20:18:25 +00:00
Joseph Abbey
39fc04fc5c Merge branch 'main' into 80-examples 2024-01-19 19:51:03 +00:00
Philip Abbey
3c5e970892 Merge pull request #84 from house-of-abbey/79-confirm-on-toggle
Initial Solution
2024-01-19 19:43:22 +00:00
Philip Abbey
bd32d94ac7 Merge pull request #85 from house-of-abbey/restyled/79-confirm-on-toggle
Restyle Initial Solution
2024-01-19 19:40:50 +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
Philip Abbey
1325f8c382 Merge pull request #82 from house-of-abbey/52-allow-parameters-to-be-send-with-tap-menu-items
52 allow parameters to be send with tap menu items
2024-01-19 18:15:39 +00:00
Philip Abbey
2be255bb71 Removal of menu identifiers as not actually required
Toggle menu is now consistent with the use of data objects in tap and template. HA 'notify' actions now work.

Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-19 18:04:55 +00:00
Philip Abbey
67a5f0a14e Amending naming convention
Removing some inconsistencies
2024-01-19 16:11:30 +00:00
Joseph Abbey
52d9a0ec3d Update iconResize.py 2024-01-18 21:20:34 +00:00
Joseph Abbey
6632ba6c41 Merge pull request #83 from house-of-abbey/restyled/52-allow-parameters-to-be-send-with-tap-menu-items 2024-01-18 21:18:48 +00:00
Restyled.io
a48c6a38fe Restyled by whitespace 2024-01-18 21:17:54 +00:00
Philip Abbey
4e96036d66 Removed code to dismiss the ErrorView
The automatic ErrorView.unShow() when the HTTP Request callback success was preventing errors being read. Removing to see if they are really required.
2024-01-18 21:15:59 +00:00
Joseph Abbey
f0b84856ad Added examples for templates and custom switches 2024-01-18 20:36:30 +00:00
Philip Abbey
7ffbd84785 Initial working version 2024-01-17 23:31:27 +00:00
Joseph Abbey
3bc65ecc6e Merge pull request #76 from house-of-abbey/74-cache-has-results 2024-01-15 18:22:02 +00:00
Joseph Abbey
a00ed58cf4 Create restyled.yml 2024-01-15 18:21:10 +00:00
philipabbey
1132bdf57b Apply automatic changes 2024-01-14 20:49:31 +00:00
Philip Abbey
53bd8d3c50 Documentation update
Remnants that perhaps should have been in the previous merge.
2024-01-14 20:19:40 +00:00
Philip Abbey
81762fbf7d Cached 'has' result in initialize()
Also amended a bit of README that was missed and added a memory usage in the RootView for widgets here memory is limited, to serve as a warning to users who are likely to complain.
2024-01-14 19:59:18 +00:00
Philip Abbey
84aaa44995 Merge pull request #72 from house-of-abbey/26-sensor-readings-as-text-display
Template Menu Item
2024-01-14 17:16:34 +00:00
Joseph Abbey
2cf087ed23 Remove lists left around after initialisation 2024-01-14 14:20:27 +00:00
JosephAbbey
d35c6be074 Apply automatic changes 2024-01-14 13:56:00 +00:00