Philip Abbey
07f3be0d26
Update BackgroundServiceDelegate.mc
...
Changes to location sending and accuracy.
2026-03-10 21:55:06 +00:00
Philip Abbey
53ed5083ce
Merge branch 'main' into 342-allow-two-user-supplied-http-headers
2026-03-03 20:12:21 +00:00
Philip Abbey
68e7761684
Merge branch 'main' into 343-glance-text-not-visible-on-venu-33s-works-on-one-out-8f-3-devices
2026-03-01 08:39:01 +00:00
Philip Abbey
8893e596ec
Update HomeAssistantNumericPicker.mc
...
Code tidy
2026-03-01 08:29:39 +00:00
poaudet
adc04ea9a2
Refactor HomeAssistantNumericPicker to improve value parsing and initialization
2026-02-28 16:50:28 -05:00
poaudet
7daa07f52f
first commit
2026-02-28 14:15:09 -05:00
Philip Abbey
6721a13e99
Update HomeAssistantApp.mc
...
Faster custom Glance update.
2026-02-28 18:51:42 +00:00
Philip Abbey
651c9462e0
Added second HTTP Header field
...
NB. Need to update the translations in Github actions again.
2026-02-28 17:46:13 +00:00
Philip Abbey
cc2fc27532
Changed the Glance behaviour and design to avoid out of memory errors
...
Store the smaller "glance" subsection of the JSON menu in Storage under a new key (scStorageKeyGlance) and read the glance template from that cache to prevent out-of-memory errors from large menus. Removed menu status field from the Glance UI and simplified the status view to a single API status line when no custom template is present. Documentation and images updated to reflect changes.
2026-02-27 18:44:54 +00:00
Philip Abbey
6fae306465
Update HomeAssistantApp.mc
...
Fixed determination of cached menu when the Glance view cannot cache it, now we know it sometimes has insufficient memory.
2026-01-27 19:39:12 +00:00
Philip Abbey
a30f0c6218
Bulk amendment of header comments.
...
Removed "." from the end of all URLs because Copilot complains it can't find the URLs and its too stupid to realise the "." should be omitted. E.g. "https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE ."
2026-01-25 17:46:09 +00:00
Philip Abbey
a3ffabae27
Fix to prevent out of memory error in a glance
...
This commit also includes a minor code tidy for constants, to make their format consistent.
2026-01-25 16:39:59 +00:00
Philip Abbey
66bae3ac57
Add error handling for empty menu data
...
New string resource for menu definition errors and updates HomeAssistantApp to show an error message when the menu data is empty.
2025-12-13 16:29:18 +00:00
Philip Abbey
024b2c727f
Changed icons
...
New dual colour icons and a numeric menu item icon.
2025-11-09 19:10:31 +00:00
Philip Abbey
1e17d93310
Fix for numeric menu items over Wi-Fi/LTE
...
Turns out the sync service will not run unless the picker has not only been popped but the display also updated.
2025-11-07 09:05:22 +00:00
Philip Abbey
cc53b25508
Update HomeAssistantTapMenuItem.mc
...
Code tidy only.
2025-11-07 09:03:05 +00:00
Philip Abbey
098dc81236
Space alignment in code (tidy) and v3.6 history amendment
2025-11-06 20:40:43 +00:00
Philip Abbey
60f754f3e3
Update HomeAssistantMenuItemFactory.mc
...
Reverting picker => data change, as I think the original was correct, compiled and functionally worked.
2025-11-02 17:41:21 +00:00
Joseph Abbey
bc5a7d04e4
Schema fixes and move "exit" into "tap_action"
2025-11-02 13:14:48 +00:00
Joseph Abbey
ad83988ade
Merge branch 'main' into rename-service-to-action
...
Signed-off-by: Joseph Abbey <me@josephabbey.dev >
2025-11-01 21:23:08 +00:00
Joseph Abbey
cac94fecd4
rename service to action
2025-11-01 21:19:10 +00:00
Philip Abbey
fc0320aef6
Initial code for user supplied confirmation messages
2025-10-30 17:50:04 +00:00
Philip Abbey
14186b7992
Documentation & source tidy for Lang.Dictionary items.
2025-10-30 11:39:19 +00:00
thmichel
f19eb7c276
Fixed compiler warning for unreachable code
2025-10-29 19:18:06 +01:00
Philip Abbey
d1f6f6d9d2
Deduped picker variable
2025-10-29 15:14:30 +00:00
Philip Abbey
35333f4d75
Merge branch 'pr/298' into Picker-formatter
2025-10-29 15:13:13 +00:00
Philip Abbey
a5ddb65512
Suggested code changes from philipabbey
...
1. attribute is option, so needs a different template in the API call when absent.
2. Automatically derive the format string from the picker step value for any precision of step.
3. Changed all Lang.String representations of numbers to Lang.Number or Lang.Float. I'm keen to remove the use of strings to hold a numeric value.
4. Tidied up and completed some code comments.
5. Adjusted the JSON schema definition. This is still not finished as the 'picker' object is required for 'numeric' menu items and must not be present for the others. Additional schema changes are required for greater precision.
6. Moved fields over from 'data' to 'picker'.
2025-10-29 14:26:02 +00:00
thmichel
b0fa10b2c1
Fixed typo in formatsgtring and error if numeric template didn't return a value
2025-10-29 14:41:32 +01:00
thmichel
6a0ec34cdb
Using a picker object to configure the picker now, deriving display format from steps.
2025-10-29 13:54:14 +01:00
thmichel
2cd171637c
Reworked numericMenuItem to be able to display a different conten in the sublabel than jus a number.
2025-10-25 21:26:44 +02:00
thmichel
4348c899ae
Fixed crash when value was int instead of float
2025-10-16 13:34:39 +02:00
thmichel
b34291e41f
Code Cleanup
2025-10-13 15:57:00 +02:00
thmichel
7453b40cb1
Corrected settings
2025-10-13 15:53:55 +02:00
thmichel
6609fed35d
REmoved credentials from settings
2025-10-11 22:28:50 +02:00
thmichel
9a61c9ce77
Code cleanup
2025-10-11 22:00:43 +02:00
thmichel
2981893af7
Using a Picker to set new value
2025-10-11 21:51:50 +02:00
thmichel
52e2efddd8
Added numeric Menu Item
2025-10-10 11:46:20 +02:00
Philip Abbey
6fc6be2eef
Update HomeAssistantApp.mc
...
Removed debug print statements.
2025-09-30 16:53:04 +01:00
Philip Abbey
ac97a8af0d
New devices and SDK demanded code updates
...
The SDK upgrade called for more careful specification of "or Null" on some fields in classes. The new devices have been added with their resource needs. Need to check if there's an issue with Edge 850 device.
2025-09-29 21:00:13 +01:00
Philip Abbey
7ba0d76bf6
Added option to turn off automatic menu update checking
...
This is because it uses additional memory than can cause some older devices to crash unless they have smaller menus.
2025-09-13 11:06:29 +01:00
Philip Abbey
e284cd2d4a
2 Bug fixes
...
1. Fixed a bug where templates failed to display in toggle menu items (at least on some devices).
2. Fixed a bug where a menu item requesting to exit on completion appeared to indicate failure when using Wi-Fi or LTE. The fix uses a delay in exiting the application modelled as sufficient for a Venu 2 device, so this might need tweaking for other devices.
2025-09-12 14:34:16 +01:00
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
756647d156
Added Setting option to clear the Webhook ID
...
Co-Authored-By: __JosephAbbey <me@josephabbey.dev >
2025-08-15 15:23:30 +01:00
Joseph Abbey
25cbcfe59a
Rename variable
2025-08-15 13:56:46 +01:00
Joseph Abbey
474bd552ad
Only re-register sensors if the state has changed
2025-08-15 13:22:29 +01:00