Commit Graph

218 Commits

Author SHA1 Message Date
70f05e8912 Added missing code headers
And included vincentezw in headers for the code he touched.
2025-07-22 22:14:46 +01:00
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
0b84983eaf use fixed poll delay from const 2025-07-21 21:02:51 +01:00
d32135af63 fix setting toggleItem, periodic pulling 2025-07-21 19:45:14 +01:00
db3fbd9886 timers as statics, defensive popviews, no double confirmation, add pin
screen onBack, toggle state tweaks
2025-07-19 10:35:35 +01:00
be7eed1ae1 early return from fetchApiStatus for in-app wifi, fix typo in docstrings 2025-07-19 10:35:35 +01:00
576f8c4a64 HomeAssistantConfirmationDelegate and HomeAssistantPinConfirmationDelegate undo toggles on timeout and reject 2025-07-19 10:35:35 +01:00
979d85fce5 show toast, not error, in updateMenuItems 2025-07-19 10:35:35 +01:00
ac899ff784 simplify delegate, toggle switch for empty response body 2025-07-19 10:35:35 +01:00
b45f02ef7b move popview up so it does not close wifi dialog 2025-07-19 10:35:35 +01:00
62f0e711c9 make setting conditional by using group 2025-07-19 10:35:35 +01:00
b2b8ffb332 separate syncdelegate class file, check for startsync2 2025-07-19 10:35:34 +01:00
172d4ad1e4 add Wifi LTE command execution 2025-07-19 10:35:34 +01:00
f6d0916315 Update HomeAssistantTapMenuItem.mc
Requirement for use of the PIN was not being correctly extracted from the options. Goes to show why the security features should not be relied on! A recent compilation fix created this breaking change.
2025-07-18 20:46:49 +01:00
ee964ce882 Update HomeAssistantMenuItemFactory.mc
Function documentation fix.
2025-07-11 01:11:00 +01:00
ee9da24592 Fix for too many arguments to a function call on some devices 2025-07-11 01:06:15 +01:00
906cdf7371 Code documentation comments were not updated 2025-07-10 23:54:05 +01:00
d141c03104 Review comment
Moved point of application exit for the menu item option.
2025-07-10 19:46:04 +01:00
842a31a1cc Review comment
enable => enabled
2025-07-10 18:24:30 +01:00
6dbcea94cf Update HomeAssistantView.mc
Refined more precisely where the exit option can be used and enforced in the code.
2025-07-09 21:09:33 +01:00
ec044c5408 Added two new options to menu items
1. The ability to disable a menu item without deleting it.
2. The option to quit the application on item selection.
2025-07-08 22:48:42 +01:00
4df1fd69bc Update Globals.mc
Increased the API back off time from 1s to 2s to remove the glance's status flickering. The assumption is that the GET requests are too fast for the Bluetooth stack.
2025-07-06 21:31:33 +01:00
90ed1f4bea Update HomeAssistantGlanceView.mc
Improved layout.
2025-07-06 19:02:59 +01:00
47a930828a Revised glance view
Refreshed default view and new customisable view.
2025-07-06 14:44:53 +01:00
4ed81df60a Fix spelling of Bluetooth
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-07-05 13:57:35 +01:00
b4f5f34760 Fix spelling of Webhook
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-07-05 13:57:02 +01:00
4cf5a0ae26 Update HomeAssistantApp.mc
Fix the 'fixed' comment string.
2025-07-04 17:26:33 +01:00
b44d4c6155 Update HomeAssistantApp.mc
Amended 4 comments
2025-07-04 17:20:48 +01:00
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
7e58e5416d Support for Vivoactive 6 device
This required an update to the SDK to version 8.1.0. The new SDK found some new code warnings for unreachable code previously known to be reached based on stricter type checking, so fixed in this commit too.
2025-04-24 22:26:18 +01:00
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
e8f2c0d3bb Amended menu item class inheritance 2025-03-28 00:22:09 +00:00
71cba8c21c Code attribution for author of PIN entry.
Prior to sorting out inheritance.
2025-03-28 00:20:53 +00:00
236a4969d7 Menu item code tidy
Prior to sorting out inheritance.
2025-03-27 20:45:51 +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
d105e69484 Update WebhookManager.mc
Removed Settings.unsetWebhookId() where it might be causing problems with replacement "Garmin Device" in Home Assistant.
2025-03-23 16:01:53 +00:00
fd58625640 Info only menu item 2025-01-19 13:44:53 +00:00
b6719365b2 Changes as per issue. 2024-11-19 21:56:32 +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
e8e2e02086 move pin validation to settings 2024-11-17 11:21:26 +01:00
f3e6879540 move PIN constants to Globals.mc 2024-11-17 11:00:45 +01:00
97b5371a0e add "pin": true JSON config property, add default pin, add pin confirmation to toggle, adjust JSON schema 2024-11-13 21:30:36 +01:00
0ac8e11287 use full numpad, validate 4-digit pin, add visual feedback on click, show toast on error 2024-11-12 19:24:15 +01:00
73219c6864 add class/method to debug messages 2024-11-11 21:06:38 +01:00
b13fb7e953 validate pin after full length of pin has been entered 2024-11-11 20:58:09 +01:00
7947280bb6 internationalize pin lock message 2024-11-11 20:39:26 +01:00