10 Commits

Author SHA1 Message Date
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
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
Philip Abbey
44ec2e2eb1 Initial Solution 2024-01-19 19:26:02 +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
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
Philip Abbey
7ffbd84785 Initial working version 2024-01-17 23:31:27 +00:00
Restyled.io
94bc49afe2 Restyled by whitespace 2024-01-14 11:52:49 +00:00
Joseph Abbey
31b30788b1 add TemplateMenuItem 2024-01-14 08:00:49 +00:00