Philip Abbey
c78ca4c318
Fixes
2025-09-07 14:43:18 +01:00
__JosephAbbey
6e735ccd30
Handle null items and values, handle arrays directly under arrays
2025-09-06 16:12:43 +01:00
Philip Abbey
03ff4b570b
Initial version
2025-09-05 15:43:01 +01:00
Philip Abbey
27dc66d005
Update HomeAssistantApp.mc
...
Cosmetic
2025-09-05 10:36:35 +01:00
Philip Abbey
9dbae5a64a
Cosmetic
...
Code tidy
2025-09-05 10:01:24 +01:00
Philip Abbey
7d77a79ad8
Fix for update before Webhook ID (re-)created.
2025-08-15 17:04:54 +01:00
Philip Abbey
5a0bd98ddb
Candidate bug fix for crash opening app from glance
...
Changed the function parameters on WebhookManager.onReturnRegisterWebhookSensor() to remove the last optional parameter that was causing the error message and this appears to keep the application happy on start up. Looks like an API request race between the glance's last call and the app first call.
Co-Authored-By: __JosephAbbey <me@josephabbey.dev >
2025-08-15 12:56:22 +01:00
Philip Abbey
166b5f4ec3
Found a path to a crash condition
...
Preventing a de-reference of null when the HA server is unreachable.
2025-08-10 20:50:12 +01:00
Philip Abbey
c1cddc54e4
Initial attempt
...
Lacking an end to end test on this code presently.
2025-08-08 11:40:13 +01:00
Philip Abbey
d110826392
Amended Globals.mc
...
Moved wifiPollDelayMs to Globals class.
2025-07-25 08:38:55 +01:00
Philip Abbey
8868f2152c
Comments & Dictionaries
...
Reformatted comments to work in VSCode and converted `dict.get(:key)` to `dict[:key]` syntax as its nicer.
2025-07-24 18:54:27 +01:00
Philip Abbey
70f05e8912
Added missing code headers
...
And included vincentezw in headers for the code he touched.
2025-07-22 22:14:46 +01:00
Philip Abbey
9641313492
Wifi -> Wi-Fi
...
Amended in presentational aspects only, not in the actual code. "Wi-Fi" is the proper noun and registered trademark.
2025-07-22 22:03:10 +01:00
Vincent Elger Zwanenburg
0b84983eaf
use fixed poll delay from const
2025-07-21 21:02:51 +01:00
Vincent Elger Zwanenburg
d32135af63
fix setting toggleItem, periodic pulling
2025-07-21 19:45:14 +01:00
Vincent Elger Zwanenburg
be7eed1ae1
early return from fetchApiStatus for in-app wifi, fix typo in docstrings
2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
979d85fce5
show toast, not error, in updateMenuItems
2025-07-19 10:35:35 +01:00
Vincent Elger Zwanenburg
172d4ad1e4
add Wifi LTE command execution
2025-07-19 10:35:34 +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
4cf5a0ae26
Update HomeAssistantApp.mc
...
Fix the 'fixed' comment string.
2025-07-04 17:26:33 +01:00
Philip Abbey
b44d4c6155
Update HomeAssistantApp.mc
...
Amended 4 comments
2025-07-04 17:20:48 +01:00
Philip Abbey
f2d65aa6e3
Added correctly formatted code comments
...
The newer SDK support tooltips to show the function prototype and help text, so best to make good use of it.
2025-07-04 16:57:25 +01:00
Philip Abbey
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
Philip Abbey
71cba8c21c
Code attribution for author of PIN entry.
...
Prior to sorting out inheritance.
2025-03-28 00:20:53 +00:00
Philip Abbey
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
Philip Abbey
155649f162
Fix for 2 bugs in issue 221
...
Template rendering and Webhook ID on initial start.
2025-03-26 22:37:33 +00:00
Philip Abbey
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
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
796be5b960
add trailing period to be consistent with other messages
2024-11-18 17:43:10 +01:00
Matthias Oesterheld
b6acec0672
move pin validation error screen to initial view resolution
2024-11-18 17:38:30 +01:00
Philip Abbey
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
Philip Abbey
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
Joseph Abbey
1b40231360
Fix errors
2024-08-30 13:49:09 +01:00
Joseph Abbey
bd37d5f2a8
Allow toggles to work if template fails
2024-08-26 20:11:19 +01:00
Joseph Abbey
e9a0c5d137
Single request to update
2024-08-26 18:59:17 +01:00
Philip Abbey
ea32d71a2b
Added templates to group items
2024-08-24 18:31:47 +01:00
Philip Abbey
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
Philip Abbey
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
Philip Abbey
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
Philip Abbey
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
Philip Abbey
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
Philip Abbey
dfa4cdd9b8
Moved template status updates to webhooks
...
This seems to work for non-privileged users.
2024-07-19 15:15:32 +01:00
Philip Abbey
2ffd83ebf5
When the cache is deactivated is now also cleared.
2024-04-16 22:58:53 +01:00
Philip Abbey
8f685af8ca
Missed two System.println() string corrections.
2024-04-15 21:12:08 +01:00
Philip Abbey
b17d12fe54
Corrected Czech language strings as advised
...
Also amended some trivial System.println() strings
2024-04-15 19:29:32 +01:00
Philip Abbey
2a99069f48
Review comments
2024-03-21 19:29:52 +00:00
Philip Abbey
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
Philip Abbey
cacd9f856f
Initial solution
2024-03-20 23:33:13 +00:00
Philip Abbey
4dc31e3c65
Removed a widget only property
...
That should have been removed previously.
2024-03-07 22:14:25 +00:00
Philip Abbey
d5ed16e6d2
Amended export.cmd
...
And removed an old comment from HomeAssistantApp.mc
2024-02-18 15:00:36 +00:00