Commit Graph

301 Commits

Author SHA1 Message Date
a95736ebed Restyled by whitespace 2024-01-22 22:20:26 +00:00
9c001f3402 Cosmetic 2024-01-22 10:28:35 +00:00
7786efd883 Update HomeAssistantApp.mc
Removed memory metrics
2024-01-21 20:46:55 +00:00
0b80e4546d Corrected a previous incomplete commit
All now "WatchUi.loadResource($.Rez.Strings.WebhookFailed) as Lang.String"
2024-01-21 20:43:11 +00:00
6e67c4cf2a Removed RezStrings.mc
And in-lined the resource strings fetching.
2024-01-21 20:38:01 +00:00
b80227e484 Update Settings.mc
Cosmetic
2024-01-21 20:11:47 +00:00
d9b345e5b8 Update Settings.mc
Cosmetic
2024-01-21 20:04:12 +00:00
fc7302ad3b Update HomeAssistantView.mc
Removed empty else clause.
2024-01-21 20:00:52 +00:00
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
62b8f0fccf Add max size to menus 2024-01-21 13:06:44 +00:00
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
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
10c64c0fdc Merge pull request #86 from house-of-abbey/restyled/80-examples 2024-01-20 15:06:25 +00:00
ed3dce8827 Restyled by prettier-json 2024-01-20 15:05:50 +00:00
35a65ebdf4 Restyled by jq 2024-01-20 15:05:49 +00:00
b46c4d2eb4 Read through all documentation v2.4 2024-01-20 15:05:33 +00:00
2b21c840c6 Rename Troubleshooting.md to TroubleShooting.md 2024-01-20 13:41:04 +00:00
1448f6b0c2 Update config.schema.json 2024-01-20 12:10:17 +00:00
ce2f4d38d0 Menu for different pages of documents 2024-01-20 11:31:50 +00:00
13d3ffd1ec Documentation 2024-01-19 22:27:39 +00:00
5620ea6695 Update config.schema.json 2024-01-19 21:17:24 +00:00
7243917103 Documentation 2024-01-19 21:14:33 +00:00
49fb42cc0f Documentation 2024-01-19 20:18:25 +00:00
39fc04fc5c Merge branch 'main' into 80-examples 2024-01-19 19:51:03 +00:00
3c5e970892 Merge pull request #84 from house-of-abbey/79-confirm-on-toggle
Initial Solution
2024-01-19 19:43:22 +00:00
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
b7c48db604 Restyled by prettier-json 2024-01-19 19:39:25 +00:00
018d2d9611 Restyled by jq 2024-01-19 19:39:22 +00:00
44ec2e2eb1 Initial Solution 2024-01-19 19:26:02 +00:00
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
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
67a5f0a14e Amending naming convention
Removing some inconsistencies
2024-01-19 16:11:30 +00:00
52d9a0ec3d Update iconResize.py 2024-01-18 21:20:34 +00:00
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
a48c6a38fe Restyled by whitespace 2024-01-18 21:17:54 +00:00
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
f0b84856ad Added examples for templates and custom switches 2024-01-18 20:36:30 +00:00
7ffbd84785 Initial working version 2024-01-17 23:31:27 +00:00
3bc65ecc6e Merge pull request #76 from house-of-abbey/74-cache-has-results 2024-01-15 18:22:02 +00:00
a00ed58cf4 Create restyled.yml 2024-01-15 18:21:10 +00:00
1132bdf57b Apply automatic changes 2024-01-14 20:49:31 +00:00
53bd8d3c50 Documentation update
Remnants that perhaps should have been in the previous merge.
2024-01-14 20:19:40 +00:00
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
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
2cf087ed23 Remove lists left around after initialisation 2024-01-14 14:20:27 +00:00
d35c6be074 Apply automatic changes 2024-01-14 13:56:00 +00:00
099b4db3b9 Merge pull request #75 from house-of-abbey/restyled/26-sensor-readings-as-text-display 2024-01-14 13:36:59 +00:00
4b5c9ba8ba Restyled by whitespace 2024-01-14 13:34:46 +00:00
31fb4a5569 Restyled by prettier-json 2024-01-14 13:34:45 +00:00
3ee585d20f Restyled by jq 2024-01-14 13:34:43 +00:00