fd213cc210
Update HomeAssistantApp.mc
...
Update the Settings object from persistent storage before checking the URLs work and reporting the status to the Glance view.
2025-04-21 13:56:08 +01:00
71cba8c21c
Code attribution for author of PIN entry.
...
Prior to sorting out inheritance.
2025-03-28 00:20:53 +00:00
e41f451fbc
Update HomeAssistantApp.mc
...
Fix for lost speedup from v2.24 when fixing a bug in v2.25.
2025-03-27 20:45:02 +00:00
155649f162
Fix for 2 bugs in issue 221
...
Template rendering and Webhook ID on initial start.
2025-03-26 22:37:33 +00:00
adf69d7dec
Rearranging Web API Requests
...
Making sure the menu update API call is completed before the Webhook IDs are fetched in order to reduce latency to usefulness.
2025-03-23 16:54:13 +00:00
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
796be5b960
add trailing period to be consistent with other messages
2024-11-18 17:43:10 +01:00
b6acec0672
move pin validation error screen to initial view resolution
2024-11-18 17:38:30 +01:00
a48ab486ae
2 fixes as required by issue 185
...
Solution to a race condition with starting updates and amendment to error message presentation on Webhook ID creation failure.
Co-Authored-By: Joseph Abbey <me@josephabbey.dev >
2024-09-07 20:27:58 +01:00
75ea23dfbd
7 New devices, mainly Fenix
...
SDK updated to 7.3.0 in order to get new devices to work in simulation. This means some function prototypes have had to be amended.
2024-09-05 21:23:49 +01:00
1b40231360
Fix errors
2024-08-30 13:49:09 +01:00
bd37d5f2a8
Allow toggles to work if template fails
2024-08-26 20:11:19 +01:00
e9a0c5d137
Single request to update
2024-08-26 18:59:17 +01:00
ea32d71a2b
Added templates to group items
2024-08-24 18:31:47 +01:00
a213c6851e
Largely cosmetic
...
Removed debug that escaped.
Belt & braces field to prevent the update chain being started twice.
2024-07-26 18:23:22 +01:00
9eed5affdc
Update HomeAssistantApp.mc
...
Guard against dereferencing null. Belt & braces, as this has not been an issue.
2024-07-26 17:16:07 +01:00
98c9c42366
Update HomeAssistantApp.mc
...
Fixed debug printing where the method name was wrong. Changes in commented out debug code only.
2024-07-26 16:55:13 +01:00
a49dd6554f
More responsive status when using a polling delay
...
When using a polling delay, an action will trigger an immediate round of updates.
2024-07-20 19:16:42 +01:00
fc1a0eeb6d
Update HomeAssistantApp.mc
...
When Settings.getPollDelay() > 0, do not wait for this time before the initial batch of updates, so the app is more responsive on opening.
2024-07-20 18:07:37 +01:00
dfa4cdd9b8
Moved template status updates to webhooks
...
This seems to work for non-privileged users.
2024-07-19 15:15:32 +01:00
2ffd83ebf5
When the cache is deactivated is now also cleared.
2024-04-16 22:58:53 +01:00
8f685af8ca
Missed two System.println() string corrections.
2024-04-15 21:12:08 +01:00
b17d12fe54
Corrected Czech language strings as advised
...
Also amended some trivial System.println() strings
2024-04-15 19:29:32 +01:00
2a99069f48
Review comments
2024-03-21 19:29:52 +00:00
a0fe746c1d
Amended update method to entire rounds
...
A single larger delay is now inserted once between entire rounds of status updates,
2024-03-21 09:15:47 +00:00
cacd9f856f
Initial solution
2024-03-20 23:33:13 +00:00
4dc31e3c65
Removed a widget only property
...
That should have been removed previously.
2024-03-07 22:14:25 +00:00
d5ed16e6d2
Amended export.cmd
...
And removed an old comment from HomeAssistantApp.mc
2024-02-18 15:00:36 +00:00
a65dcd6811
Removed widget specific code
2024-02-11 19:35:34 +00:00
0dfcc65469
3 bug fixes as per the issue description
2024-02-05 19:09:26 +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
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
44ec2e2eb1
Initial Solution
2024-01-19 19:26:02 +00:00
2cf087ed23
Remove lists left around after initialisation
2024-01-14 14:20:27 +00:00
864a832e69
GUI refresh amendments
2024-01-09 08:58:58 +00:00
0a2d257421
Initial solution
2024-01-08 00:08:12 +00:00
9a268eaf02
Updated RezStrings.mc
...
Variables are now read only via getters.
2024-01-01 14:17:04 +00:00
b039dfbc3b
Added RezStrings.mc
...
The intention is to factorise out many copies of the same string to a central location. Now need to deal with making the variables read-only.
2024-01-01 12:57:50 +00:00
ae72313f5e
Settings reverted to a static class
2023-12-31 15:55:59 +00:00
56155f5f5c
Added Watch Battery transmission
...
Added a background service to send the watch battery level to Home Assistant.
Changed the Glance View as requested by a user.
Updated to new HA icon using SVG in stead of PNG.
2023-12-31 15:22:21 +00:00
2ed8e9a3df
Update HomeAssistantApp.mc
...
Found a bug when our Dynamic DNS went down. Can't update no menu items.
2023-12-24 12:43:34 +00:00
76c2aaa249
Finishing off widget+app code changes.
...
Glance now updates the status.
Fix for quitting the application when persistently displaying an ErrorView.
Added option for Widget RootView to immediately start HomeAssistant without waiting for a tap as requested by a user.
2023-12-23 14:30:58 +00:00
332a10867d
Made RootView updateable
...
Changed the group/menu icon to be thicker.
2023-12-21 15:38:29 +00:00
3934ca53ba
New glance and widget views
...
Added ability to test if we're a widget or a watch-app. Added troubleshooting documentation.
2023-12-21 11:37:30 +00:00
4ab25ef860
Comment header update
...
Corrected spelling of username of contributor.
2023-12-17 12:46:20 +00:00
3ce4b7d3e8
Merge branch 'main' into 22-add-internationalisation-for-application-settings
2023-12-17 12:43:48 +00:00
fc2f509085
Merge branch 'main' into 29-vivoactive-4s-crashes-user-reported-error
2023-12-17 11:57:24 +00:00
16383f61a4
Added SomeoneOnEarth to all source headers
...
Give credit to a co-author.
2023-12-16 17:07:43 +00:00
f086d0d03b
Bug fix for devices with API 3.1.0
...
1) Removed WatchUi.getCurrentView() API call in favour of a new method of ensuring only one ErrorView is pushed at a time.
2) Any error view will be cancelled when responses start working again, e.g. watch gets in Bluetooth range of the phone again.
3) Added error message decoding for misspelled entities.
Co-Authored-By: Joseph Abbey <me@josephabbey.dev >
2023-12-16 17:03:38 +00:00