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 |
|
Philip Abbey
|
4432c7b9a0
|
Update WebhookManager.mc
Speculative fix to handle the callback data from webhook generation perhaps not being Lang.Dict.
|
2024-08-30 15:49:06 +01:00 |
|
Joseph Abbey
|
1b40231360
|
Fix errors
|
2024-08-30 13:49:09 +01:00 |
|
Joseph Abbey
|
1c182dd615
|
Deprecate template type
|
2024-08-30 13:25:16 +01:00 |
|
Philip Abbey
|
b5140ce8b4
|
Added vibrate to confirm toggle items tapped
|
2024-08-29 21:13:55 +01:00 |
|
Philip Abbey
|
17a5d89998
|
Prevent negative heading values.
|
2024-08-29 21:00:50 +01:00 |
|
Philip Abbey
|
bbd9119a07
|
Update HomeAssistantToggleMenuItem.mc
Prevent multiple toggles for initiating one action. Only set the state when the called service returns with the confirmed value.
|
2024-08-28 23:01:28 +01:00 |
|
Joseph Abbey
|
47a8a6e4e6
|
New poll delay property id
|
2024-08-28 08:52:41 +01:00 |
|
Joseph Abbey
|
bd37d5f2a8
|
Allow toggles to work if template fails
|
2024-08-26 20:11:19 +01:00 |
|
Joseph Abbey
|
2a48790f9c
|
Individual errors
|
2024-08-26 20:09:24 +01:00 |
|
Joseph Abbey
|
e9a0c5d137
|
Single request to update
|
2024-08-26 18:59:17 +01:00 |
|
Philip Abbey
|
d387152593
|
Restyle 165 templating content for all types (#171)
Automated style fixes for #170, created by [Restyled][].
The following restylers [made
fixes](https://restyled.io/gh/house-of-abbey/repos/GarminHomeAssistant/jobs/4738467):
- [jq](https://stedolan.github.io/jq/)
- [prettier-json](https://prettier.io/docs/en/options.html#parser)
-
[whitespace](https://github.com/restyled-io/restyler-whitespace/blob/master/README.md)
To incorporate these changes, merge this Pull Request into the original.
We
recommend using the Squash or Rebase strategies.
**NOTE**: As work continues on the original Pull Request, this process
will
re-run and update (force-push) this Pull Request with updated style
fixes as
necessary. If the style is fixed manually at any point (i.e. this
process finds
no fixes to make), this Pull Request will be closed automatically.
Sorry if this was unexpected. To disable it, see our [documentation][].
[restyled]: https://restyled.io
[documentation]:
https://github.com/restyled-io/restyled.io/wiki/Disabling-Restyled
|
2024-08-25 19:47:20 +01:00 |
|
Philip Abbey
|
2ea349bfda
|
Merge branch 'main' into 165-templating-content-for-all-types
|
2024-08-25 19:44:58 +01:00 |
|
Restyled.io
|
a35798f9d3
|
Restyled by whitespace
|
2024-08-25 18:42:34 +00:00 |
|
Philip Abbey
|
685cda7924
|
Added template option to toggle menu items
|
2024-08-25 19:34:29 +01:00 |
|
Philip Abbey
|
72e825566c
|
Update TemplateMenuItem.mc
Fixed System.println() calls.
|
2024-08-25 19:33:33 +01:00 |
|
Philip Abbey
|
1dc95eeac7
|
Added callback function to TemplateMenuItem
|
2024-08-25 18:53:32 +01:00 |
|
Philip Abbey
|
01f073e67b
|
Update BackgroundServiceDelegate.mc
Only submitting non-null values to HA, not fake zeros for null values.
|
2024-08-25 13:50:29 +01:00 |
|
Philip Abbey
|
64a9c5f274
|
Added null checking to activity stats
Position.getInfo().* might return null sometimes, so best check and avoid a numerical error.
|
2024-08-25 13:07:23 +01:00 |
|
Philip Abbey
|
ea32d71a2b
|
Added templates to group items
|
2024-08-24 18:31:47 +01:00 |
|
Philip Abbey
|
d2aec16811
|
Update BackgroundServiceDelegate.mc
Failed to make commensurate changes to the background service code.
|
2024-08-24 14:21:02 +01:00 |
|
Philip Abbey
|
a424e35784
|
Update WebhookManager.mc
Returned internationalized string for unavailable to "unknown" as per review comments advice.
|
2024-08-24 13:58:47 +01:00 |
|
Philip Abbey
|
5558e25bda
|
Bug fix for activity reporting
Added 'has' clauses around additional ActivityMonitor.Info fields that are not present on all devices.
|
2024-08-24 12:28:54 +01:00 |
|
Philip Abbey
|
c38f91f456
|
Fixed merge conflict
Fixed a merge conflict made by more recent changes to fix a bug (https://github.com/house-of-abbey/GarminHomeAssistant/pull/164)
|
2024-08-19 12:33:23 +01:00 |
|
Klaas Winter
|
43378bfe8c
|
Set icons for sent sensor values
|
2024-08-05 19:34:26 +02:00 |
|
Klaas Winter
|
700e7ca822
|
Send heartrate, floor, and respiration rate values to Home Assistant
|
2024-08-05 18:02:37 +02: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
|
1eb2fbed0e
|
Added internationalisation of new strings
|
2024-07-26 08:50:10 +01:00 |
|
Philip Abbey
|
0ae39a029f
|
Update HomeAssistantTemplateMenuItem.mc
Template errors now displayed per item.
|
2024-07-25 20:38:17 +01:00 |
|
Philip Abbey
|
9030a00d7d
|
Update BackgroundServiceDelegate.mc
Put check for methods with 'has' back in.
|
2024-07-22 22:18:27 +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
|
98af5578f0
|
Added update to telemetry on completion of an activity
|
2024-07-20 17:28:57 +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
|
92d3fbee57
|
Initial fixes
|
2024-03-07 21:59:33 +00:00 |
|
Philip Abbey
|
d5ed16e6d2
|
Amended export.cmd
And removed an old comment from HomeAssistantApp.mc
|
2024-02-18 15:00:36 +00:00 |
|
Philip Abbey
|
a65dcd6811
|
Removed widget specific code
|
2024-02-11 19:35:34 +00:00 |
|
Philip Abbey
|
0dfcc65469
|
3 bug fixes as per the issue description
|
2024-02-05 19:09:26 +00:00 |
|
Philip Abbey
|
69ddb0f197
|
Amended "no activity" condition
Back to using elapsed time.
|
2024-01-29 19:06:58 +00:00 |
|
Philip Abbey
|
55423c4eb7
|
Using System.getDeviceSettings().activityTrackingOn
Instead of activity elapsed time. Also forgot to update the WebhookManager class code.
|
2024-01-28 19:52:20 +00:00 |
|
Philip Abbey
|
b31aff652f
|
Update BackgroundServiceDelegate.mc
Amended detection of no activity reporting.
|
2024-01-28 18:54:47 +00:00 |
|