Compare commits

...

260 Commits

Author SHA1 Message Date
5f34f870d9 Support for Vivoactive 6 device (#230)
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-25 07:59:58 +01:00
ada18f8323 Update export.cmd
'--api-level' command line switch removed from SDK 8.1.0
2025-04-24 22:38:10 +01:00
f74a3168de Update manifest.xml
The App ID should not have been changed from the test app.
2025-04-24 22:30:43 +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
1f7090092f 227 enhancement glance info cachingprevious results instead of unconfigured (#228)
Not as the issue requested, but instead pulling the settings from
persistent storage before checking the URL status, preventing
"Unconfigured" being initially displayed when it should be "Checking..."
as coded.
2025-04-21 15:31:30 +01:00
4ed132b9ca Update HISTORY.md
Added ver 2.27 text.
2025-04-21 13:59:13 +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
7423e609d8 Update TroubleShooting.md
SSL Certificate Validation Issues

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-04-21 09:26:33 +01:00
9df43cdb01 Explaining HTTPS Certificate Problems
Partial and Full chain certificates.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2025-04-21 09:15:55 +01:00
5ee8a6cc6a Update index.html
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-03-30 15:25:54 +01:00
5e35276628 Update main.js
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-03-30 15:22:49 +01:00
28f4ffc70b 223 code refactoring (#224)
Code refactoring and amended fix for responsive menu that was removed by
bug fix in v2.25.
2025-03-28 19:37:15 +00: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
c13e898e59 Update HISTORY.md
v2.25
2025-03-27 07:35:44 +00:00
a77870c2eb Fix for 2 bugs in issue 221 (#222)
Template rendering and Webhook ID on initial start.

Please review and (hopefully) approve, but don't merge as I need to
deploy to the beta app.
2025-03-27 06:32:27 +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
1ae4085113 219 new garmin device keeps replacing previous device (#220) 2025-03-23 16:59:52 +00:00
7a14a65ba3 Update HISTORY.md
2.24 text
2025-03-23 16:54:52 +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
184e2ac80e Add 4 new devices
approachs50, descentg2, descentmk1, and gpsmap66
2025-03-23 15:59:29 +00:00
12c5766818 208 provide display only menu items with no actions (#210)
Please take some care with checking any documentation where `template`
has been amended to either `info` to `tap`. Some of the documentation
was out of date, hopefully this fixes it.
2025-01-19 20:37:11 +00:00
b82e63d191 Documentation update 2025-01-19 19:47:42 +00:00
ed4646511f Added 5 new Instinct devices
Small (imperfect) fix for 2 colour device icons.
2025-01-19 18:47:38 +00:00
fd58625640 Info only menu item 2025-01-19 13:44:53 +00:00
816f2e6399 Update Actions.md
Documentation for the `service` field after a recently uncovered issue with its value. See https://github.com/house-of-abbey/GarminHomeAssistant/issues/205.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2024-12-31 18:02:03 +00:00
f171f913ac Update README.md (#202)
Documented a workaround to communicate with Home Assistant using HTTP.
2024-12-08 21:57:51 +00:00
cca73a4069 Update README.md
Documented a workaround to communicate with Home Assistant using HTTP.

Signed-off-by: Tomer <55205856+TomerMir@users.noreply.github.com>
2024-12-03 18:47:06 +02:00
2a3514de64 Update HISTORY.md
Version number typo.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2024-11-20 17:59:11 +00:00
fbcf2d4c8d Changes as per issue. (#200)
Trivial one this.
2024-11-20 17:23:43 +00:00
b6719365b2 Changes as per issue. 2024-11-19 21:56:32 +00:00
ad73971758 197 cosmetic changes (#198)
Just a bit of tidying, no major functionality changes.
2024-11-19 11:29:18 +00:00
2a7528ea86 Apply automatic changes 2024-11-18 19:57:22 +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
fb68ce2fba Feature: PIN confirmation dialog (#192)
## About this PR:
Being one of those incorrigible fools who want to open and unlock stuff
using my watch, I thought of a way to improve security when calling a
HomeAssistant service from the Garmin App.

This change adds a PIN confirmation dialog that is displayed whenever a
`pin` property has been set in the `tap_action`. Because of the size of
the screen, PINs consist of a sequence of abritrary length using the
digits 1-4.

![2024-10-16 11_16_09-CIQ Simulator - Venu® Sq 2 Music (5 0
0)](https://github.com/user-attachments/assets/f6e09c00-5dde-4972-b7dc-256d4d94e99e)

Due to public visibility of the dashboard config, a pin mask can be
configured in the app's settings to transcode the PIN on the watch for
additional security. Using a cipher for PIN encryption has been
discarded due to the complexity involved in generating the encrypted
PINs for the end user.

The PIN dialog is configured to allow up to 4 erraneous PIN inputs in 2
minutes, a 5th failure will lock the PIN dialog (for all actions) for 10
minutes. Entering a correct PIN will reset the failure count.

## Changes included in this PR:
- PIN confirmation screen
- called whenever a `pin` has been configured in a `tap_action`. This
overrides the `confirm` property. Users without a touchscreen will be
routed to the regular confirmation dialog.
- optional `pin_mask` configuration setting, which will be used to
transcode the digits of the PIN (see documentation change)
	- german translation of the `pin_mask` label
	- failed attemps and PIN lock are stored in application storage
- Addition of `pin` field to the JSON Schema
- Additions to the docs

Tested on a few devices in the simulator, tested and running as a beta
on a Venu 2 Sq Music.

## Disclaimer:
This is my first attempt at a Monkey C project.
I probably learned more from looking at the existing app than from the
sdk samples. Awesome work!

I added this mainly because I wanted a feature like that for myself,
thought it is a good thing to add and because I was interested in
developing for Garmin devices.
I would be glad if you like the idea and are open to review it and
include it in the app.

I have tried to use coding style and conventions from the existing
project as far as I could see them.
2024-11-18 19:00:05 +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
666854c5c6 fix translation 2024-11-17 10:51:56 +01:00
e0418a0ae6 improve docs 2024-11-17 10:49:58 +01:00
f51197ff75 adjust docs 2024-11-14 21:32:38 +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
51d4f68688 preliminary doc changes 2024-11-12 19:35:15 +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
f24d79e41a Merge branch 'main' into feature/pin-confirmation 2024-11-11 20:58:52 +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
fb2bb7f566 remove transcoding, move pin to settings, remove pin from schema 2024-11-11 20:06:35 +01:00
2000a30276 Update README.md
Garmin Express known issue.
2024-11-07 20:01:56 +00:00
cd5ed317c5 move pin mask translation to corrections 2024-10-16 16:45:55 +02:00
86943aa664 add mini vibration feedback when tapping pin digits 2024-10-16 15:59:44 +02:00
e21ab79d5d add PIN lock after exceeding failure count 2024-10-16 15:58:37 +02:00
c592726bd4 add PIN transcoding 2024-10-15 20:27:52 +02:00
b48102f9a6 add pin confirmation 2024-10-15 19:59:04 +02:00
04c61981ea Update Switches.md
Action from "Allow confirming switch toggle" https://github.com/house-of-abbey/GarminHomeAssistant/issues/190, make documentation clearer.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2024-10-06 15:35:35 +01:00
8caef29aba 2 fixes as required by issue 185 (#186)
Solution to a race condition with starting updates and amendment to
error message presentation on Webhook ID creation failure.
2024-09-10 15:16:54 +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
060cd2729f Update README.md
Additional information on toasts with Forerunner 55 device.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2024-09-07 11:06:11 +01:00
73a38e9b4e Update HISTORY.md
v2.21 amendment.
2024-09-06 17:32:50 +01:00
b22f119eb3 182 add support for the latest devices released from garmin (#183)
7 new devices. 2 users waiting for this update for Fenix 8.
2024-09-06 17:30:24 +01:00
cd8f5d900e Restyle 182 add support for the latest devices released from garmin (#184)
Automated style fixes for #183, created by [Restyled][].

The following restylers [made
fixes](https://restyled.io/gh/house-of-abbey/repos/GarminHomeAssistant/jobs/4778343):

-
[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-09-05 22:59:01 +01:00
ecb2e8bc96 Restyled by whitespace 2024-09-05 21:57:35 +00:00
881700d0ed Update HISTORY.md
v2.21 text
2024-09-05 21:28:33 +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
2e7216b6b2 v2.20 documentation update 2024-08-30 21:18:56 +01:00
57a44d8946 Update WebhookManager.mc (#179)
Speculative fix to handle the callback data from webhook generation
perhaps not being Lang.Dict.
2024-08-30 19:48:47 +01:00
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
15e2b19193 Deprecate template type (#177) 2024-08-30 14:32:22 +01:00
1b40231360 Fix errors 2024-08-30 13:49:09 +01:00
446c579660 Merge branch 'main' into 176-deprecate-template-items 2024-08-30 13:26:31 +01:00
da2e94caa3 Update TroubleShooting.md
Added instructions for how to send the debug log from the watch.
2024-08-30 13:25:41 +01:00
1c182dd615 Deprecate template type 2024-08-30 13:25:16 +01:00
fb5c2193f1 Create debug_log_location.png
Need a picture to explain to users where to fetch the debug logs from. Only gives the error message, but not the location unfortunately.
2024-08-30 13:18:09 +01:00
df3be94bf9 Documentation for v2.19 2024-08-29 23:12:13 +01:00
17162c14f2 174 tidy up two small issues (#175)
Heading & vibrate
2024-08-29 21:18:03 +01:00
b5140ce8b4 Added vibrate to confirm toggle items tapped 2024-08-29 21:13:55 +01:00
17a5d89998 Prevent negative heading values. 2024-08-29 21:00:50 +01:00
63bc127aec Perform all updates in one request (#173) 2024-08-29 20:55:40 +01:00
af43fde963 Merge branch 'main' into one-update-request 2024-08-29 19:03:12 +01:00
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
47a8a6e4e6 New poll delay property id 2024-08-28 08:52:41 +01:00
b476da6667 Revert compile_sim.cmd
Signed-off-by: Joseph Abbey <me@josephabbey.dev>
2024-08-28 08:45:07 +01:00
bd37d5f2a8 Allow toggles to work if template fails 2024-08-26 20:11:19 +01:00
2a48790f9c Individual errors 2024-08-26 20:09:24 +01:00
0feecde178 165 templating content for all types (#170)
Submitting as an initial draft in order to guage feedback on the style.
In particular the solution to adding the code to the `toggle` menu item,
which has incurred duplication of code as I can't inherit from two
classes.
2024-08-26 19:42:51 +01:00
e9a0c5d137 Single request to update 2024-08-26 18:59:17 +01:00
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
2ea349bfda Merge branch 'main' into 165-templating-content-for-all-types 2024-08-25 19:44:58 +01:00
a35798f9d3 Restyled by whitespace 2024-08-25 18:42:34 +00:00
4707f1ea9e Restyled by prettier-json 2024-08-25 18:42:33 +00:00
3424576027 Restyled by jq 2024-08-25 18:42:32 +00:00
1846d682f7 Update HISTORY.md
v2.18 text line amended.
2024-08-25 19:39:27 +01:00
685cda7924 Added template option to toggle menu items 2024-08-25 19:34:29 +01:00
72e825566c Update TemplateMenuItem.mc
Fixed System.println() calls.
2024-08-25 19:33:33 +01:00
1dc95eeac7 Added callback function to TemplateMenuItem 2024-08-25 18:53:32 +01:00
08829dac1f Update export.cmd
Trivial update to give the cmd.exe a title.
2024-08-25 16:50:08 +01:00
ca6e0733c5 Added null checking to activity stats (#169)
Position.getInfo().* might return null sometimes, so best check and
avoid a numerical error.

@KPWhiver My co-author is away presently, would you mind giving this
simple change the once over? Thanks!
2024-08-25 16:15:01 +01:00
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
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
ea32d71a2b Added templates to group items 2024-08-24 18:31:47 +01:00
f2fb7f65a0 Merge branch 'main' of https://github.com/house-of-abbey/GarminHomeAssistant 2024-08-24 14:30:44 +01:00
1e103069bc Update README.md
Feature differences between Application and Widget.
2024-08-24 14:30:23 +01:00
520309729d Bug fix for activity reporting (#167)
Added 'has' clauses around additional ActivityMonitor.Info fields that
are not present on all devices. I have also checked the other reporting
fields to ensure they are not device dependent.
2024-08-24 14:26:54 +01:00
d2aec16811 Update BackgroundServiceDelegate.mc
Failed to make commensurate changes to the background service code.
2024-08-24 14:21:02 +01:00
a424e35784 Update WebhookManager.mc
Returned internationalized string for unavailable to "unknown" as per review comments advice.
2024-08-24 13:58:47 +01:00
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
769731bff2 Send heartrate, floor, and respiration rate values to Home Assistant (#162)
This change sends the heartrate, respiration rate, stepcount, and floors
climbed/descended to Home Assistant as mobile app entities. There are a
lot more sensors that could potentially be added.

I have only tested this on a Vivoactive 4s as that is the only device I
own.

Let me know what you think and if there are any changes you would like
to see.
2024-08-20 09:01:00 +01:00
2c56155593 Merge branch 'main' into more-mobile-app-sensors
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2024-08-19 12:36:33 +01:00
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
94d806c4d3 163 application crashes when started out of bluetooth range (#164)
Test the phone is connected before attempting WebHook HTTP requests.
2024-08-18 14:15:52 +01:00
51081ee2e6 Update HISTORY.md
Added v2.16
2024-08-18 13:03:30 +01:00
7c7130367f Update Settings.mc
Rearranged 'else' clauses.
2024-08-18 12:26:45 +01:00
42d1a7233c Update Settings.mc
Test the phone is connected before attempting WebHook HTTP requests.
2024-08-18 12:04:34 +01:00
43378bfe8c Set icons for sent sensor values 2024-08-05 19:34:26 +02:00
700e7ca822 Send heartrate, floor, and respiration rate values to Home Assistant 2024-08-05 18:02:37 +02:00
19642c6679 Update HomeAssistantTemplateMenuItem.mc (#158)
Template errors now displayed per item.
2024-07-26 18:37:27 +00: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
97030dc1b8 Apply automatic changes 2024-07-26 08:16:05 +00:00
6a2a791146 Update strings.xml
Removed glance scope
2024-07-26 08:56:52 +01:00
1eb2fbed0e Added internationalisation of new strings 2024-07-26 08:50:10 +01:00
a86133fd87 Update HISTORY.md
v2.15 added
2024-07-25 23:36:11 +01:00
0ae39a029f Update HomeAssistantTemplateMenuItem.mc
Template errors now displayed per item.
2024-07-25 20:38:17 +01:00
3cebd106eb Update HISTORY.md
v2.14
2024-07-25 08:51:53 +01:00
9471259181 Update BackgroundServiceDelegate.mc (#156)
Put check for methods with 'has' back in.
2024-07-24 09:19:15 +00:00
9030a00d7d Update BackgroundServiceDelegate.mc
Put check for methods with 'has' back in.
2024-07-22 22:18:27 +01:00
7bd5e98a1a More responsive status when using a polling delay (#153)
When using a polling delay, an action will trigger an immediate round of
updates.
2024-07-21 16:00:21 +00: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
d2fc64836a Update HomeAssistantApp.mc (#152)
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 17:09:23 +00: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
61f6d69e64 Update HISTORY.md
Added a second feature to 2.13 in anticipation.
2024-07-20 17:39:59 +01:00
7f31cecfb5 Added update to telemetry on completion of an activity (#151)
@Someone0nEarth Note we could also add this to the widget version as the
changes are small and probably have a limited effect on the memory
footprint.
2024-07-20 16:37:29 +00:00
98af5578f0 Added update to telemetry on completion of an activity 2024-07-20 17:28:57 +01:00
c18736e40d Update Templates.md
Examples now up to date with schema changes.
2024-07-20 17:23:00 +01:00
822c6ccca6 Moved template status updates to webhooks (#150)
This seems to work for non-privileged users.
2024-07-20 15:49:04 +00:00
a139742265 Update HISTORY.md
Ver 2.13 text added in anticipation.
2024-07-19 17:05:19 +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
1c4add693d Update README.md
Amended advice based on a report at https://community.home-assistant.io/t/home-assistant-app-for-garmin/637348/280.

Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2024-07-01 08:40:04 +01:00
e6544b5b20 Update monkey.jungle top up 145 (#147)
Missed the Jungle file.
2024-06-15 11:32:35 +01:00
83914e8d8d Update monkey.jungle
Missed the Jungle file.
2024-06-15 11:13:10 +01:00
bd4b6d68a8 Devices Edge 540 and Edge 840 re-enabled (#146)
@Petucky reports the application works well on an Edge 840 by
sideloading the code from an Edge 830 device.
2024-06-15 11:12:46 +01:00
f4ca55d741 Devices Edge 540 and Edge 840 re-enabled
@Petucky reports the application works well on an Edge 840 by sideloading the code from an Edge 830 device.
2024-06-15 11:00:58 +01:00
5d34db7b6a Update README.md
Typo
2024-05-04 14:29:54 +01:00
cfaa31d5ee Update README.md
Typo
2024-05-04 14:28:33 +01:00
52ee270788 Update README.md
Note about HTTP
2024-05-04 10:06:59 +01:00
dec38889a5 Update HISTORY.md
Added version 2.11
2024-04-17 14:06:34 +01:00
586d85e706 Update export.cmd
Commit directly to main as not application code.
2024-04-17 08:26:52 +01:00
30b55aec3e Merge branch 'main' of https://github.com/house-of-abbey/GarminHomeAssistant 2024-04-17 08:24:52 +01:00
93d672dd40 Apply automatic changes 2024-04-17 07:09:18 +00:00
9130bc7121 Merge pull request #139 from house-of-abbey/138-cached-menu-will-still-be-used-even-if-the-setting-is-deactivated
When the cache is deactivated is now also cleared.
2024-04-17 07:56:49 +01:00
a6e386c5e6 Removed scope="glance" from another language corrections.xml file 2024-04-17 07:52:28 +01:00
2ffd83ebf5 When the cache is deactivated is now also cleared. 2024-04-16 22:58:53 +01:00
48b7e7efe5 Apply automatic changes 2024-04-16 06:35:49 +00:00
7bb270aae8 Update corrections.xml
Changed `<string id="Menu">Menu</string>` to `<string id="GlanceMenu">Menu</string>`.

A trivial fix so bypassing reviews.
2024-04-16 07:01:38 +01:00
ac117952d0 Merge pull request #136 from house-of-abbey/135-string-change-request-czech-translation-inappropriate
Corrected Czech language strings as advised
2024-04-16 06:31:26 +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
d5c39fa7f0 Documentation: Screenshot for Unicode Characters 2024-03-31 16:45:31 +01:00
b4b113f4e1 Apply automatic changes 2024-03-30 20:26:40 +00:00
517e36cfb0 Update Templates.md
Amended wording.
2024-03-30 14:19:23 +00:00
7071362656 Update Templates.md
Examples with unicode characters.
2024-03-30 13:36:23 +00:00
e37b2a76aa Merge pull request #129 from jose1711/sk_translation
Corrected a few strings in Slovak.
2024-03-30 12:18:44 +00:00
e3f8291299 Corrected a few strings in Slovak. 2024-03-27 10:01:00 +01:00
2f4c14d7d5 Merge pull request #126 from jose1711/typo
Fix typo
2024-03-22 20:04:03 +00:00
5b9dd6d2eb Fix typo 2024-03-21 23:02:38 +01:00
6599c22664 Merge pull request #123 from house-of-abbey/103-possiblity-to-add-polling-interval-for-states-to-save-battery
103 possiblity to add polling interval for states to save battery
2024-03-21 19:34:55 +00:00
c66950cfb0 Update HISTORY.md 2024-03-21 19:32:59 +00:00
2a99069f48 Review comments 2024-03-21 19:29:52 +00:00
bb9c8b1088 Merge pull request #125 from house-of-abbey/124-add-4-more-devices
Added 4 new devices
2024-03-21 17:43:50 +00:00
34e56c5da0 Added 4 new devices
Devices are: descentmk343mm, descentmk351mm, fr165, fr165m.
2024-03-21 17:39:58 +00:00
0a93f4f9ba Additional documentation changes
Including settings screenshot.
2024-03-21 13:53:01 +00:00
eb0d0f5044 Apply automatic changes 2024-03-21 09:30:42 +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
00b071c132 Apply automatic changes 2024-03-20 23:46:54 +00:00
cacd9f856f Initial solution 2024-03-20 23:33:13 +00:00
eebf5c9dcd Update Templates.md
Removed a reference to a problem mostly associated with Widgets.
2024-03-18 21:20:56 +00:00
da645f17ad Update README.md
Removed an old reference to a known issue with Widgets.
2024-03-18 08:10:49 +00:00
dbd0a42d2e Merge pull request #120 from house-of-abbey/118-allow-turning-off-vibration
118 allow turning off vibration
2024-03-08 16:20:36 +00:00
aeeb1aa96e Documentation update 2024-03-08 09:18:48 +00:00
be66c282df Apply automatic changes 2024-03-07 22:31:32 +00:00
4dc31e3c65 Removed a widget only property
That should have been removed previously.
2024-03-07 22:14:25 +00:00
92d3fbee57 Initial fixes 2024-03-07 21:59:33 +00:00
181335bfd7 Update README.md
Added a new [!IMPORTANT] tag
2024-03-06 18:34:40 +00:00
b684c1172a Merge pull request #116 from house-of-abbey/113-splitting-widget-and-app-code
113 splitting widget and app code
2024-02-20 20:59:52 +00:00
0ee20de6c5 Update HISTORY.md 2024-02-18 15:04:32 +00:00
d5ed16e6d2 Amended export.cmd
And removed an old comment from HomeAssistantApp.mc
2024-02-18 15:00:36 +00:00
8e2a4333ca Reverted manifest to test app ID
Removed comments used for running the widget in simulation.
2024-02-11 19:37:43 +00:00
a65dcd6811 Removed widget specific code 2024-02-11 19:35:34 +00:00
7b6fc65bf2 Update TroubleShooting.md
Spelling.
2024-02-11 19:30:12 +00:00
b65d45c955 Update README.md
Added known issue with iPhone's Connect IQ App
2024-02-11 18:31:49 +00:00
85b01eca91 Update issue templates 2024-02-08 21:05:53 +00:00
3ffaa744e0 Update issue templates 2024-02-08 21:02:32 +00:00
d488897fbd Update issue templates 2024-02-08 20:24:45 +00:00
457dcca002 Fix spacing inconsistencies 2024-02-06 21:47:33 +00:00
3a96f24f1d Merge pull request #110 from mymyke/patch-1
Fixed off-by-one error in Templates.md
2024-02-06 21:43:04 +00:00
5971e7f852 Merge pull request #109 from house-of-abbey/108-bug-fixes-to-26
3 bug fixes as per the issue description
2024-02-06 21:17:10 +00:00
f486a2c868 Update Templates.md
Round function added the brightness display part of content to correct off-by-one errors.
For example, setting brightnes to 30% would previously show 29% and now shows 30%
2024-02-05 22:44:27 +01:00
0dfcc65469 3 bug fixes as per the issue description 2024-02-05 19:09:26 +00:00
4d4a86f195 Update README.md
Added knwoon issue with Edge 540 and 840 devices.
2024-02-01 21:32:46 +00:00
9e1c5959ab Merge pull request #107 from house-of-abbey/100-help-text-for-web-based-configuration-editor
Documentation for web editor
2024-01-31 13:36:34 +00:00
41bc27262d Add link to dashboard definition docs 2024-01-31 10:19:56 +00:00
4119997ddd Documentation for web editor 2024-01-31 10:12:49 +00:00
6e842af372 Apply automatic changes 2024-01-30 20:19:10 +00:00
9c5aad889d Merge pull request #96 from house-of-abbey/94-add-gps-reporting-to-the-background-service
GPS and current activity reporting
2024-01-30 18:09:26 +00:00
2ad0480bbf Merge branch 'main' into 94-add-gps-reporting-to-the-background-service 2024-01-29 20:41:55 +00:00
1d5ee735e8 Update corrections.xml 2024-01-29 20:41:09 +00:00
d694880969 Merge branch 'main' into 94-add-gps-reporting-to-the-background-service 2024-01-29 20:39:00 +00:00
763c9cc5e0 Merge branch 'main' into 94-add-gps-reporting-to-the-background-service 2024-01-29 20:37:56 +00:00
e332c7c466 Merge pull request #105 from tarekbecker/fix-german
Corrections for german
2024-01-29 20:37:36 +00:00
d0109fe0af Corrections for german 2024-01-29 21:27:20 +01:00
28a03282a5 Restyled by whitespace 2024-01-29 21:24:44 +01:00
c148ef7080 Corrections for german 2024-01-29 21:22:17 +01:00
69ddb0f197 Amended "no activity" condition
Back to using elapsed time.
2024-01-29 19:06:58 +00:00
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
66193f080a Background service documentation 2024-01-28 18:55:33 +00:00
b31aff652f Update BackgroundServiceDelegate.mc
Amended detection of no activity reporting.
2024-01-28 18:54:47 +00:00
5e9673ba0e Merge branch '94-add-gps-reporting-to-the-background-service' of ssh://github.com/house-of-abbey/GarminHomeAssistant into 94-add-gps-reporting-to-the-background-service 2024-01-28 14:00:51 +00:00
da4f4401fe Update Templates.md
Jinja2 explained
2024-01-28 14:00:21 +00:00
f531ad8004 Merge branch '94-add-gps-reporting-to-the-background-service' of https://github.com/house-of-abbey/GarminHomeAssistant into 94-add-gps-reporting-to-the-background-service 2024-01-28 13:59:17 +00:00
930f1525b3 Best practices! 2024-01-28 13:59:07 +00:00
5de67382bc Update README.md
More explanation on the polling chain for status updates.
2024-01-28 13:37:54 +00:00
a45785cd88 Update Templates.md
Added template example with float number formatting.
2024-01-28 13:16:57 +00:00
6fc639f17f Report -1 instead of null for no activity 2024-01-28 13:05:34 +00:00
997e1c87e2 Merge pull request #101 from house-of-abbey/98-copy-button-and-fix-auto-complete-in-template 2024-01-28 12:37:27 +00:00
2542d9e9a5 Fix scroll bars 2024-01-28 12:17:40 +00:00
c2883f883e Merge pull request #99 from house-of-abbey/98-copy-button-and-fix-auto-complete-in-template 2024-01-28 12:03:37 +00:00
d991f7f180 Fix autocomplete and copy button 2024-01-28 12:02:24 +00:00
9f759b1dad Documentation
Amended "BatteryReporting" to "BackgroundService". Augmented TroubleShooting.md to remind people how to verify their JSON schema. Amended wording of some of the settings.
2024-01-27 16:29:08 +00:00
bbb4d13eb2 Merge pull request #97 from house-of-abbey/restyled/94-add-gps-reporting-to-the-background-service
Restyle GPS and current activity reporting
2024-01-27 16:09:28 +00:00
cf6552410e Restyled by whitespace 2024-01-27 15:39:45 +00:00
6b3a17bea3 Add GPS accuracy to update_location webhook and changed activity reporting 2024-01-27 15:39:22 +00:00
8f372c03e3 Merge branch 'main' into 94-add-gps-reporting-to-the-background-service 2024-01-27 15:06:06 +00:00
f5f88ced4e Added web-based editor to documentation 2024-01-27 14:59:48 +00:00
96abff9339 Fix spacing of arrows 2024-01-27 14:02:05 +00:00
4ff1509046 API level fix
Added 'has' test for Activity.getProfileInfo(). Reverted automatic changes to XML prettiness.

Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-27 13:57:21 +00:00
1ec80a1704 Update restyled.yml 2024-01-27 13:39:44 +00:00
e3288c9353 GPS and current activity in background service 2024-01-27 13:11:24 +00:00
2ba102f8dd Merge pull request #92 from house-of-abbey/91-enhanced-web-editor 2024-01-25 19:56:40 +00:00
3e0789e808 Update config.schema.json 2024-01-25 19:34:51 +00:00
bd56c6b4e6 Titles for buttons 2024-01-25 15:19:39 +00:00
6063ae8ba3 Titles for form elements 2024-01-25 14:56:28 +00:00
f00bbdcb13 Merge pull request #93 from house-of-abbey/restyled/91-enhanced-web-editor 2024-01-25 14:30:59 +00:00
2b98ed885e Restyled by whitespace 2024-01-25 14:28:38 +00:00
4a8185a937 Restyled by prettier-json 2024-01-25 14:28:38 +00:00
bb55ed4c69 Restyled by prettier 2024-01-25 14:28:36 +00:00
4ddf8339b8 Restyled by jq 2024-01-25 14:28:34 +00:00
7b227499c8 Restyled by clang-format 2024-01-25 14:28:32 +00:00
0849524ea9 formatting 2024-01-25 14:28:03 +00:00
b54b1d8cae Add autocomplete for entity names in templates 2024-01-25 13:40:02 +00:00
17b1e38145 Merge branch 'main' into 91-enhanced-web-editor 2024-01-25 10:43:44 +00:00
2afd0295b4 Error handling 2024-01-25 10:40:27 +00:00
83f8b7bf26 Create _config.yml 2024-01-23 21:54:51 +00:00
c4066e9fe3 Enhanced web editor 2024-01-23 21:19:07 +00:00
c062a6fcff Update HISTORY.md
Added V2.5 description.
2024-01-23 19:29:29 +00:00
118 changed files with 6011 additions and 2784 deletions

10
.github/ISSUE_TEMPLATE/blank-issue.md vendored Normal file
View File

@ -0,0 +1,10 @@
---
name: Blank issue
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''
---

47
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@ -0,0 +1,47 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**IMPORTANT!**
I have:
- [ ] Used HTTPS to access HomeAssistant (with a public certificate)
- [ ] Checked that my JSON Syntax is correct ([options 2, 3, or 4](https://github.com/house-of-abbey/GarminHomeAssistant#editing-the-json-file) or otherwise)
- [ ] Checked that my JSON follows the schema ([options 2, 3, or 4](https://github.com/house-of-abbey/GarminHomeAssistant#editing-the-json-file))
- [ ] Used the online editor to check my JSON against HomeAssistant ([option 1](https://github.com/house-of-abbey/GarminHomeAssistant#editing-the-json-file))
- [ ] Checked the [Docs](https://github.com/house-of-abbey/GarminHomeAssistant)
- [ ] Checked the [Troubleshooting Guide](https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/TroubleShooting.md)
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Garmin Device (please complete the following information):**
- Model: [e.g. Venu 2]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
**Additional context**
Add any other context about the problem here.

View File

@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@ -1,2 +1,5 @@
exclude:
- "**/*.md"
- '**/*.md'
- '**/pnpm-lock.yaml'
- 'manifest.xml'
- 'manifest-widget.xml'

10
.prettierrc Normal file
View File

@ -0,0 +1,10 @@
{
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSameLine": true,
"arrowParens": "always",
"experimentalTernaries": true,
"semi": true,
"trailingComma": "es5"
}

View File

@ -1,9 +1,54 @@
[Home](README.md) | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | Battery Reporting | [Trouble Shooting](TroubleShooting.md) | [Version History](HISTORY.md)
# Battery Reporting
# Background Service
The background service can report the following statuses from your device to your Home Assistant:
- Battery Level with charging status.
- Location and location accuracy.
- Activity information, but only if your device supports API level 3.2.0. If your device does not support this API level, this information is simply omitted. How do you know? Easiest way is to see if the data is reported.
If your device does not support the background service, the application will clear this setting after you have enabled it. This tells you that you are unable to take advantage of the background reporting service for the functions below.
## Limits
The values are merely samples of your device's current status. They are sent by a single background service at the repetition frequency you chose in the settings. The samples are sent at that one rate only, they _do not vary_ for example on in activity, on charge, time of day. You get one refresh interval and that is it. If you want to change the refresh interval, you change your settings. We do appreciate that may not be what you would ideally like to trigger actions on Home Assistant. Messing with the repeat interval of the background service requires more code, more settings and more complexity. That means older devices using widgets would have to be taken out of support to achieve it.
**Please do not ask for these to be made 'events'.** Garmin's [Connect IQ background service](https://developer.garmin.com/connect-iq/api-docs/Toybox/System/ServiceDelegate.html) is limited in that while it does provide an `onActivityCompleted()` method, it does not provide an `onActivityStarted()` method, so you would not have the complete activity life cycle anyway. So we're keeping this implementation simple, you just get a sampling at one refresh rate. This probably limits you to updating a status on a Home Assistant Dashboard only.
## Battery Reporting
From version 2.1 the application includes a background service to report the current device battery level and charging status back to Home Assistant. This is a feature that Garmin omitted to include with the Bluetooth connection.
## Location Reporting
From version 2.6 the application includes reporting your location. The location data reported includes:
- Location (latitude and longitude)
- Location accuracy
- Speed
- Direction
- Altitude
You get whatever your device provides at the moment, i.e. at the accuracy the device currently provides. If your watch is not calibrated you get poor data. It might mean that you get more accurate location data when you are in a location tracking activity (i.e. not swimming pool lengths). The device [indicates an accuracy](https://developer.garmin.com/connect-iq/api-docs/Toybox/Position.html#Quality-module) in units of:
- `Position.QUALITY_NOT_AVAILABLE` - No update provided
- `Position.QUALITY_LAST_KNOWN` - No update provided
- `Position.QUALITY_POOR` - We translate that to 500 m arbitrarily
- `Position.QUALITY_USABLE` - We translate that to 100 m arbitrarily
- `Position.QUALITY_GOOD` - We translate that to 10 m arbitrarily
**You cannot rely on the radius of the circle of accuracy in any resulting maps as any meaningful indication of error.**
## Activity Reporting
From version 2.6 the application includes reporting your activity. The activity data includes:
- Activity - This is an integer as defined by [Toybox.Activity `SPORT`](https://developer.garmin.com/connect-iq/api-docs/Toybox/Activity.html#Sport-module)
- Sub-activity - This is an integer as defined by [Toybox.Activity `SUB_SPORT`](https://developer.garmin.com/connect-iq/api-docs/Toybox/Activity.html#SubSport-module)
The application only provides the integers without translation. When using the values in Home Assistant, you will need to provide you own mapping from the `Activity` enumerated type to the human readable text. As developers of the application we are pushing this translation to the server to keep the Garmin application code 'lean'. You will also need to add to both the list of activities (sports) and sub-activities (sub-sports) an interpretation of integer `-1` for no activity/sub-activity at present.
## Start Reporting
The main drawback of this solution is that the Garmin application must be run once with the feature enabled in the settings before reporting will start. Reporting continues after you have exited the application. This is a limit we cannot code around.

View File

@ -1,4 +1,4 @@
[Home](README.md) | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Battery Reporting](BatteryReporting.md) | [Trouble Shooting](TroubleShooting.md) | Version History
[Home](README.md) | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Background Service](BackgroundService.md) | [Trouble Shooting](TroubleShooting.md) | Version History
# Version History
@ -13,7 +13,31 @@
| 1.6 | Added a user configurable 'timeout' in seconds so that when no action is taken the application automatically closes, stopping the continuous polling for changes of status and hence saving the drain on the battery. This can be disabled with timeout=0. |
| 1.7 | Added timeout to confirmation views so that when used for security devices it does not linger when left unconfirmed. Thanks to [Jan Schneider](https://github.com/j-a-n) for the contribution. Known bug for devices not supporting [`WatchUi.getCurrentView()`](https://developer.garmin.com/connect-iq/api-docs/Toybox/WatchUi.html#getCurrentView-instance_function) API call which is only available on API Level 3.4.0, e.g. Vivoactive 4S. |
| 2.0 | A significant code base change to enable both a 'widget' version for older devices, e.g. Venu (1), and an application with a glance, e.g. Venu2. These two versions must now be distributed under separate application IDs, but they have the same code base. A further 20 more devices are now supported, the settings have been internationalised, and there's a bug fix for older devices when trying to display a helpful error message but instead the application crashed. This version has come from a significant collaboration with [Someone0nEarth](https://github.com/Someone0nEarth). |
| 2.1 | Deployment of an idea to provide Home Assistant with access to the watch battery level. Using this requires [significant setup](BatteryReporting.md) on the Home Assistant configuration and hence is detailed separately. Due to this, the default state for this battery option is _off_. Changed the application settings user interface to be more intuitive, and hence amended the way settings are managed in the background. |
| 2.1 | Deployment of an idea to provide Home Assistant with access to the watch battery level. Using this requires [significant setup](BackgroundService.md) on the Home Assistant configuration and hence is detailed separately. Due to this, the default state for this battery option is _off_. Changed the application settings user interface to be more intuitive, and hence amended the way settings are managed in the background. |
| 2.2 | Adds a feature to cache the menu configuration and save the time taken for an HTTP request to fetch it. You as the user are responsible for managing the cache by clearing it when you update your configuration. Improvement to widget root display updates. Bug fix for battery level reporting when in the glance carousel. Fixed an uninternationalised string, "Execute". Unfixed issue with battery level updates when the user is not an administrator. |
| 2.3 | Fix for battery level updates where previously the function only worked for administrator accounts. The new solution is based on Webhooks and is simpler to implement on Home Assistant. Language support fix where an automatic translation produced an inappropriate word, possibly in more than one language. |
| 2.4 | Sensor status reporting via Home Assistant 'templates'. This provides a generalised way of viewing the status of any entity as long as the result can be rendered as text, e.g. 'uncovered', 'open', '76%', '21 °C'. Removal of the menu style option. The original style was kept after the introduction of the icon style solely to keep the code for a possible re-use for sensor statuses. This version delivers that new feature, hence the style option has been removed. The new JSON configuration file format allows for the old style to be replicated if you are desperate! Added a feature to provide parameters to actions (`tap` or `template`). Added a feature to confirm `toggle` menu items. |
| 2.5 | A small memory efficiency of about 1kB by removing `RezStrings.mc`. This will aid widgets on old watches that only have 60kB available to an application and are using about 45kB before the menu is fetched, hence 1kB is more significant to those devices. |
| 2.6 | Added more information reporting to the background service, in addition to the device battery level and charging status, we now include location, location accuracy, and (if supported by your device) the activity information. Note the updates are sent periodically and are not event driven. |
| 2.7 | Bug fix release: 1. Handling a settings change, 2. Avoid caching a bad menu, 3. Managing bad JSON in menu definitions. |
| 2.8 | Separation release. The application and widget are no longer joined and now have separate source code repositories. The widget version is now in "maintenance only mode" hence will not receive new features, whilst the application version can now take advantage of not being constrained by the widget's memory limitation, which should allow new features to be added in the future. |
| 2.9 | Added an option to enable confirmation vibration so it can be turned off by request of a user. Removed a redundant setting for the alternative Widget version that was not removed previously, and fixed a bug with dereferencing Null. |
| 2.10 | Added a user requested feature to slow down the rate of API calls in order to reduce battery wear for a situation where the application is kept open permanently on the device for convenience. Added 4 new devices. |
| 2.11 | Bug fix release for menu caching being turned off and language corrections (Czech & Slovenian). |
| 2.12 | Re-enabled Edge 540 and Edge 840 devices which we are unable to support due to simulator issues, but the Edge 840 device has been confirmed as working by a [Petucky](https://github.com/Petucky). |
| 2.13 | Moved the template status queries to Webhooks in order to fix the situation where an account is a non-privileged user. Added telemetry update on activity completion to make automations more timely at the end of an activity. When using a polling delay, there is no longer a startup delay for status updates and an action will trigger an immediate round of updates. |
| 2.14 | Cautionary bug fix for the background service code where refactorisation spoilt some API level guard clauses. |
| 2.15 | Better support for templates by isolating erroneous returns and marking the menu item. |
| 2.16 | Bug fix for lack of phone connection when starting the application. Includes new activity reporting features from [KPWhiver](https://github.com/KPWhiver) covering steps, heart rate, floors climbed and descended, and respiration rate. |
| 2.17 | Bug fix for reporting activity metrics that are not found on some devices. |
| 2.18 | Bug fix for reporting activity metrics that might be `null` sometimes. This is unsimulatable situation, so this version is a change based on an informed guess. |
| 2.19 | A template to evaluate is now optionally allowed on both `group` and `toggle` menu items. The template to evaluate is non-optional on a `template` menu item. All updates are performed in a single HTTP GET request for efficiency. Bug fix for negative heading values. Vibration now (optionally) confirms toggle menu items being tapped. |
| 2.20 | Simplified the code base now that templates have been requested in all menu items. This means the `template` menu item became a superset of `tap`. Therefore the `tap` code has been has been upgraded to include `template` and the latter deprecated. JSON menu definitions continue to support `template` items by instantiating a `tap` menu item, but the schema marks them as deprecated and users should migrate their menu definitions now. Use the [web editor](https://house-of-abbey.github.io/GarminHomeAssistant/web/) for assistance with changes. |
| 2.21 | Added 7 new devices (`edge1050`, `enduro3`, `fenix843mm`, `fenix847mm`, `fenix8solar47mm`, `fenix8solar51mm`, `fenixe`) and upgraded the SDK to 7.3.0. Fix for a bug on Edge devices introduced by v2.16 activity reporting improvements. |
| 2.22 | Major feature release adding an optional PIN to menu items. This significant new feature has been provided by [moesterheld](https://github.com/moesterheld). Please do not rely on this application for security. Use at your own risk! |
| 2.23 | Added "info" menu item for displaying information via a template without a tap or toggle. Essentially like the old 'template' type that was deprecated when all items were amended to display evaluated templates. That action removed the display only items too hastily. Added 5 new devices in the model range Instinct 3 and Instinct E. |
| 2.24 | Experiment to prevent new Webhook IDs being created unnecessarily. Reduced the latency for the first menu update. Added 4 new devices: approachs50, descentg2, descentmk1, and gpsmap66. |
| 2.25 | 2 Bug fixes. First time startup issues caused by v2.24 change and a fix for pure numbers in returned templates. |
| 2.26 | Retry responsive menu fix failed in v2.24. Cosmetic internal class changes. |
| 2.27 | Trivial bug fix for the glance view to prevent the "Unconfigured" result being erroneously displayed because the settings were not yet pulled from persistent storage. |
| 2.28 | Added support for Vivoactive 6 device which also required an SDK update to 8.1.0. |

141
README.md
View File

@ -1,4 +1,4 @@
Home | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Battery Reporting](BatteryReporting.md) | [Trouble Shooting](TroubleShooting.md) | [Version History](HISTORY.md)
Home | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Background Service](BackgroundService.md) | [Trouble Shooting](TroubleShooting.md) | [Version History](HISTORY.md)
# GarminHomeAssistant
@ -6,11 +6,14 @@ Home | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Temp
A Garmin application to provide a "dashboard" to control your devices via [Home Assistant](https://www.home-assistant.io/). The application will never be as fully fledged as a Home Assistant dashboard, so it is designed to be good enough for the simple and essential things. Those things that can be activated via an on/off toggle or a tap. That should cover lights, switches, and anything requiring a single press such as an automation. For anything more complicated, e.g. thermostat, it would always be quicker and simpler to reach for your phone or tablet... or the device's own remote control!
The application is designed around a simple scrollable menu where menu items have been extended to interface with the [Home Assistant API](https://developers.home-assistant.io/docs/api/rest/), e.g. to get the status of switches or lights for display on the toggle menu item, or a text status for an entity (template item). It is possible to nest menus, so there is a menu item to open a sub-menu. This can be arbitrarily deep and nested in the format of a tree of items, although you need to consider if reaching for your phone becomes quicker to select the device what you want to control.
The application is designed around a simple scrollable menu where menu items have been extended to interface with the [Home Assistant API](https://developers.home-assistant.io/docs/api/rest/), e.g. to get the status of switches or lights for display on the `toggle` menu item, or a text status for an entity (`info` item). It is possible to nest menus, so there is a menu item to open a sub-menu. This can be arbitrarily deep and nested in the format of a tree of items, although you need to consider if reaching for your phone becomes quicker to select the device what you want to control.
**The intended audience for this application are those comfortable with configuring a Home Assistant** (e.g. editing the YAML configuration files) and debugging why URLs don't work. It does not require programming skills, but the menu is configured via JSON which feels like "coding". If you are not comfortable with this relatively low level of configuration, you may like to try other Garmin applications instead.
**The intended audience for this application are those comfortable with configuring a Home Assistant** (e.g. editing the YAML configuration files) and debugging why URLs don't work. It does not require programming skills, but the menu is configured via JSON which feels like "coding" (more like "describing"). If you are not comfortable with this relatively low level of configuration, you may like to try other Garmin applications instead.
It is important to note that your Home Assistant instance will need to be accessible via HTTPS with public SSL or all requests from the Garmin will not work. This cannot be a self-signed certificate, it must be a public certificate. You can get one for free from [Let's Encrypt](https://letsencrypt.org/) or you can pay for [Home Assistant cloud](https://www.nabucasa.com/). (You can install a local [Nginx proxy server](https://my.home-assistant.io/redirect/supervisor_addon/?addon=a0d7b954_nginxproxymanager) to manage Let's Encrypt certificates.)
> [!IMPORTANT]
> The Garmin SDK allows HTTP requests only to a limited number of domains specified in their app. Therefore, for your Garmin to communicate with your Home Assistant instance, your Home Assistant instance must be accessible via HTTPS (with a public certificate!) or through a local DNS server that overrides one of the whitelisted domains to communicate using HTTP.
> To make your Home Assistant instance accessible via HTTPS, you will need a public certificate. You can get one for free from [Let's Encrypt](https://letsencrypt.org/) or you can pay for [Home Assistant cloud](https://www.nabucasa.com/). (You can install a local [Nginx proxy server](https://my.home-assistant.io/redirect/supervisor_addon/?addon=a0d7b954_nginxproxymanager) to manage Let's Encrypt certificates.)
> If you use a local DNS server (like [Pi-Hole](https://pi-hole.net/)), you can create a local DNS record for the domain `garmincdn.com` (which is allowed for HTTP in the Garmin SDK) and map it to your Home Assistant instance's IP. You can find additional workarounds for HTTP request restrictions in the Garmin SDK [here](https://www.instructables.com/About-Communication-Between-Garmin-SDK-and-a-Raspb/).
**If you are struggling with getting the application to work, please consult the [trouble shooting](TroubleShooting.md#menu-configuration-url) guide first.**
@ -22,9 +25,27 @@ As of version 2.0, there are now two installable versions. For older devices bef
| Version | Explanation |
|------------------------|-------------|
| Application (original) | For newer devices that allow glance views in their applications, e.g. Venu 2, the GarminHomeAssistant application can be started either from a glance or from the list of applications and activities. Head over to the [GarminHomeAssistant](https://apps.garmin.com/en-US/apps/61c91d28-ec5e-438d-9f83-39e9f45b199d) application page on the [Connect IQ application store](https://apps.garmin.com/en-US/) to download the application. The application can be started two different ways, either from the glance in the carousel, or as an application from the list of applications & activities. With the latter, it is worth marking the application as a favourite.<br/><img src="images/Venu2_app_start.png" width="200" title="Venu 2" style="margin:5px"/><img src="images/Vivoactive3_app_start.jpg" width="200" title="Venu 2" style="margin:5px"/><br/>If you place the application on your list of favourites, and rearrange it to appear near the top, then the item is just one button press away from the watch face. This second picture here shows the application menu on a Vivoactive 3 watch.<br/><img src="images/Venu2_glance_start.png" width="200" title="Venu 2" style="margin:5px"/><br/>On newer watches, you can also start the application from the glance carousel. The glance view here typically displays some trackable status, so ours provides some early indication of availability. Older watches will still allow you to start this application from the list of applications and activities. |
| Widget | For older devices that use widgets, e.g. Venu (1) as opposed to applications with "glances", the GarminHomeAssistant application can instead be started from the widget carousel. This is a separate item in the Connect IQ AppStore and with this installation, the application will no longer appear in the list of applications and activities. Head over to the [GarminHomeAssistant](https://apps.garmin.com/en-US/apps/) widget page on the [Connect IQ application store](https://apps.garmin.com/en-US/) to download the widget.<br/><img src="images/Venu_Widget_sim.png" width="200" title="Venu 2" style="margin:5px"/><br/>Typically the widget view implements something similar to the glance view, e.g. status, and exists in a widget carousel to allow you to select an application to launch.<br>**Please note that memory in widgets is more limited than applications. This means a large menu definition can crash the widget without the code catching the error.** |
| Widget | **"Maintenance only mode"** so no new features will be added to this version.<br>For older devices that use widgets, e.g. Venu (1) as opposed to applications with "glances", the GarminHomeAssistant application can instead be started from the widget carousel. This is a separate item in the Connect IQ AppStore and with this installation, the application will no longer appear in the list of applications and activities. Head over to the [GarminHomeAssistant](https://apps.garmin.com/en-US/apps/) widget page on the [Connect IQ application store](https://apps.garmin.com/en-US/) to download the widget.<br/><img src="images/Venu_Widget_sim.png" width="200" title="Venu 2" style="margin:5px"/><br/>Typically the widget view implements something similar to the glance view, e.g. status, and exists in a widget carousel to allow you to select an application to launch.<br>**Please note that memory in widgets is more limited than applications. This means a large menu definition can crash the widget without the code catching the error.**<br> This version was born out of the application version and from Ver 2.0 shared the same source code repository until Ver 2.8 when they were [separated](https://github.com/house-of-abbey/GarminHomeAssistantWidget) to allow the application version to take advantage of its increase memory availability. |
As the source code base for both is the same, the version numbers of each will be kept in step. That means that the widget version starts version numbering at 2.0.
### Features
The following table lists the differences in functionality between the two. The Widget version is more limited due to memory constraints. As such new features are only being added to the Application.
| Feature | Application | Widget |
|---------|-------------|--------|
| Vibration | Optional setting | Always on |
| "Always on" support | Slow refresh option to reduce batter demand | No available |
| Metric reporting | Fuller, includes: activity, sub-activity, battery, charging, steps, heart rate, floors ascended and descended, respiration rate | Basic, includes: activity, sub-activity, battery only. |
### Source Code Repositories
* [Application](https://github.com/house-of-abbey/GarminHomeAssistant)
* [Widget](https://github.com/house-of-abbey/GarminHomeAssistantWidget)
### Connect IQ Store
* [Application](https://apps.garmin.com/en-US/apps/61c91d28-ec5e-438d-9f83-39e9f45b199d)
* [Widget](https://apps.garmin.com/en-US/apps/559f5174-177f-4f46-b170-f31c7e74dea3)
## Dashboard Definition
@ -34,7 +55,10 @@ Setup for this menu is more complicated than the Connect IQ settings menu really
2. the file is editable within Home Assistant via "[Studio Code Server](https://my.home-assistant.io/redirect/supervisor_addon/?addon=a0d7b954_vscode)", and
3. the schema is verifiable using [JSON Schema](https://json-schema.org/overview/what-is-jsonschema).
We have used `/config/www/garmin/<something>.json` on our Home Assistant's file system. That equates to a URL of `https://homeassistant.local/local/garmin/<something>.json`.
We have used `/config/www/garmin/<something>.json` on our home brew Home Assistant's file system. That equates to a URL of `https://homeassistant.local/local/garmin/<something>.json`.
> [!IMPORTANT]
> However [recent reports](https://community.home-assistant.io/t/www-folder-location-for-local-documents/24903/16) suggest this path may no longer work on [Nabu Casa](https://www.nabucasa.com/) and you should use `/homeassistant/www/` instead of `/config/www/`. We are unable to verify this since our free trial of Nabu Casa has expired.
Schema verification is a big part of this design choice. If the application cannot read your menu definition, there's a limited amount of debug it can reasonably provide on a small screen. That responsibility now falls to you and the schema checker for help.
@ -109,7 +133,8 @@ Example schema:
"name": "TV Lights Scene",
"type": "tap",
"tap_action": {
"service": "scene.turn_on"
"service": "scene.turn_on",
"pin": true
}
}
]
@ -120,32 +145,33 @@ NB. Entity names are not real in case anyone's a hacker ;-).
The example above illustrates how to configure:
* Lights or switches (toggle), <img src="images/toggle_icon.png" height="20">
* Enables for automations (toggle), <img src="images/toggle_icon.png" height="20">
* Script invocation (tap)
* Service invocation, e.g. Scene setting, (tap)
* A sub-menu to open (group)
* You can also display the status of devices (template) and add an optional 'tap' action. However that's a bit more involved and has its own [examples page](examples/Templates.md). Add those later!
* Lights or switches (`toggle`), <img src="images/toggle_icon.png" height="20">
* Enables for automations (`toggle`), <img src="images/toggle_icon.png" height="20">
* Script invocation (`tap`)
* Service invocation, e.g. Scene setting, (`tap`)
* A sub-menu to open (`group`)
* You can also display the status of devices (`info`) which is essentially a `tap` with no action
* All menu items can display the results of evaluating [templates](examples/Templates.md).
The following table indicates how Home Assistant entity types can map to the Garmin applications menu types. Presently, an automation is the only one that can be either a 'tap' or a 'toggle'.
The following table indicates how Home Assistant entity types can map to the Garmin applications menu types. Presently, an automation is the only one that can be either a `tap` or a `toggle`.
| HA Entity Type | Tap | Toggle | Template (custom status text with optional tap action) |
|------------------|:---:|:------:|:------------------------------------------------------:|
| Switch | | ✅ | <br>Separate on and off, or anything in between |
| Light | | ✅ | <br>Separate on and off, or anything in between |
| Automation | ✅ | ✅ | ✅ |
| Script | | ❌ | |
| Scene | | ❌ | |
| Sensor | | ❌ | |
| Binary Sensor | | ❌ | |
| Any other entity | | ❌ | |
| Any service | | ❌ | |
| HA Entity Type | Tap | Toggle | Info (status)|
|------------------|:---:|:------:|:------------:|
| Switch | ❌ | ✅ | |
| Light | ❌ | ✅ | |
| Automation | ✅ | ✅ | ❌ |
| Script | ✅ | ❌ | |
| Scene | ✅ | ❌ | |
| Sensor | ❌ | ❌ | |
| Binary Sensor | ❌ | ❌ | |
| Any other entity | ❌ | ❌ | |
| Any service | ✅ | ❌ | |
Templates need separate HTTP requests to update their status and send an action. Only the toggle items have the on/off <img src="images/toggle_icon.png" height="20"> icon. A Tap does not require a status update and hence does not require the associated HTTP GET request. NB. All 'tap' items must specify a 'service' tag.
Multiple templates are evaluated in a single HTTP request to update their status. Only the toggle items have the on/off <img src="images/toggle_icon.png" height="20"> icon. NB. All `tap` items must specify a `service` tag in the `tap_action` object (see example below).
You can now specify alternative texts to use instead of "On" and "Off", e.g. "Locked" and "Unlocked" or "Open" and "Closed" through the use of a [template menu item](examples/Templates.md). But wouldn't having locks operated from your watch be a security concern ;-) ?
The [schema](https://raw.githubusercontent.com/house-of-abbey/GarminHomeAssistant/main/config.schema.json) is checked by using a URL directly back to this GitHub source repository, so you do not need to install that file. You can just copy & paste your entity names from the YAML configuration files used to configure Home Assistant. With a submenu, there's a difference between "title" and "name". The "name" goes on the menu item, and the "title" at the head of the submenu. If your dashboard definition fails to meet the schema, the application will simply drop items with the wrong field names without warning to protect itself.
The [schema](https://raw.githubusercontent.com/house-of-abbey/GarminHomeAssistant/main/config.schema.json) is checked by using a URL directly back to this GitHub source repository, so you do not need to install that file. You can just copy & paste your entity names from the YAML configuration files used to configure Home Assistant. With a submenu, there's a difference between `title` and `name`. The `name` goes on the menu item, and the `title` at the head of the submenu. If your dashboard definition fails to meet the schema, the application will simply drop items with the wrong field names without warning to protect itself.
### Old deprecated format
@ -173,25 +199,28 @@ The above should be replaced by the following:
}
```
This allows the `confirm` field to be accommodated in the `tap_action` along side the `service` tag, and follows the Home Assistant YAML format more closely.
This allows the `confirm` and `pin` fields to be accommodated in the `tap_action` along side the `service` tag, and follows the Home Assistant YAML format more closely.
### More Examples
- [Switches](examples/Switches.md)
- [Actions](examples/Actions.md)
- [Templates](examples/Templates.md)
* [Switches](examples/Switches.md)
* [Actions](examples/Actions.md)
* [Templates](examples/Templates.md)
## Editing the JSON file
You have options. The first is what we use.
1. **Best!** Use the [Studio Code Server](https://community.home-assistant.io/t/home-assistant-community-add-on-visual-studio-code/107863) addon for Home Assistant. You can then edit your JSON file in place.
2. Locally installed VSCode, or if not installed,
3. try the on-line version at https://vscode.dev/, which works really well.
1. **Best!** Use the GarminHomeAssistant [Web-based Editor](https://house-of-abbey.github.io/GarminHomeAssistant/web/) which includes `entity` and `service` name completion and validation by fetching data from your own Home Assistant instance. _Pretty nifty eh?_ The other method listed below do not add this convenience and checking.
2. Use the [Studio Code Server](https://community.home-assistant.io/t/home-assistant-community-add-on-visual-studio-code/107863) addon for Home Assistant. You can then edit your JSON file in place.
3. Locally installed VSCode, or if not installed, try
4. The on-line version at https://vscode.dev/, which works really well.
Paste in your JSON (and change the file type to JSON if not saving), it will then verify your file format and schema for you, highlighting any errors for you to fix.
A failure to get the file format right tends to mean that the response to the application errors with `INVALID_HTTP_BODY_IN_NETWORK_RESPONSE` (code of -400). This means the response did not contain JSON, it was probably an error message in plain text that could not be parsed by the Connect IQ API call. See [Toybox.Communications](https://developer.garmin.com/connect-iq/api-docs/Toybox/Communications.html) for the list of error code you might be presented with on your device.
There are some cases where the file format may be valid JSON, but invalid against the schema, and the failure to catch this error could cause the application to crash. Whilst we have taken care to manage many issues, there may still be cases that are uncaught.
Make sure you can browse to the URL of your JSON file in a standard web browser to make sure it is accessible.
## API Key Creation
@ -226,12 +255,23 @@ You should now have a working application on your watch and be able to operate y
You may choose to cache your menu definition on your device in order to reduce the delay in showing the menu (as it saves waiting for an HTTP GET request). If you use this option you are responsible for managing the cache when the menu is updated at source. The toggle option below the cache option allows you to choose to refresh the cache the next time the application starts. Once the cache has been cleared, the application will reset this toggle for you, so you do not need to return to the settings to amend it.
The application timeout prevents the app running on your watch when you have forgotten to close it. It prevents the refreshing of the menu statuses and therefore excessive wear on your battery level. There is a second timeout value for confirmation views. This is intended for use with more sensitive toggles so that the confirmation view is not left open and forgotten and then confirmed accidentally without you noticing. **We cannot advise you this is safe, be careful what you toggle with the watch application!**
The application uses vibration to confirm the action has been requested, as opposed to the 'toast' appears to show the action has been successfully executed. This is enabled by default but may be turned off if you do not desire this behaviour.
The application timeout prevents the HomeAssistant App running on your watch when you have forgotten to close it. It prevents the refreshing of the menu statuses and therefore excessive wear on your battery level. For those users who prefer to keep the application open all the time for continuous use, they can reduce the battery wear by increasing the "poll delay". This inserts a user configurable number of seconds between each round of item update checks, hence reducing the API access activity. This also reduces the responsive of the statuses displayed when HA devices are switched externally, i.e. by another Home Assistant client, then the watch menu display will not update as quickly. Therefore if you only use the HomeAssistant App briefly now and then, keep this setting at the default 0 seconds. NB. To be clear, all items are updated then a configurable delay is inserted before the next round of all item updates. If your poll delay is greater than zero, then your application timeout should be set to zero, otherwise you will exit the application and negate the value of the poll delay function.
| Application Timeout | Poll Delay | Comment |
|:-------------------:|:----------:|:--------|
| 0 | 0 | Permanently open, poll as fast as possible. This is the simple default, but could drain your battery |
| > 0 | 0 | Temporarily open, poll as fast as possible, responsive and limits battery drain by closing. |
| 0 | > 0 | Permanently open, but poll more gently to save battery. |
| > 0 | > 0 | Temporarily open, poll more gently to save battery, but the application closes before the benefit is realised. Not recommended. |
There is a second timeout value for confirmation views. This is intended for use with more sensitive toggles so that the confirmation view is not left open and forgotten and then confirmed accidentally without you noticing. **We cannot advise you this is safe, be careful what you toggle with the watch application!**
The confirmation timeout is also used for the maximum time between clicks in the PIN confirmation dialog. The PIN confirmation provides a more secure alternative for toggling security-sensitive actions.
There is a toggle setting for "text alignment" that provides finer adjustment for right-to-left languages. Perhaps this could be made automatic based on device language?
Another toggle setting for the **Widget version only** allows the user to select a non-standard user interface behaviour. As soon as the menu is retrieved the widget view is replaced by the menu without waiting for a user selection. This has been included as requested by a user, but defaults to off which retains the expected user interactions.
The application and widget both include a background service to report your watch's battery level and charging status. You may enable a background service to report the battery level to your Home Assistant. This is not available over your Bluetooth connection like with other Bluetooth devices as Garmin did not implement it. This no longer requires any setup, and we offer this [trouble shooting](TroubleShooting.md#watch-battery-level-reporting) guide. The last field here is readonly and allows the user to copy & paste the Webhook ID setup by the application when required for this trouble shooting guide.
## Tap Item Response
@ -240,7 +280,7 @@ Its obvious that a toggle menu item has been triggered as the visible switch cha
<img src="images/SimTapResponse.png" width="400" title="Tap Triggered"/>
The application will display a 'toast' showing Home Assistant's friendly name of the triggered item. The toast will disappear after a short while if not dismissed by the user.
The application will display a 'toast' showing Home Assistant's friendly name of the triggered item. The toast will disappear after a short while if not dismissed by the user. N.B. There are reports that on the Forerunner 55 device, the toasts do not dissapear without manual intervention. On other devices like the Venu 2 the toast can take 15 seconds to dissappear if not dismissed. Unfortunately, there is no API call to change this behaviour.
## External Device Changes
@ -248,7 +288,9 @@ Home Assistant will inevitably change the state of devices you are also controll
The per toggle item delay is caused by a queue of responses to web requests. The responses fill up a buffer and in early testing we observed [`Communications.BLE_QUEUE_FULL`](https://developer.garmin.com/connect-iq/api-docs/Toybox/Communications.html) response codes. For a Venu 2 Garmin watch an API call delay of 600 ms was found to be sustainable (500 ms was still too fast). The code now chains a sequence of updates, so as one finishes it invokes the next item's update. **The more items requiring a status update that you pack into your dashboard, the slower each individual item will be updated!**
The thinking here is that the watch application will only ever be open briefly not persistently, so the delay in picking up state changes won't be observed often for any race condition between two controllers. As a consequence of this update mechanism, if you request changes too quickly you will be notified that your device cannot keep up with the rate of API responses and you will have to dismiss the error in order to continue. The is a _feature not a bug_!
The thinking here is that the watch application will only ever be open briefly not persistently, so the delay in picking up state changes won't be observed often for any race condition between two controllers. As a consequence of this update mechanism, if you request changes too quickly you will be notified that your device cannot keep up with the rate of API responses and you will have to dismiss the error in order to continue. This is a _feature not a bug_! If the application reduces the rate of "round robin" status update requests it becomes less responsive to external changes.
To prevent excessive battery usage, set the application timeout in the settings. This will prevent you from leaving the application open and forgotten when not being used, and the polling mechanism will then cease, saving battery life. Again, the thinking here is that the watch application will only ever be open briefly not persistently, and hence not be a constant source of battery usage unless the [background service](BackgroundService.md) for sending any watch status is used aggressively fast.
## Changes to the (JSON) Dashboard Definition
@ -275,13 +317,20 @@ The `id` attribute values are taken from the same names used in [`strings.xml`](
## Known Issues
1. On some (old) devices (e.g. Vivoactive 3, Fenix 5s & Edge 520+), the menu does not update correctly to reflect changes in state effected by an external Home Assistant control. E.g. when the phone application changes the toggle status of a switch, the Garmin application does not reflect that change until the menu is touched or scrolled a little. This is a [known issue](https://forums.garmin.com/developer/connect-iq/i/bug-reports/menu2-doesn-t-allow-live-updates) already reported without a suggested software fix.
1. There are some cases where the file format may be valid JSON, but invalid against the schema, and the failure to catch this error could cause the application to crash. Whilst we have taken care to manage many issues, there may still be cases that are uncaught. Please verify your JSON schema, see the [trouble shooting guide](TroubleShooting.md).
2. Widgets have less memory than applications. With the new template based sensor display, widgets are more likely to run out of memory. E.g. a Vivoactive 3 device has a memory limit of 60 kB runtime memory for widgets (compared with 124 kB for applications) and memory is likely to be ~90% used. This makes it very likely that a larger menu will crash the application. We cannot predict what will take the application "over the edge", but we can provide this feedback to users to raise awareness, hence the widget displays menu usage as a reminder. If the widget is crashing but the application variant is not, then your menu configuration is too big for the widget. **Please don't give the application a poor review for crashing on your excessive menu definition!**
2. On some (old) devices (e.g. Vivoactive 3, Fenix 5s & Edge 520+), the menu does not update correctly to reflect changes in state effected by an external Home Assistant control. E.g. when the phone application changes the toggle status of a switch, the Garmin application does not reflect that change until the menu is touched or scrolled a little. This is a [known issue](https://forums.garmin.com/developer/connect-iq/i/bug-reports/menu2-doesn-t-allow-live-updates) already reported without a suggested software fix.
<img src="images/Venu_Widget_sim.png" width="200" title="Venu 2" style="margin:5px"/>
<img src="images/app_crash.png" width="200" title="Venu 2" style="margin:5px;border: 2px solid black;"/>
3. The iPhone Connect IQ application has a bug in it we cannot be responsible for. Thanks to user [a_smart_hoome](https://community.home-assistant.io/u/a_smart_hoome) who worked the problem with the dropped Internet connection, see his explanation at https://community.home-assistant.io/t/home-assistant-app-for-garmin/637348/61 for details. Please complain to the Connect IQ application developers rather than us!
3. Templates can require significant definition for highly customised text. Just remember, you have the ability to crash the application by creating an excessively long menu definition. Don't be silly.
4. Templates can require significant definition for highly customised text. Just remember, you have the ability to crash the application by creating an excessively long menu definition. Don't be silly.
4. Parameters to tap menu items cannot have their parameter usage verified. If you get this wrong and crash the application, that's your fault not the application's. In this case, start by removing the parameters for the menu item causing the crash, and add them back one at a time until you find your fault. **Please don't give the application a poor review for your bad parameter definition!**
5. Parameters to tap menu items cannot have their parameter usage verified. If you get this wrong and crash the application, that's your fault not the application's. In this case, start by removing the parameters for the menu item causing the crash, and add them back one at a time until you find your fault. **Please don't give the application a poor review for your bad parameter definition!**
6. We are unable to support Edge 540, Edge 840 and Edge 1050 devices at this time. The simulation of these devices has two unexpected errors when toggling or executing taps. We get both `Communications.NETWORK_RESPONSE_OUT_OF_MEMORY` and `Communications.BLE_QUEUE_FULL` even though the memory usage is about 6% of the available RAM. Based on a lead from user @Petucky, both devices are being re-enabled as testing on a real Edge 840 device has proven successful, however we remain unable to support either devices until the simulator is fixed.
7. We are unable to support HTTP natively (without the workaround specified earlier). This is a limitation placed upon us by the Connect IQ API which for security reasons refuses to work with HTTP requests. There is nothing developers can do about this limitation. See the [Trouble Shooting](TroubleShooting.md#do-it-yourself-setup) guide for an example setup. We would appreciate it if users did not leave poor reviews for the lack of this feature which is beyond our control to fix.
8. There is a [bug in Garmin Express so that when you use that software to amend the application's settings](https://github.com/house-of-abbey/GarminHomeAssistant/issues/194), the page appears in a random language not of your choice. I would like to thank user [heviiguy](https://github.com/heviiguy) for his work researching the issue, leading to these references that indicate the authors of Garmin Home Assistant cannot resolve this issue as its a bug in Garmin Express that Garmin are refusing to believe exists! See these pages for details:
- [Garmin Express - Wrong Language](https://forums.garmin.com/developer/connect-iq/i/bug-reports/garmin-express---wrong-language)
- [Incorrect language displayed for custom data fields](https://forums.garmin.com/developer/connect-iq/f/discussion/388137/incorrect-language-displayed-for-custom-data-fields)

View File

@ -1,7 +1,22 @@
[Home](README.md) | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Battery Reporting](BatteryReporting.md) | Trouble Shooting | [Version History](HISTORY.md)
[Home](README.md) | [Switches](examples/Switches.md) | [Actions](examples/Actions.md) | [Templates](examples/Templates.md) | [Background Service](BackgroundService.md) | Trouble Shooting | [Version History](HISTORY.md)
# Troubleshooting Guides
## Check your JSON Schema
Before [raising an issue](https://github.com/house-of-abbey/GarminHomeAssistant/issues) about a possible bug, _please, please_ check your JSON is compliant with both the JSON format and our schema. To do this you have options. The first is what we use.
1. **Best!** Use the GarminHomeAssistant [Web-based Editor](https://house-of-abbey.github.io/GarminHomeAssistant/web/) which includes `entity` and `service` name completion and validation by fetching data from your own Home Assistant instance. _Pretty nifty eh?_ The other methods listed below do not add this convenience and checking.
2. Use the [Studio Code Server](https://community.home-assistant.io/t/home-assistant-community-add-on-visual-studio-code/107863) addon for Home Assistant. You can then edit your JSON file in place.
3. Locally installed VSCode, or if not installed, try
4. The on-line version at https://vscode.dev/, which works really well. Paste in your JSON (and change the file type to JSON if not saving), it will then verify your file format and schema for you, highlighting any errors for you to fix.
A failure to get the file format right tends to mean that the response to the application errors with `INVALID_HTTP_BODY_IN_NETWORK_RESPONSE` (code of -400). This means the response did not contain JSON, it was probably an error message in plain text that could not be parsed by the Connect IQ API call. See [Toybox.Communications](https://developer.garmin.com/connect-iq/api-docs/Toybox/Communications.html) for the list of error code you might be presented with on your device.
There are some cases where the file format may be valid JSON, but invalid against the schema, and the failure to catch this error could cause the application to crash. Whilst we have taken care to manage many issues, there may still be cases that are uncaught.
Make sure you can browse to the URL of your JSON file in a standard web browser to make sure it is accessible.
## Watch Menu and API
With either of the following setups, there are inevitably some problems along the way. GarminHomeAssistant is careful to rely only on having working URLs. Getting them working is the user's responsibility. However, we have developed some fault finding tools.
@ -105,6 +120,32 @@ There's an online way of testing the API URL too, thanks to [REQBIN](https://req
![API Test REQBIN](images/api_test_online.png)
#### SSL Certificate Chain
With thanks to [@ziceva](https://github.com/ziceva) for solving this problem. The symptoms are:
1. Using an API URL with SSL (HTTPS), the [web-based editor](https://house-of-abbey.github.io/GarminHomeAssistant/web/) running in a browser on the same phone running Garmin Connect works well.
2. The exact same configuration is set in the Garmin Home Assistant application.
3. The Garmin Home Assistant application reports:
```
API: not available
Menu: not available
```
**Solution: Make sure you use a _full chain_ certificate in your HTTPS proxy as some watches might be unable to validate the site certificate alone.**
Most web browsers and OSes probably have the latest Certificate Authorities (CAs) trusted out-of-the-box and so they do not need the full chain to verify the certificates. Garmin watches may not have the latest CAs and that is why the Troubleshooting web page does not catch this problem. E.g. It turns out some Garmin watches do not have the LetsEncrypt CA marked as trusted.
To verify if you have this issue you can use a tool like [SSL Shoppers's SSL Checker](https://www.sslshopper.com/ssl-checker.html), which will catch this issue. The following two screen captures illustrate the difference between partial and full chain certificates respectively.
##### Partial Chain Certificate
![Partial Chain Certificate](images/HTTPS_partial_chain.png)
##### Full Chain Certificate
![Full Chain Certificate](images/HTTPS_full_chain.png)
### Top Problems
1. Failure to copy & paste keys and URLs leading to minor and hard to see errors in strings, even with protestations they are the same! (No they weren't...)
@ -269,3 +310,31 @@ JSON for copy & paste:
]
}
```
# Debug Logs
As a desperate measure to assist with debugging the Home Assistant Application, you might be asked to send the authors a debug log.
![How to find the debug log file](images/debug_log_location.png)
The figure above shows how to find the file on Windows by attaching your watch by USB cable. Inside the `CIQ_LOG.YML` file there are often multiple entries, each looking like this:
```
Error: Unexpected Type Error
Details: 'Failed invoking <symbol>'
Time: 2024-08-30T12:00:25Z
Part-Number: 006-B3703-00
Firmware-Version: '19.05'
Language-Code: eng
ConnectIQ-Version: 4.2.4
Store-Id: 61c91d28-ec5e-438d-9f83-39e9f45b199d
Store-Version: 30
Filename: DCRL0437
Appname: HomeAssistant
Stack:
- pc: 0x10003b5e
```
The only useful information we can glean from this log is the first line, `Error: Unexpected Type Error`. There is no useful mapping to a line of code unless someone can explain to us how to use the `pc` line. Being able to send us the error type does serve as a clue.
More on [debugging Monkey C applications](https://developer.garmin.com/connect-iq/core-topics/debugging/#appcrashes). The filenames and line numbers must only be present for deployment of code instrumented for debug.

3
_config.yml Normal file
View File

@ -0,0 +1,3 @@
exclude:
- examples
- source

View File

@ -21,21 +21,16 @@ rem
rem -----------------------------------------------------------------------------------
rem Check this path is correct for your Java installation
set JAVA_PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath
set JAVA_PATH=C:\Program Files\Java\jdk-22\bin
rem SDK_PATH should work for all users
set /p SDK_PATH=<"%USERPROFILE%\AppData\Roaming\Garmin\ConnectIQ\current-sdk.cfg"
set SDK_PATH=%SDK_PATH:~0,-1%\bin
rem Assume we can create and use this directory
set DEST=export
set DEST=bin
rem Device for simulation
rem set DEVICE=venu2
set DEVICE=vivoactive3
rem Application
rem set JUNGLE=monkey.jungle
rem Or Widget
set JUNGLE=monkey-widget.jungle
set DEVICE=venu2
set JUNGLE=monkey.jungle
rem C:\>java -jar %SDK_PATH%\monkeybrains.jar -h
rem usage: monkeyc [-a <arg>] [-b <arg>] [--build-stats <arg>] [-c <arg>] [-d <arg>]
@ -77,17 +72,19 @@ rem -x,--excludes <arg> Add annotations to the exclude list (deprecated)
rem -y,--private-key <arg> Private key to sign builds with
rem -z,--rez <arg> Resource files (deprecated)
title Compiling for %DEVICE%
rem Batch file's directory where the source code is
set SRC=%~dp0
rem drop last character '\'
set SRC=%SRC:~0,-1%
if not exist %DEST% (
md %DEST%
if exist %DEST% (
rmdir /s /q %DEST%
)
if exist %SRC%\export\HomeAssistant*.iq (
del /f /q %SRC%\export\HomeAssistant*.iq
rem The above may not successfully delete the directory if there are locked files
if not exist %DEST% (
mkdir %DEST%
)
echo.
@ -104,7 +101,7 @@ rem Compile PRG for a single device for side loading
-Dapple.awt.UIElement=true ^
-jar %SDK_PATH%\monkeybrains.jar ^
--output %SRC%\bin\HomeAssistant.prg ^
--jungles %SRC%\monkey-widget.jungle ^
--jungles %SRC%\%JUNGLE% ^
--private-key %SRC%\..\developer_key ^
--device %DEVICE%_sim ^
--warn ^

View File

@ -22,19 +22,24 @@
"$ref": "#/$defs/entity"
},
"name": {
"title": "Your familiar name",
"type": "string"
"$ref": "#/$defs/name"
},
"type": {
"title": "Menu item type",
"description": "One of 'tap', 'template', 'toggle' or 'group'.",
"$ref": "#/$defs/type",
"const": "toggle"
},
"content": {
"$ref": "#/$defs/content",
"description": "Optional in a toggle."
},
"tap_action": {
"type": "object",
"properties": {
"confirm": {
"$ref": "#/$defs/confirm"
},
"pin": {
"$ref": "#/$defs/pin"
}
},
"additionalProperties": false
@ -44,26 +49,73 @@
"additionalProperties": false
},
"template": {
"oneOf": [
{
"type": "object",
"properties": {
"entity": {
"$ref": "#/$defs/entity",
"deprecated": true,
"title": "Schema change:",
"description": "Use 'tap_action' instead to mirror Home Assistant."
},
"name": {
"$ref": "#/$defs/name"
},
"content": {
"$ref": "#/$defs/content"
},
"type": {
"$ref": "#/$defs/type",
"const": "template",
"deprecated": true,
"title": "Schema change:",
"description": "Use 'info' or 'tap' instead."
}
},
"required": ["name", "content", "type"],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"entity": {
"$ref": "#/$defs/entity"
},
"name": {
"$ref": "#/$defs/name"
},
"content": {
"$ref": "#/$defs/content"
},
"type": {
"$ref": "#/$defs/type",
"const": "template",
"deprecated": true,
"title": "Schema change:",
"description": "Use 'info' or 'tap' instead."
},
"tap_action": {
"$ref": "#/$defs/tap_action"
}
},
"required": ["name", "content", "type", "tap_action"],
"additionalProperties": false
}
]
},
"info": {
"type": "object",
"properties": {
"entity": {
"$ref": "#/$defs/entity"
},
"name": {
"title": "Your familiar name",
"type": "string"
"$ref": "#/$defs/name"
},
"content": {
"title": "What to display (template)",
"type": "string"
"$ref": "#/$defs/content"
},
"type": {
"title": "Menu item type",
"description": "One of 'tap', 'template', 'toggle' or 'group'.",
"const": "template"
},
"tap_action": {
"$ref": "#/$defs/tap_action"
"$ref": "#/$defs/type",
"const": "info"
}
},
"required": ["name", "content", "type"],
@ -76,14 +128,16 @@
"$ref": "#/$defs/entity"
},
"name": {
"title": "Your familiar name",
"type": "string"
"$ref": "#/$defs/name"
},
"type": {
"title": "Menu item type",
"description": "One of 'tap', 'template', 'toggle' or 'group'.",
"$ref": "#/$defs/type",
"const": "tap"
},
"content": {
"$ref": "#/$defs/content",
"description": "Optional in a tap."
},
"service": {
"$ref": "#/$defs/entity",
"deprecated": true,
@ -94,14 +148,7 @@
"$ref": "#/$defs/tap_action"
}
},
"oneOf": [
{
"required": ["name", "type", "service"]
},
{
"required": ["name", "type", "tap_action"]
}
],
"required": ["name", "type"],
"additionalProperties": false
},
"group": {
@ -110,7 +157,6 @@
"entity": {
"$ref": "#/$defs/entity",
"type": "string",
"pattern": "^[^.]+\\.[^.]+$",
"deprecated": true,
"title": "Schema change:",
"description": "'entity' is no longer necessary and should now be removed."
@ -124,10 +170,13 @@
"type": "string"
},
"type": {
"title": "Menu item type",
"description": "One of 'tap', 'template', 'toggle' or 'group'.",
"$ref": "#/$defs/type",
"const": "group"
},
"content": {
"$ref": "#/$defs/content",
"description": "Optional in a group."
},
"items": {
"$ref": "#/$defs/items"
}
@ -135,6 +184,10 @@
"required": ["name", "title", "type", "items"],
"additionalProperties": false
},
"type": {
"title": "Menu item type",
"description": "One of 'info', 'tap', 'toggle' or 'group'."
},
"items": {
"type": "array",
"maxItems": 16,
@ -149,12 +202,19 @@
{
"$ref": "#/$defs/tap"
},
{
"$ref": "#/$defs/info"
},
{
"$ref": "#/$defs/group"
}
]
}
},
"name": {
"title": "Your familiar name to display in the menu item",
"type": "string"
},
"entity": {
"type": "string",
"title": "Home Assistant entity name",
@ -176,6 +236,9 @@
"confirm": {
"$ref": "#/$defs/confirm"
},
"pin": {
"$ref": "#/$defs/pin"
},
"data": {
"type": "object",
"title": "Your services's parameters",
@ -184,11 +247,21 @@
},
"required": ["service"]
},
"content": {
"title": "Jinja2 template defining the text to display.",
"type": "string"
},
"confirm": {
"type": "boolean",
"default": false,
"title": "Confirmation",
"description": "Optional confirmation of the action before execution as a precaution."
},
"pin": {
"type": "boolean",
"default": false,
"title": "PIN Confirmation",
"description": "Optional PIN confirmation of the action before execution as a precaution. Has precedence over 'confirm': true if both are set."
}
}
}

View File

@ -1,8 +1,8 @@
[Home](../README.md) | [Switches](Switches.md) | Actions | [Templates](Templates.md) | [Battery Reporting](../BatteryReporting.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md)
[Home](../README.md) | [Switches](Switches.md) | Actions | [Templates](Templates.md) | [Background Service](../BackgroundService.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md)
# Actions
A simple example using a scene as a `tap`` menu item.
A simple example using a scene as a `tap` menu item.
```json
{
@ -38,6 +38,22 @@ For example:
}
```
**The authors do not advise the use of this application for security sensitive devices. But we suspect users are taking that risk anyway, hence a PIN confirmation is provided that can be used for additional menu item security.**
This can be enabled by setting the `pin` field in the `tap_action`. The `pin` field overrides `confirm`. Explicitly setting `confirm` is not necessary.
The 4-digit PIN is set globally for all actions in the app settings in Connect IQ.
```json
"tap_action": {
"pin": true
}
```
When entering an invalid PIN for the fifth time within 2 minutes, the PIN dialog will be locked for all actions for the next 10 minutes. Entering a valid PIN will always reset the failure counter.
<img src="../images/pin_view.png" width="200" title="Confirmation View"/>
Note that for notify events, you _must_ not supply an `entity_id` or the API call will fail. There are other examples too.
```json
@ -54,3 +70,8 @@ Note that for notify events, you _must_ not supply an `entity_id` or the API cal
}
}
```
> [!IMPORTANT]
> Be careful with the value of the `service` field.
Note that the `service` field will need to be a locally custom `script.<something>` as soon as any `data` fields are populated and not something more generic like `script.turn_on`. If the `service` field is wrong, the application will fail with a [`Communications.INVALID_HTTP_BODY_IN_NETWORK_RESPONSE`](https://developer.garmin.com/connect-iq/api-docs/Toybox/Communications.html) error in the response from your Home Assistant and show the error message as _"No JSON returned from HTTP request"_ on your device. In the [web-based editor](https://house-of-abbey.github.io/GarminHomeAssistant/web/) you can use the standard developer tools to observe an `HTTP 400` error which the application does not see. Here we are limited by the [Garmin Connect IQ](https://developer.garmin.com/connect-iq/overview/) software development kit (SDK). We do not have enough information at the point of execution in the application to determine the cause of the error. Nor is there an immediately obvious way of identifying this issue using the JSON schema checks.

View File

@ -1,4 +1,4 @@
[Home](../README.md) | Switches | [Actions](Actions.md) | [Templates](Templates.md) | [Battery Reporting](../BatteryReporting.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md)
[Home](../README.md) | Switches | [Actions](Actions.md) | [Templates](Templates.md) | [Background Service](../BackgroundService.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md)
# Switches
@ -12,6 +12,32 @@ This is the simplest form:
},
```
And with an optional confirmation:
```json
{
"entity": "light.exterior",
"name": "Exterior Lights",
"type": "toggle",
"tap_action": {
"confirm": true
}
}
```
or an optional PIN confirmation:
```json
{
"entity": "light.exterior",
"name": "Exterior Lights",
"type": "toggle",
"tap_action": {
"pin": true
}
}
```
To support a non-standard light, switch, or automation as a toggle menu item you may like to define a custom switch. In order to facilitate custom switches at this time, you must create a template switch in HomeAssistant.
```yaml
@ -43,6 +69,17 @@ Then you can use the following in your config:
}
```
And you can optionally include a template to reflect some status. See [Templates](Templates.md) for details on hwo to use this JSON field.
```json
{
"entity": "switch.<switch-name>",
"name": "<name>",
"type": "toggle",
"content": "..."
}
```
## Example - Covers
```yaml

View File

@ -1,11 +1,17 @@
[Home](../README.md) | [Switches](Switches.md) | [Actions](Actions.md) | Templates | [Battery Reporting](../BatteryReporting.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md)
[Home](../README.md) | [Switches](Switches.md) | [Actions](Actions.md) | Templates | [Background Service](../BackgroundService.md) | [Trouble Shooting](../TroubleShooting.md) | [Version History](../HISTORY.md)
# Templates
In order to provide the most functionality possible the content of the menu item comes from a user-defined template (i.e. you generate your own text). This allows you to do some pretty cool things. It also makes the config a bit more complicated. This page will help you understand how to use templates.
In order to provide the most functionality possible the content of the menu item comes from a user-defined template (i.e. you generate your own text). This allows you to do some pretty cool things. It also makes the configuration a bit more complicated. This page will help you understand how to use templates.
- In this file anything between `<` and `>` is a placeholder. Replace it with the appropriate value.
- Anything between `{{` and `}}` is a template. Templates are used to dynamically insert values into the content. For more info see [the docs](https://www.home-assistant.io/docs/configuration/templating/).
- [Jinja2](https://palletsprojects.com/p/jinja/) syntax is used by Home Assistant [Templates](https://www.home-assistant.io/docs/configuration/templating/). Templates are used to dynamically insert values into the content. The syntax includes:
- `{%` ... `%}` for Statements
- `{{` ... `}}` for Expressions to print to the template output
- `{#` ... `#}` for Comments not included in the template output
> [!IMPORTANT]
> In order to avoid "Template Error" being displayed as the return value, make sure your Jinja2 template returns a `string`, not a number of some variety. _All numbers must be formatted to strings_ so the application does not need to distinguish an `integer` from a `float`.
## States
@ -13,9 +19,8 @@ In this example we get the battery level of the device and add the percent sign.
```json
{
"entity": "sensor.<device>_battery_level",
"name": "Phone",
"type": "template",
"type": "info",
"content": "{{ states('sensor.<device>_battery_level') }}%"
}
```
@ -26,25 +31,49 @@ The first two keep to the simple proposal above. The last combines them into a s
```json
{
"entity": "sensor.hallway_temperature",
"name": "Hall Temp",
"type": "template",
"type": "info",
"content": "{{ states('sensor.hallway_temperature') }}°C"
},
{
"entity": "sensor.hallway_humidity",
"name": "Hall Humidity",
"type": "template",
"type": "info",
"content": "{{ states('sensor.hallway_humidity') }}%"
},
{
"entity": "sensor.hallway_temperature",
"name": "Hallway",
"type": "template",
"type": "info",
"content": "{{ states('sensor.hallway_temperature') }}°C {{ states('sensor.hallway_humidity') }}%"
}
```
In order to keep the formatting of floating point numbers under control, you might also like to include a format string as follows. `states()` seems to return a `string` that needs converting to a `float` before the `format()` call can manage the conversion to the required number fo decimal places.
```json
{
"name": "Hallway",
"type": "info",
"content": "T:{{ '%.1f' | format(states('sensor.hallway_temperature') | float) }}°C, H:{{ '%.1f' | format(states('sensor.hallway_humidity') | float) }}%"
},
```
Where your device supports unicode characters these example may work.
```json
{
"name": "Charge",
"type": "info",
"content": "☎ {{ states('sensor.my_phone_battery_level') }}%{% if is_state('binary_sensor.my_phone_is_charging', 'on') %}⚡{% endif %}, ⏳ {{ '%.0f'|format(states('sensor.my_watch_battery_level') | float) }}%{% if is_state('binary_binary_sensor.my_watch_battery_is_charging', 'on') %}⚡{% endif %}"
},
{
"name": "Hallway",
"type": "info",
"content": "🌡{% if is_state('sensor.hallway_temperature', 'unavailable') %}-{% else %}{{ '%.1f'|format(states('sensor.hallway_temperature')|float) }}°C{% if is_state_attr('climate.hallway', 'hvac_action', 'heating') or is_state_attr('climate.hallway', 'hvac_action', 'preheating') -%}🔥{%- endif %}{% endif %}, 💧{% if is_state('sensor.hallway_humidity', 'unavailable') %}-{% else %}{{ '%.1f'|format(states('sensor.hallway_humidity')|float) }}%{% endif %}"
}
```
![Unicode Characters in a Template](../images/Unicode_Template.png)
## Conditionals
Anything between `{%` and `%}` is a directive (`if`, `else`, `elif`, `endif`, etc.). Conditionals are used to dynamically change the content based on the state of the entity.
@ -53,9 +82,8 @@ In this example we get the battery level of the device and add the percent sign.
```json
{
"entity": "sensor.<device>_battery_level",
"name": "Phone",
"type": "template",
"type": "info",
"content": "{{ states('sensor.<device>_battery_level') }}%{% if is_state('binary_sensor.<device>_is_charging', 'on') %}+{% endif %}"
}
```
@ -64,13 +92,50 @@ Here we also use the else clause as well to give proper text instead of just `on
```json
{
"entity": "binary_sensor.garage_doors",
"name": "Garage Doors",
"type": "template",
"type": "info",
"content": "{% if is_state('binary_sensor.<door-0>', 'on') %}Open{% else %}Closed{% endif %} {% if is_state('binary_sensor.<door-1>', 'on') %}Open{% else %}Closed{% endif %}"
}
```
> [!IMPORTANT]
> We advise users against adding security devices.
However, for users doing this **against our advice**, we strongly recommend to secure confirmation of the action using our PIN confirmation dialog.
This an example of toggling a garage door open and closed with a PIN confirmation. *Do this at your own risk*.
The PIN confirmation is activated for actions with `"pin": true`. The PIN is configured globally in the application settings. The PIN needs to be a 4-digit number.
The user has 5 attempts to provide a valid PIN within 2 minutes. If too many failures have been detected during this time, the PIN dialog will be locked for 10 minutes.
Note: Only when you use the `tap_action` field do you also need to include the `entity` field. This is a change to a previous version of the application, hence the presence of the `entity` field will be ignored for backwards compatibility, and the schema will provide a warning only.
```json
{
"entity": "cover.garage_door",
"name": "Garage Door",
"type": "tap",
"content": "{% if is_state('binary_sensor.garage_connected', 'on') %}{{state_translated('cover.garage_door')}} - {{state_attr('cover.garage_door', 'current_position')}}%{%else%}Unconnected{% endif %}",
"tap_action": {
"service": "cover.toggle",
"pin": true
}
}
```
## Group and Toggle Menu Items
Both `group` and `toggle` menu items accept an optional `content` field as of v2.19. This allows the use of templates to present status information.
```json
{
"name": "Each Lounge Light",
"title": "Lounge",
"type": "group",
"content": "{{'On: %d, Off: %d'|format(expand(state_attr('light.living_room_lights', 'entity_id'))|selectattr('state','eq','on')|map(attribute='entity_id')|list|count, expand(state_attr('light.living_room_lights', 'entity_id'))|selectattr('state','eq','off')|map(attribute='entity_id')|list|count)}}",
"items": [..]
}
```
## Advanced
Here we generate a bar graph of the battery level. We use the following steps to do this:
@ -84,9 +149,8 @@ Here we generate a bar graph of the battery level. We use the following steps to
```json
{
"entity": "sensor.<device>_battery_level",
"name": "Phone",
"type": "template",
"type": "info",
"content": "{{ states('sensor.<device>_battery_level') }}%{% if is_state('binary_sensor.<device>_is_charging', 'on') %}+{% endif %} {{ '#' * (((states('sensor.<device>_battery_level') | int) / 100 * <width>) | int) }}{{ '_' * (<width> - (((states('sensor.<device>_battery_level') | int) / 100 * <width>) | int)) }}"
}
```
@ -95,20 +159,19 @@ An example of a dimmer light with 4 brightness settings 0..3. Here our light wor
```json
{
"$schema": "./schema.json",
"$schema": "https://raw.githubusercontent.com/house-of-abbey/GarminHomeAssistant/main/config.schema.json",
"title": "Home",
"items": [
{
"entity": "light.green_house",
"name": "LEDs",
"type": "template",
"content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ ((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | int }}%{% else %}Off{% endif %}"
"type": "info",
"content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ (((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | round(0)) | int }}%{% else %}Off{% endif %}"
},
{
"entity": "light.green_house",
"name": "LEDs 0",
"type": "template",
"content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ ((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | int }}%{% else %}Off{% endif %}",
"type": "tap",
"content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ (((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | round(0)) | int }}%{% else %}Off{% endif %}",
"tap_action": {
"service": "light.turn_on",
"data": {
@ -130,8 +193,8 @@ An example of a dimmer light with 4 brightness settings 0..3. Here our light wor
{
"entity": "light.green_house",
"name": "LEDs 2",
"type": "template",
"content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ ((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | int }}%{% else %}Off{% endif %}",
"type": "tap",
"content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ (((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | round(0)) | int }}%{% else %}Off{% endif %}",
"tap_action": {
"service": "light.turn_on",
"data": {
@ -142,8 +205,8 @@ An example of a dimmer light with 4 brightness settings 0..3. Here our light wor
{
"entity": "light.green_house",
"name": "LEDs 3",
"type": "template",
"content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ ((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | int }}%{% else %}Off{% endif %}",
"type": "tap",
"content": "{% if not (is_state('light.green_house', 'off') or is_state('light.green_house', 'unavailable')) %}{{ (((state_attr('light.green_house', 'brightness') | float) / 255 * 100) | round(0))| int }}%{% else %}Off{% endif %}",
"tap_action": {
"service": "light.turn_on",
"data": {
@ -157,7 +220,4 @@ An example of a dimmer light with 4 brightness settings 0..3. Here our light wor
## Warnings
Just remember, **you have the ability to crash the application by creating an excessive menu definition**. Older devices running as a widget can be limited in memory such that the JSON definition causes an "Out of Memory" error. Widgets have less memory than applications. Templates can require significant definition for highly customised text. Don't be silly. With the new template based sensor display, widgets are more likely to run out of memory. E.g. a Vivoactive 3 device has a memory limit of 60 kB runtime memory for widgets (compared with 124 kB for applications) and is likely to be ~90% used. This makes it very likely that a larger menu will crash the application. We cannot predict what will take the application "over the edge", but we can provide this feedback to users to raise awareness, hence the widget displays menu usage as a reminder. If the widget is crashing but the application variant is not, then your menu configuration is too big for the widget.
<img src="../images/Venu_Widget_sim.png" width="200" title="Venu 2" style="margin:5px"/>
<img src="../images/app_crash.png" width="200" title="Venu 2" style="margin:5px;border: 2px solid black;"/>
Just remember, on older smaller memory devices **you have the ability to crash the application by creating an excessive menu definition**. Templates can require significant definition for highly customised text. Don't be silly.

View File

@ -21,68 +21,78 @@ rem
rem -----------------------------------------------------------------------------------
rem Check this path is correct for your Java installation
set JAVA_PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath
set JAVA_PATH=C:\Program Files\Java\jdk-22\bin
rem SDK_PATH should work for all users
set /p SDK_PATH=<"%USERPROFILE%\AppData\Roaming\Garmin\ConnectIQ\current-sdk.cfg"
set SDK_PATH=%SDK_PATH:~0,-1%\bin
rem Assume we can create and use this directory
set DEST=export
set IQ=HomeAssistant-app.iq
rem C:\>java -jar %SDK_PATH%\monkeybrains.jar -h
rem usage: monkeyc [-a <arg>] [-b <arg>] [--build-stats <arg>] [-c <arg>] [-d <arg>]
rem [--debug-log-level <arg>] [--debug-log-output <arg>] [-e]
rem usage: monkeyc [-a <arg>] [-b <arg>] [--build-stats <arg>] [-d <arg>]
rem [--debug-log-level <arg>] [--debug-log-output <arg>]
rem [--disable-api-has-check-removal] [--disable-v2-opcodes] [-e]
rem [--Eno-invalid-symbol] [-f <arg>] [-g] [-h] [-i <arg>] [-k] [-l <arg>]
rem [-m <arg>] [--no-gen-styles] [-o <arg>] [-O <arg>] [-p <arg>] [-r] [-s
rem <arg>] [-t] [-u <arg>] [-v] [-w] [-x <arg>] [-y <arg>] [-z <arg>]
rem -a,--apidb <arg> API import file
rem -b,--apimir <arg> API MIR file
rem --build-stats <arg> Print build stats [0=basic]
rem -c,--api-level <arg> API Level to target
rem -d,--device <arg> Target device
rem --debug-log-level <arg> Debug logging verbosity [0=errors, 1=basic,
rem 2=intermediate, 3=verbose]
rem --debug-log-output <arg>Output log zip file
rem -e,--package-app Create an application package.
rem --Eno-invalid-symbol Do not error when a symbol is found to be invalid
rem -f,--jungles <arg> Jungle files
rem -g,--debug Print debug output
rem -h,--help Prints help information
rem -i,--import-dbg <arg> Import api.debug.xml
rem -k,--profile Enable profiling support
rem -l,--typecheck <arg> Type check [0=off, 1=gradual, 2=informative,
rem 3=strict]
rem -m,--manifest <arg> Manifest file (deprecated)
rem --no-gen-styles Do not generate Rez.Styles module
rem -o,--output <arg> Output file to create
rem -O,--optimization <arg> Optimization level [0=none, 1=basic, 2=fast
rem optimizations, 3=slow optimizations] [p=optimize
rem performance, z=optimize code space]
rem -p,--project-info <arg> projectInfo.xml file to use when compiling
rem -r,--release Strip debug information
rem -s,--sdk-version <arg> SDK version to target (deprecated, use -c
rem -t,--unit-test Enables compilation of unit tests
rem -u,--devices <arg> devices.xml file to use when compiling (deprecated)
rem -v,--version Prints the compiler version
rem -w,--warn Show compiler warnings
rem -x,--excludes <arg> Add annotations to the exclude list (deprecated)
rem -y,--private-key <arg> Private key to sign builds with
rem -z,--rez <arg> Resource files (deprecated)
rem [-m <arg>] [--no-gen-styles] [-o <arg>] [-O <arg>] [-p <arg>] [-r] [-t]
rem [-u <arg>] [-v] [-w] [-x <arg>] [-y <arg>] [-z <arg>]
rem -a,--apidb <arg> API import file
rem -b,--apimir <arg> API MIR file
rem --build-stats <arg> Print build stats [0=basic]
rem -d,--device <arg> Target device
rem --debug-log-level <arg> Debug logging verbosity [0=errors, 1=basic,
rem 2=intermediate, 3=verbose]
rem --debug-log-output <arg> Output log zip file
rem --disable-api-has-check-removalDo not optimize out API has checks
rem --disable-v2-opcodes Do not use the v2 opcodes
rem -e,--package-app Create an application package.
rem --Eno-invalid-symbol Do not error when a symbol is found to be
rem invalid
rem -f,--jungles <arg> Jungle files
rem -g,--debug Print debug output
rem -h,--help Prints help information
rem -i,--import-dbg <arg> Import api.debug.xml
rem -k,--profile Enable profiling support
rem -l,--typecheck <arg> Type check [0=off, 1=gradual, 2=informative,
rem 3=strict]
rem -m,--manifest <arg> Manifest file (deprecated)
rem --no-gen-styles Do not generate Rez.Styles module
rem -o,--output <arg> Output file to create
rem -O,--optimization <arg> Optimization level [0=none, 1=basic, 2=fast
rem optimizations, 3=slow optimizations]
rem [p=optimize performance, z=optimize code
rem space]
rem -p,--project-info <arg> projectInfo.xml file to use when compiling
rem -r,--release Strip debug information
rem -t,--unit-test Enables compilation of unit tests
rem -u,--devices <arg> devices.xml file to use when compiling
rem (deprecated)
rem -v,--version Prints the compiler version
rem -w,--warn Show compiler warnings
rem -x,--excludes <arg> Add annotations to the exclude list
rem (deprecated)
rem -y,--private-key <arg> Private key to sign builds with
rem -z,--rez <arg> Resource files (deprecated)
title Exporting Garmin Home Assistant Application
rem Batch file's directory where the source code is
set SRC=%~dp0
rem drop last character '\'
set SRC=%SRC:~0,-1%
set DEST=%SRC%\%DEST%
set IQ=%DEST%\%IQ%
if not exist %DEST% (
echo Creating %DEST%
md %DEST%
)
if exist %SRC%\export\HomeAssistant*.iq (
del /f /q %SRC%\export\HomeAssistant*.iq
if exist %IQ% (
echo Deleting old %IQ%
del /f /q %IQ%
)
echo.
echo Starting export of HomeAssistant Application
echo Starting export of HomeAssistant Application to %IQ%
echo.
"%JAVA_PATH%\java.exe" ^
@ -90,33 +100,15 @@ echo.
-Dfile.encoding=UTF-8 ^
-Dapple.awt.UIElement=true ^
-jar %SDK_PATH%\monkeybrains.jar ^
--api-level 3.1.0 ^
--output %SRC%\export\HomeAssistant-app.iq ^
--output %IQ% ^
--jungles %SRC%\monkey.jungle ^
--private-key %SRC%\..\developer_key ^
--package-app ^
--release
rem --warn
echo.
echo Starting export of HomeAssistant Widget
echo.
"%JAVA_PATH%\java.exe" ^
-Xms1g ^
-Dfile.encoding=UTF-8 ^
-Dapple.awt.UIElement=true ^
-jar %SDK_PATH%\monkeybrains.jar ^
--api-level 3.1.0 ^
--output %SRC%\export\HomeAssistant-widget.iq ^
--jungles %SRC%\monkey-widget.jungle ^
--private-key %SRC%\..\developer_key ^
--package-app ^
--release
rem --warn
echo.
echo Finished exporting HomeAssistant
dir %SRC%\export\HomeAssistant*.iq
dir %IQ%
pause

Binary file not shown.

Before

Width:  |  Height:  |  Size: 764 KiB

After

Width:  |  Height:  |  Size: 697 KiB

BIN
images/HTTPS_full_chain.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

BIN
images/Unicode_Template.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
images/pin_view.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

@ -1,28 +0,0 @@
//-----------------------------------------------------------------------------------
//
// Distributed under MIT Licence
// See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
//
//-----------------------------------------------------------------------------------
//
// GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
// tested on a Venu 2 device. The source code is provided at:
// https://github.com/house-of-abbey/GarminHomeAssistant.
//
// P A Abbey & J D Abbey & Someone0nEarth, 20 December 2023
//
//
// Description:
//
// A tedious diversion intended to make it possible to have the same source code for
// both a widget and an application. This file provides a single constant to
// determine which, and then the source file is conditionally included by the each
// .jungle file.
//
//-----------------------------------------------------------------------------------
using Toybox.Lang;
class WidgetApp {
static const isWidget = false;
}

View File

@ -1,28 +0,0 @@
//-----------------------------------------------------------------------------------
//
// Distributed under MIT Licence
// See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
//
//-----------------------------------------------------------------------------------
//
// GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
// tested on a Venu 2 device. The source code is provided at:
// https://github.com/house-of-abbey/GarminHomeAssistant.
//
// P A Abbey & J D Abbey & Someone0nEarth, 20 December 2023
//
//
// Description:
//
// A tedious diversion intended to make it possible to have the same source code for
// both a widget and an application. This file provides a single constant to
// determine which, and then the source file is conditionally included by the each
// .jungle file.
//
//-----------------------------------------------------------------------------------
using Toybox.Lang;
class WidgetApp {
static const isWidget = true;
}

View File

@ -1,195 +0,0 @@
<?xml version="1.0"?>
<!--
Distributed under MIT Licence
See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
Device Information & References:
* https://developer.garmin.com/connect-iq/compatible-devices/
* https://developer.garmin.com/connect-iq/reference-guides/devices-reference/
Someone0nEarth's Test Widget id="bf69be91-5833-4d96-92ea-c5f1a9db5dcc" type="widget"
philipabbey's Test Widget id="4901cdfb-b4a2-4f33-96c7-f5be5992809e" type="widget"
Live Widget id="585af26f-6ff7-44e8-80dc-b3670e5b8648" type="widget"
-->
<iq:manifest version="3" xmlns:iq="http://www.garmin.com/xml/connectiq">
<!--
Use "Monkey C: Edit Application" from the Visual Studio Code command palette
to update the application attributes.
-->
<iq:application id="4901cdfb-b4a2-4f33-96c7-f5be5992809e" type="widget" name="@Strings.AppName" entry="HomeAssistantApp" launcherIcon="@Drawables.LauncherIcon" minApiLevel="3.1.0">
<!--
Use the following from the Visual Studio Code comand palette to edit
the build targets:
"Monkey C: Set Products by Product Category" - Lets you add all products
that belong to the same product category
"Monkey C: Edit Products" - Lets you add or remove any product
-->
<iq:products>
<iq:product id="approachs7042mm"/>
<iq:product id="approachs7047mm"/>
<iq:product id="d2air"/>
<iq:product id="d2airx10"/>
<iq:product id="d2delta"/>
<iq:product id="d2deltapx"/>
<iq:product id="d2deltas"/>
<iq:product id="d2mach1"/>
<iq:product id="descentg1"/>
<iq:product id="descentmk2"/>
<iq:product id="descentmk2s"/>
<iq:product id="edge1030"/>
<iq:product id="edge1030bontrager"/>
<iq:product id="edge1030plus"/>
<iq:product id="edge1040"/>
<iq:product id="edge520plus"/>
<iq:product id="edge530"/>
<iq:product id="edge820"/>
<iq:product id="edge830"/>
<iq:product id="edgeexplore"/>
<iq:product id="edgeexplore2"/>
<iq:product id="enduro"/>
<iq:product id="epix2"/>
<iq:product id="epix2pro42mm"/>
<iq:product id="epix2pro47mm"/>
<iq:product id="epix2pro51mm"/>
<iq:product id="fenix5"/>
<iq:product id="fenix5plus"/>
<iq:product id="fenix5s"/>
<iq:product id="fenix5splus"/>
<iq:product id="fenix5x"/>
<iq:product id="fenix5xplus"/>
<iq:product id="fenix6"/>
<iq:product id="fenix6pro"/>
<iq:product id="fenix6s"/>
<iq:product id="fenix6spro"/>
<iq:product id="fenix6xpro"/>
<iq:product id="fenix7"/>
<iq:product id="fenix7pro"/>
<iq:product id="fenix7pronowifi"/>
<iq:product id="fenix7s"/>
<iq:product id="fenix7spro"/>
<iq:product id="fenix7x"/>
<iq:product id="fenix7xpro"/>
<iq:product id="fenix7xpronowifi"/>
<iq:product id="fenixchronos"/>
<iq:product id="fr245"/>
<iq:product id="fr245m"/>
<iq:product id="fr255"/>
<iq:product id="fr255m"/>
<iq:product id="fr255s"/>
<iq:product id="fr255sm"/>
<iq:product id="fr265"/>
<iq:product id="fr265s"/>
<iq:product id="fr55"/>
<iq:product id="fr645"/>
<iq:product id="fr645m"/>
<iq:product id="fr745"/>
<iq:product id="fr935"/>
<iq:product id="fr945"/>
<iq:product id="fr945lte"/>
<iq:product id="fr955"/>
<iq:product id="fr965"/>
<iq:product id="gpsmap67"/>
<iq:product id="instinct2"/>
<iq:product id="instinct2s"/>
<iq:product id="instinct2x"/>
<iq:product id="instinctcrossover"/>
<iq:product id="legacyherocaptainmarvel"/>
<iq:product id="legacyherofirstavenger"/>
<iq:product id="legacysagadarthvader"/>
<iq:product id="legacysagarey"/>
<iq:product id="marq2"/>
<iq:product id="marq2aviator"/>
<iq:product id="marqadventurer"/>
<iq:product id="marqathlete"/>
<iq:product id="marqaviator"/>
<iq:product id="marqcaptain"/>
<iq:product id="marqcommander"/>
<iq:product id="marqdriver"/>
<iq:product id="marqexpedition"/>
<iq:product id="marqgolfer"/>
<iq:product id="montana7xx"/>
<iq:product id="venu"/>
<iq:product id="venu2"/>
<iq:product id="venu2plus"/>
<iq:product id="venu2s"/>
<iq:product id="venu3"/>
<iq:product id="venu3s"/>
<iq:product id="venud"/>
<iq:product id="venusq"/>
<iq:product id="venusq2"/>
<iq:product id="venusq2m"/>
<iq:product id="venusqm"/>
<iq:product id="vivoactive3"/>
<iq:product id="vivoactive3m"/>
<iq:product id="vivoactive3mlte"/>
<iq:product id="vivoactive4"/>
<iq:product id="vivoactive4s"/>
<iq:product id="vivoactive5"/>
</iq:products>
<!--
Use "Monkey C: Edit Permissions" from the Visual Studio Code command
palette to update permissions.
-->
<iq:permissions>
<iq:uses-permission id="Background"/>
<iq:uses-permission id="BluetoothLowEnergy"/>
<iq:uses-permission id="Communications"/>
</iq:permissions>
<!--
Use "Monkey C: Edit Languages" from the Visual Studio Code command
palette to edit your compatible language list.
-->
<iq:languages>
<iq:language>ara</iq:language>
<iq:language>bul</iq:language>
<iq:language>zhs</iq:language>
<iq:language>zht</iq:language>
<iq:language>hrv</iq:language>
<iq:language>ces</iq:language>
<iq:language>dan</iq:language>
<iq:language>dut</iq:language>
<iq:language>deu</iq:language>
<iq:language>gre</iq:language>
<iq:language>eng</iq:language>
<iq:language>est</iq:language>
<iq:language>fin</iq:language>
<iq:language>fre</iq:language>
<iq:language>heb</iq:language>
<iq:language>hun</iq:language>
<iq:language>ind</iq:language>
<iq:language>ita</iq:language>
<iq:language>jpn</iq:language>
<iq:language>kor</iq:language>
<iq:language>lav</iq:language>
<iq:language>lit</iq:language>
<iq:language>zsm</iq:language>
<iq:language>nob</iq:language>
<iq:language>pol</iq:language>
<iq:language>por</iq:language>
<iq:language>slo</iq:language>
<iq:language>ron</iq:language>
<!-- <iq:language>rus</iq:language> -->
<iq:language>slv</iq:language>
<iq:language>spa</iq:language>
<iq:language>swe</iq:language>
<iq:language>tha</iq:language>
<iq:language>tur</iq:language>
<iq:language>ukr</iq:language>
<iq:language>vie</iq:language>
</iq:languages>
<!--
Use "Monkey C: Configure Monkey Barrel" from the Visual Studio Code
command palette to edit the included barrels.
-->
<iq:barrels/>
</iq:application>
</iq:manifest>

View File

@ -29,17 +29,15 @@
watch-app and widget by changing which of the next two lines are commented out
-->
<iq:application id="98c36259-498a-4458-9cef-74a273ad2bc3" type="watch-app" name="@Strings.AppName" entry="HomeAssistantApp" launcherIcon="@Drawables.LauncherIcon" minApiLevel="3.1.0">
<!--
<iq:application id="4901cdfb-b4a2-4f33-96c7-f5be5992809e" type="widget" name="@Strings.AppName" entry="HomeAssistantApp" launcherIcon="@Drawables.LauncherIcon" minApiLevel="3.1.0">
-->
<!--
Use the following from the Visual Studio Code comand palette to edit
Use the following from the Visual Studio Code command palette to edit
the build targets:
"Monkey C: Set Products by Product Category" - Lets you add all products
that belong to the same product category
"Monkey C: Edit Products" - Lets you add or remove any product
-->
<iq:products>
<iq:product id="approachs50"/>
<iq:product id="approachs7042mm"/>
<iq:product id="approachs7047mm"/>
<iq:product id="d2air"/>
@ -49,19 +47,27 @@
<iq:product id="d2deltas"/>
<iq:product id="d2mach1"/>
<iq:product id="descentg1"/>
<iq:product id="descentg2"/>
<iq:product id="descentmk1"/>
<iq:product id="descentmk2"/>
<iq:product id="descentmk2s"/>
<iq:product id="descentmk343mm"/>
<iq:product id="descentmk351mm"/>
<iq:product id="edge1030"/>
<iq:product id="edge1030bontrager"/>
<iq:product id="edge1030plus"/>
<iq:product id="edge1040"/>
<iq:product id="edge1050"/>
<iq:product id="edge520plus"/>
<iq:product id="edge530"/>
<iq:product id="edge540"/>
<iq:product id="edge820"/>
<iq:product id="edge830"/>
<iq:product id="edge840"/>
<iq:product id="edgeexplore"/>
<iq:product id="edgeexplore2"/>
<iq:product id="enduro"/>
<iq:product id="enduro3"/>
<iq:product id="epix2"/>
<iq:product id="epix2pro42mm"/>
<iq:product id="epix2pro47mm"/>
@ -85,7 +91,14 @@
<iq:product id="fenix7x"/>
<iq:product id="fenix7xpro"/>
<iq:product id="fenix7xpronowifi"/>
<iq:product id="fenix843mm"/>
<iq:product id="fenix847mm"/>
<iq:product id="fenix8solar47mm"/>
<iq:product id="fenix8solar51mm"/>
<iq:product id="fenixchronos"/>
<iq:product id="fenixe"/>
<iq:product id="fr165"/>
<iq:product id="fr165m"/>
<iq:product id="fr245"/>
<iq:product id="fr245m"/>
<iq:product id="fr255"/>
@ -103,11 +116,17 @@
<iq:product id="fr945lte"/>
<iq:product id="fr955"/>
<iq:product id="fr965"/>
<iq:product id="gpsmap66"/>
<iq:product id="gpsmap67"/>
<iq:product id="instinct2"/>
<iq:product id="instinct2s"/>
<iq:product id="instinct2x"/>
<iq:product id="instinct3amoled45mm"/>
<iq:product id="instinct3amoled50mm"/>
<iq:product id="instinct3solar45mm"/>
<iq:product id="instinctcrossover"/>
<iq:product id="instincte40mm"/>
<iq:product id="instincte45mm"/>
<iq:product id="legacyherocaptainmarvel"/>
<iq:product id="legacyherofirstavenger"/>
<iq:product id="legacysagadarthvader"/>
@ -140,6 +159,7 @@
<iq:product id="vivoactive4"/>
<iq:product id="vivoactive4s"/>
<iq:product id="vivoactive5"/>
<iq:product id="vivoactive6"/>
</iq:products>
<!--
Use "Monkey C: Edit Permissions" from the Visual Studio Code command
@ -149,6 +169,7 @@
<iq:uses-permission id="Background"/>
<iq:uses-permission id="BluetoothLowEnergy"/>
<iq:uses-permission id="Communications"/>
<iq:uses-permission id="Positioning"/>
</iq:permissions>
<!--
Use "Monkey C: Edit Languages" from the Visual Studio Code command
@ -157,19 +178,17 @@
<iq:languages>
<iq:language>ara</iq:language>
<iq:language>bul</iq:language>
<iq:language>zhs</iq:language>
<iq:language>zht</iq:language>
<iq:language>hrv</iq:language>
<iq:language>ces</iq:language>
<iq:language>dan</iq:language>
<iq:language>dut</iq:language>
<iq:language>deu</iq:language>
<iq:language>gre</iq:language>
<iq:language>dut</iq:language>
<iq:language>eng</iq:language>
<iq:language>est</iq:language>
<iq:language>fin</iq:language>
<iq:language>fre</iq:language>
<iq:language>gre</iq:language>
<iq:language>heb</iq:language>
<iq:language>hrv</iq:language>
<iq:language>hun</iq:language>
<iq:language>ind</iq:language>
<iq:language>ita</iq:language>
@ -177,13 +196,12 @@
<iq:language>kor</iq:language>
<iq:language>lav</iq:language>
<iq:language>lit</iq:language>
<iq:language>zsm</iq:language>
<iq:language>nob</iq:language>
<iq:language>pol</iq:language>
<iq:language>por</iq:language>
<iq:language>slo</iq:language>
<iq:language>ron</iq:language>
<!-- <iq:language>rus</iq:language> -->
<iq:language>slo</iq:language>
<iq:language>slv</iq:language>
<iq:language>spa</iq:language>
<iq:language>swe</iq:language>
@ -191,6 +209,9 @@
<iq:language>tur</iq:language>
<iq:language>ukr</iq:language>
<iq:language>vie</iq:language>
<iq:language>zhs</iq:language>
<iq:language>zht</iq:language>
<iq:language>zsm</iq:language>
</iq:languages>
<!--
Use "Monkey C: Configure Monkey Barrel" from the Visual Studio Code

View File

@ -1,205 +0,0 @@
#-----------------------------------------------------------------------------------
#
# Distributed under MIT Licence
# See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
#
#-----------------------------------------------------------------------------------
#
# GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
# tested on a Venu 2 device. The source code is provided at:
# https://github.com/house-of-abbey/GarminHomeAssistant.
#
# J D Abbey & P A Abbey, 28 December 2022
#
# Reference:
# * https://developer.garmin.com/connect-iq/reference-guides/jungle-reference/
#
#-----------------------------------------------------------------------------------
project.manifest = manifest-widget.xml
base.sourcePath = source;include/widget
# Device References
# * https://developer.garmin.com/connect-iq/compatible-devices/
# * https://developer.garmin.com/connect-iq/reference-guides/devices-reference/
#
# Widget launcher icon, multiple resolutions
# https://forums.garmin.com/developer/connect-iq/f/discussion/255433/widget-launcher-icon-multiple-resolutions/1563305
#
# Use the online SVG converter to write out PNGs from "resources\drawables\launcher.svg" by changing
# the 'width' and 'height' attributes of the SVG.
# https://svgtopng.com/
#
# The icons need to scale as a ratio of screen size 48:416 pixels
#
# Icon 53 48 46 42 37 32 30 28 26 24 21 18
# Screen 454 416 390 360 320 280 260 240 218 208 176 156
# Screen Size 390x390 launcher icon size 70x70
approachs7042mm.resourcePath = $(approachs7042mm.resourcePath);resources-launcher-70-70;resources-icons-46
# Screen Size 454x454 launcher icon size 80x80
approachs7047mm.resourcePath = $(approachs7047mm.resourcePath);resources-launcher-80-80;resources-icons-53
# Screen Size 390x390 launcher icon size 60x60
d2air.resourcePath = $(d2air.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 416x416 launcher icon size 70x70
d2airx10.resourcePath = $(d2airx10.resourcePath);resources-launcher-70-70;resources-icons-48
# Screen Size 240x240 launcher icon size 40x40
d2delta.resourcePath = $(d2delta.resourcePath);resources-launcher-40-40;resources-icons-28
d2deltapx.resourcePath = $(d2deltapx.resourcePath);resources-launcher-40-40;resources-icons-28
d2deltas.resourcePath = $(d2deltas.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 416x416 launcher icon size 60x60
d2mach1.resourcePath = $(d2mach1.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 176x176 launcher icon size 62x62
descentg1.resourcePath = $(descentg1.resourcePath);resources-launcher-62-62;resources-icons-21
# Screen Size 280x280 launcher icon size 40x40
descentmk2.resourcePath = $(descentmk2.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 240x240 launcher icon size 40x40
descentmk2s.resourcePath = $(descentmk2s.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 282x470 launcher icon size 36x36
edge1030.resourcePath = $(descentmk2s.resourcePath);resources-launcher-36-36;resources-icons-32
edge1030bontrager.resourcePath = $(edge1030bontrager.resourcePath);resources-launcher-36-36;resources-icons-32
edge1030plus.resourcePath = $(edge1030plus.resourcePath);resources-launcher-36-36;resources-icons-32
# Screen Size 282x470 launcher icon size 40x40
edge1040.resourcePath = $(edge1040.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 200x265 launcher icon size 35x35
edge520plus.resourcePath = $(edge520plus.resourcePath);resources-launcher-35-35;resources-icons-24
# Screen Size 246x322 launcher icon size 35x35
edge530.resourcePath = $(edge530.resourcePath);resources-launcher-35-35;resources-icons-28
# Screen Size 200x265 launcher icon size 35x35
edge820.resourcePath = $(edge820.resourcePath);resources-launcher-35-35;resources-icons-24
# Screen Size 246x322 launcher icon size 35x35
edge830.resourcePath = $(edge830.resourcePath);resources-launcher-35-35;resources-icons-28
# Screen Size 240x400 launcher icon size 36x36
edgeexplore.resourcePath = $(edgeexplore.resourcePath);resources-launcher-36-36;resources-icons-28
edgeexplore2.resourcePath = $(edgeexplore2.resourcePath);resources-launcher-36-36;resources-icons-28
# Screen Size 280x280 launcher icon size 40x40
enduro.resourcePath = $(enduro.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 416x416 launcher icon size 60x60
epix2.resourcePath = $(epix2.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 390x390 launcher icon size 60x60
epix2pro42mm.resourcePath = $(epix2pro42mm.resourcePath);resources-launcher-60-60;resources-icons-46
epix2pro47mm.resourcePath = $(epix2pro47mm.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 454x454 launcher icon size 60x60
epix2pro51mm.resourcePath = $(epix2pro51mm.resourcePath);resources-launcher-60-60;resources-icons-53
# Screen Size 240x240 launcher icon size 40x40
fenix5.resourcePath = $(fenix5.resourcePath);resources-launcher-40-40;resources-icons-28
fenix5plus.resourcePath = $(fenix5plus.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 218x218 launcher icon size 36x36
fenix5s.resourcePath = $(fenix5s.resourcePath);resources-launcher-36-36;resources-icons-26
# Screen Size 240x240 launcher icon size 40x40
fenix5splus.resourcePath = $(fenix5splus.resourcePath);resources-launcher-40-40;resources-icons-28
fenix5x.resourcePath = $(fenix5x.resourcePath);resources-launcher-40-40;resources-icons-28
fenix5xplus.resourcePath = $(fenix5xplus.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 260x260 launcher icon size 40x40
fenix6.resourcePath = $(fenix6.resourcePath);resources-launcher-40-40;resources-icons-30
fenix6pro.resourcePath = $(fenix6pro.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 240x240 launcher icon size 40x40
fenix6s.resourcePath = $(fenix6s.resourcePath);resources-launcher-40-40;resources-icons-28
fenix6spro.resourcePath = $(fenix6spro.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 280x280 launcher icon size 40x40
fenix6xpro.resourcePath = $(fenix6xpro.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 260x260 launcher icon size 40x40
fenix7.resourcePath = $(fenix7.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 260x260 launcher icon size 40x40
fenix7pro.resourcePath = $(fenix7pro.resourcePath);resources-launcher-40-40;resources-icons-30
fenix7pronowifi.resourcePath = $(fenix7pronowifi.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 218x218 launcher icon size 36x36
fenixchronos.resourcePath = $(fenixchronos.resourcePath);resources-launcher-36-36;resources-icons-26
# Screen Size 240x240 launcher icon size 40x40
fenix7s.resourcePath = $(fenix7s.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 240x240 launcher icon size 40x40
fenix7spro.resourcePath = $(fenix7spro.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 280x280 launcher icon size 40x40
fenix7x.resourcePath = $(fenix7x.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 280x280 launcher icon size 40x40
fenix7xpro.resourcePath = $(fenix7xpro.resourcePath);resources-launcher-40-40;resources-icons-32
fenix7xpronowifi.resourcePath = $(fenix7xpronowifi.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 240x240 launcher icon size 40x40
fr245.resourcePath = $(fr245.resourcePath);resources-launcher-40-40;resources-icons-28
fr245m.resourcePath = $(fr245m.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 260x260 launcher icon size 40x40
fr255.resourcePath = $(fr255.resourcePath);resources-launcher-40-40;resources-icons-30
fr255m.resourcePath = $(fr255m.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 218x218 launcher icon size 40x40
fr255s.resourcePath = $(fr255s.resourcePath);resources-launcher-40-40;resources-icons-26
fr255sm.resourcePath = $(fr255sm.resourcePath);resources-launcher-40-40;resources-icons-26
# Screen Size 416x416 launcher icon size 60x60
fr265.resourcePath = $(fr265.resourcePath);resources-launcher-60-60;resources-icons-48
fr265s.resourcePath = $(fr265s.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 208x208 launcher icon size 35x35
fr55.resourcePath = $(fr55.resourcePath);resources-launcher-35-35;resources-icons-24
# Screen Size 240x240 launcher icon size 40x40
fr645.resourcePath = $(fr645.resourcePath);resources-launcher-40-40;resources-icons-28
fr645m.resourcePath = $(fr645m.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 240x240 launcher icon size 40x40
fr745.resourcePath = $(fr745.resourcePath);resources-launcher-40-40;resources-icons-28
fr935.resourcePath = $(fr935.resourcePath);resources-launcher-40-40;resources-icons-28
fr945.resourcePath = $(fr945.resourcePath);resources-launcher-40-40;resources-icons-28
fr945lte.resourcePath = $(fr945lte.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 260x260 launcher icon size 40x40
fr955.resourcePath = $(fr955.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 454x454 launcher icon size 65x65
fr965.resourcePath = $(fr965.resourcePath);resources-launcher-65-65;resources-icons-53
# Screen Size 240x400 launcher icon size 38x33
gpsmap67.resourcePath = $(gpsmap67.resourcePath);resources-launcher-33-33;resources-icons-28
# Screen Size 176x176 launcher icon size 62x62
instinct2.resourcePath = $(instinct2.resourcePath);resources-launcher-62-62;resources-icons-21
# Screen Size 163x156 launcher icon size 54x54
instinct2s.resourcePath = $(instinct2s.resourcePath);resources-launcher-54-54;resources-icons-18
# Screen Size 176x176 launcher icon size 62x62
instinct2x.resourcePath = $(instinct2x.resourcePath);resources-launcher-62-62;resources-icons-21
# Screen Size 176x176 launcher icon size 26x26
instinctcrossover.resourcePath = $(instinctcrossover.resourcePath);resources-launcher-26-26;resources-icons-21
# Screen Size 218x218 launcher icon size 30x30
legacyherocaptainmarvel.resourcePath = $(legacyherocaptainmarvel.resourcePath);resources-launcher-30-30;resources-icons-26
# Screen Size 260x260 launcher icon size 35x35
legacyherofirstavenger.resourcePath = $(legacyherofirstavenger.resourcePath);resources-launcher-35-35;resources-icons-30
legacysagadarthvader.resourcePath = $(legacysagadarthvader.resourcePath);resources-launcher-35-35;resources-icons-30
# Screen Size 218x218 launcher icon size 30x30
legacysagarey.resourcePath = $(legacysagarey.resourcePath);resources-launcher-30-30;resources-icons-26
# Screen Size 390x390 launcher icon size 60x60
marq2.resourcePath = $(marq2.resourcePath);resources-launcher-60-60;resources-icons-46
marq2aviator.resourcePath = $(marq2aviator.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 240x240 launcher icon size 40x40
marqadventurer.resourcePath = $(marqadventurer.resourcePath);resources-launcher-40-40;resources-icons-28
marqathlete.resourcePath = $(marqathlete.resourcePath);resources-launcher-40-40;resources-icons-28
marqaviator.resourcePath = $(marqaviator.resourcePath);resources-launcher-40-40;resources-icons-28
marqcaptain.resourcePath = $(marqcaptain.resourcePath);resources-launcher-40-40;resources-icons-28
marqcommander.resourcePath = $(marqcommander.resourcePath);resources-launcher-40-40;resources-icons-28
marqdriver.resourcePath = $(marqdriver.resourcePath);resources-launcher-40-40;resources-icons-28
marqexpedition.resourcePath = $(marqexpedition.resourcePath);resources-launcher-40-40;resources-icons-28
marqgolfer.resourcePath = $(marqgolfer.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 480x800 launcher icon size 60x60
montana7xx.resourcePath = $(montana7xx.resourcePath);resources-launcher-60-60;resources-icons-53
# Screen Size 390x390 launcher icon size 60x60
venu.resourcePath = $(venu.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 416x416 launcher icon size 70x70
venu2.resourcePath = $(venu2.resourcePath);resources-launcher-70-70;resources-icons-48
venu2plus.resourcePath = $(venu2plus.resourcePath);resources-launcher-70-70;resources-icons-48
# Screen Size 360x360 launcher icon size 61x61
venu2s.resourcePath = $(venu2s.resourcePath);resources-launcher-61-61;resources-icons-42
# Screen Size 454x454 launcher icon size 70x70
venu3.resourcePath = $(venu3.resourcePath);resources-launcher-70-70;resources-icons-53
# Screen Size 390x390 launcher icon size 70x70
venu3s.resourcePath = $(venu3s.resourcePath);resources-launcher-70-70;resources-icons-46
# Screen Size 390x390 launcher icon size 60x60
venud.resourcePath = $(venud.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 240x240 launcher icon size 36x36
venusq.resourcePath = $(venusq.resourcePath);resources-launcher-36-36;resources-icons-28
# Screen Size 320x360 launcher icon size 40x40
venusq2.resourcePath = $(venusq2.resourcePath);resources-launcher-40-40;resources-icons-38
# Screen Size 320x360 launcher icon size 40x40
venusq2m.resourcePath = $(venusq2m.resourcePath);resources-launcher-40-40;resources-icons-38
# Screen Size 240x240 launcher icon size 36x36
venusqm.resourcePath = $(venusqm.resourcePath);resources-launcher-36-36;resources-icons-28
# Screen Size 240x240 launcher icon size 40x33
vivoactive3.resourcePath = $(vivoactive3.resourcePath);resources-launcher-33-33;resources-icons-28
vivoactive3m.resourcePath = $(vivoactive3m.resourcePath);resources-launcher-33-33;resources-icons-28
vivoactive3mlte.resourcePath = $(vivoactive3mlte.resourcePath);resources-launcher-33-33;resources-icons-28
# Screen Size 260x260 launcher icon size 35x35
vivoactive4.resourcePath = $(vivoactive4.resourcePath);resources-launcher-35-35;resources-icons-30
# Screen Size 218x218 launcher icon size 30x30
vivoactive4s.resourcePath = $(vivoactive4s.resourcePath);resources-launcher-30-30;resources-icons-26
# Screen Size 390x390 launcher icon size 70x70
vivoactive5.resourcePath = $(vivoactive5.resourcePath);resources-launcher-70-70;resources-icons-46

View File

@ -18,11 +18,6 @@
project.manifest = manifest.xml
# Testing in VSCode requires monkey.jungle, so for convenience, swap between
# watch-app and widget by changing which of the next two lines are commented out
base.sourcePath = source;include/app
#base.sourcePath = source;include/widget
# Device References
# * https://developer.garmin.com/connect-iq/compatible-devices/
# * https://developer.garmin.com/connect-iq/reference-guides/devices-reference/
@ -36,9 +31,11 @@ base.sourcePath = source;include/app
#
# The icons need to scale as a ratio of screen size 48:416 pixels
#
# Icon 53 48 46 42 37 32 30 28 26 24 21 18
# Screen 454 416 390 360 320 280 260 240 218 208 176 156
# Icon 55 53 48 46 42 37 32 30 28 26 24 21 19 18
# Screen 480 454 416 390 360 320 280 260 240 218 208 176 166 156
# Screen Size 390x390 launcher icon size 56x56
approachs50.resourcePath = $(approachs50.resourcePath);resources-launcher-56-56;resources-icons-46
# Screen Size 390x390 launcher icon size 70x70
approachs7042mm.resourcePath = $(approachs7042mm.resourcePath);resources-launcher-70-70;resources-icons-46
# Screen Size 454x454 launcher icon size 80x80
@ -55,29 +52,43 @@ d2deltas.resourcePath = $(d2deltas.resourcePath);resources-launcher-40-40;resour
d2mach1.resourcePath = $(d2mach1.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 176x176 launcher icon size 62x62
descentg1.resourcePath = $(descentg1.resourcePath);resources-launcher-62-62;resources-icons-21
# Screen Size 390x390 launcher icon size 60x60
descentg2.resourcePath = $(descentg2.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 240x240 launcher icon size 40x40
descentmk1.resourcePath = $(descentmk1.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 280x280 launcher icon size 40x40
descentmk2.resourcePath = $(descentmk2.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 240x240 launcher icon size 40x40
descentmk2s.resourcePath = $(descentmk2s.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 390 x 390 launcher icon size 60x60
descentmk343mm.resourcePath = $(descentmk2s.resourcePath);resources-launcher-60-60;resources-icons-46
# Screen Size 454 x 454 launcher icon size 60x60
descentmk351mm.resourcePath = $(descentmk2s.resourcePath);resources-launcher-60-60;resources-icons-53
# Screen Size 282x470 launcher icon size 36x36
edge1030.resourcePath = $(descentmk2s.resourcePath);resources-launcher-36-36;resources-icons-32
edge1030bontrager.resourcePath = $(edge1030bontrager.resourcePath);resources-launcher-36-36;resources-icons-32
edge1030plus.resourcePath = $(edge1030plus.resourcePath);resources-launcher-36-36;resources-icons-32
# Screen Size 282x470 launcher icon size 40x40
edge1040.resourcePath = $(edge1040.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 480x800 launcher icon size 68x68
edge1050.resourcePath = $(edge1050.resourcePath);resources-launcher-68-68;resources-icons-55
# Screen Size 200x265 launcher icon size 35x35
edge520plus.resourcePath = $(edge520plus.resourcePath);resources-launcher-35-35;resources-icons-24
# Screen Size 246x322 launcher icon size 35x35
edge530.resourcePath = $(edge530.resourcePath);resources-launcher-35-35;resources-icons-28
edge540.resourcePath = $(edge540.resourcePath);resources-launcher-35-35;resources-icons-28
# Screen Size 200x265 launcher icon size 35x35
edge820.resourcePath = $(edge820.resourcePath);resources-launcher-35-35;resources-icons-24
# Screen Size 246x322 launcher icon size 35x35
edge830.resourcePath = $(edge830.resourcePath);resources-launcher-35-35;resources-icons-28
edge840.resourcePath = $(edge840.resourcePath);resources-launcher-35-35;resources-icons-28
# Screen Size 240x400 launcher icon size 36x36
edgeexplore.resourcePath = $(edgeexplore.resourcePath);resources-launcher-36-36;resources-icons-28
edgeexplore2.resourcePath = $(edgeexplore2.resourcePath);resources-launcher-36-36;resources-icons-28
# Screen Size 280x280 launcher icon size 40x40
enduro.resourcePath = $(enduro.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 280x280 launcher icon size 40x40
enduro3.resourcePath = $(enduro3.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 416x416 launcher icon size 60x60
epix2.resourcePath = $(epix2.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 390x390 launcher icon size 60x60
@ -107,8 +118,6 @@ fenix7.resourcePath = $(fenix7.resourcePath);resources-launcher-40-40;resources-
# Screen Size 260x260 launcher icon size 40x40
fenix7pro.resourcePath = $(fenix7pro.resourcePath);resources-launcher-40-40;resources-icons-30
fenix7pronowifi.resourcePath = $(fenix7pronowifi.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 218x218 launcher icon size 36x36
fenixchronos.resourcePath = $(fenixchronos.resourcePath);resources-launcher-36-36;resources-icons-26
# Screen Size 240x240 launcher icon size 40x40
fenix7s.resourcePath = $(fenix7s.resourcePath);resources-launcher-40-40;resources-icons-28
# Screen Size 240x240 launcher icon size 40x40
@ -118,6 +127,22 @@ fenix7x.resourcePath = $(fenix7x.resourcePath);resources-launcher-40-40;resource
# Screen Size 280x280 launcher icon size 40x40
fenix7xpro.resourcePath = $(fenix7xpro.resourcePath);resources-launcher-40-40;resources-icons-32
fenix7xpronowifi.resourcePath = $(fenix7xpronowifi.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 416x416 launcher icon size 60x60
fenix843mm.resourcePath = $(fenix843mm.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 454x454 launcher icon size 65x65
fenix847mm.resourcePath = $(fenix847mm.resourcePath);resources-launcher-65-65;resources-icons-53
# Screen Size 260x260 launcher icon size 40x40
fenix8solar47mm.resourcePath = $(fenix8solar47mm.resourcePath);resources-launcher-40-40;resources-icons-30
# Screen Size 280x280 launcher icon size 40x40
fenix8solar51mm.resourcePath = $(fenix8solar51mm.resourcePath);resources-launcher-40-40;resources-icons-32
# Screen Size 218x218 launcher icon size 36x36
fenixchronos.resourcePath = $(fenixchronos.resourcePath);resources-launcher-36-36;resources-icons-26
# Screen Size 416x416 launcher icon size 60x60
fenixe.resourcePath = $(fenixe.resourcePath);resources-launcher-60-60;resources-icons-48
# Screen Size 390 x 390 launcher icon size 54x54
fr165.resourcePath = $(descentmk2s.resourcePath);resources-launcher-54-54;resources-icons-46
# Screen Size 390 x 390 launcher icon size 54x54
fr165m.resourcePath = $(descentmk2s.resourcePath);resources-launcher-54-54;resources-icons-46
# Screen Size 240x240 launcher icon size 40x40
fr245.resourcePath = $(fr245.resourcePath);resources-launcher-40-40;resources-icons-28
fr245m.resourcePath = $(fr245m.resourcePath);resources-launcher-40-40;resources-icons-28
@ -145,15 +170,27 @@ fr955.resourcePath = $(fr955.resourcePath);resources-launcher-40-40;resources-ic
# Screen Size 454x454 launcher icon size 65x65
fr965.resourcePath = $(fr965.resourcePath);resources-launcher-65-65;resources-icons-53
# Screen Size 240x400 launcher icon size 38x33
gpsmap66.resourcePath = $(gpsmap66.resourcePath);resources-launcher-33-33;resources-icons-28
# Screen Size 240x400 launcher icon size 38x33
gpsmap67.resourcePath = $(gpsmap67.resourcePath);resources-launcher-33-33;resources-icons-28
# Screen Size 176x176 launcher icon size 62x62
instinct2.resourcePath = $(instinct2.resourcePath);resources-launcher-62-62;resources-icons-21
instinct2.resourcePath = $(instinct2.resourcePath);resources-launcher-62-62;resources-icons-21-w
# Screen Size 163x156 launcher icon size 54x54
instinct2s.resourcePath = $(instinct2s.resourcePath);resources-launcher-54-54;resources-icons-18
instinct2s.resourcePath = $(instinct2s.resourcePath);resources-launcher-54-54;resources-icons-18-w
# Screen Size 176x176 launcher icon size 62x62
instinct2x.resourcePath = $(instinct2x.resourcePath);resources-launcher-62-62;resources-icons-21
instinct2x.resourcePath = $(instinct2x.resourcePath);resources-launcher-62-62;resources-icons-21-w
# Screen Size 390x390 launcher icon size 60x60, but the icon size used here is reduced as the menu items were clipped.
instinct3amoled45mm.resourcePath = $(instinct3amoled45mm.resourcePath);resources-launcher-60-60;resources-icons-32
# Screen Size 416x416 launcher icon size 60x60, but the icon size used here is reduced as the menu items were clipped.
instinct3amoled50mm.resourcePath = $(instinct3amoled50mm.resourcePath);resources-launcher-60-60;resources-icons-34
# Screen Size 176x176 launcher icon size 62x62
instinct3solar45mm.resourcePath = $(instinct3solar45mm.resourcePath);resources-launcher-62-62;resources-icons-18-w
# Screen Size 176x176 launcher icon size 26x26
instinctcrossover.resourcePath = $(instinctcrossover.resourcePath);resources-launcher-26-26;resources-icons-21
instinctcrossover.resourcePath = $(instinctcrossover.resourcePath);resources-launcher-26-26;resources-icons-21-w
# Screen Size 166x166 launcher icon size 52x52, but the icon size used here is reduced as the menu items were clipped.
instincte40mm.resourcePath = $(instincte40mm.resourcePath);resources-launcher-52-52;resources-icons-18-w
# Screen Size 176x176 launcher icon size 62x62, but the icon size used here is reduced as the menu items were clipped.
instincte45mm.resourcePath = $(instincte45mm.resourcePath);resources-launcher-62-62;resources-icons-18-w
# Screen Size 218x218 launcher icon size 30x30
legacyherocaptainmarvel.resourcePath = $(legacyherocaptainmarvel.resourcePath);resources-launcher-30-30;resources-icons-26
# Screen Size 260x260 launcher icon size 35x35
@ -204,5 +241,7 @@ vivoactive3mlte.resourcePath = $(vivoactive3mlte.resourcePath);resources-launche
vivoactive4.resourcePath = $(vivoactive4.resourcePath);resources-launcher-35-35;resources-icons-30
# Screen Size 218x218 launcher icon size 30x30
vivoactive4s.resourcePath = $(vivoactive4s.resourcePath);resources-launcher-30-30;resources-icons-26
# Screen Size 390x390 launcher icon size 70x70
vivoactive5.resourcePath = $(vivoactive5.resourcePath);resources-launcher-70-70;resources-icons-46
# Screen Size 390x390 launcher icon size 56x56
vivoactive5.resourcePath = $(vivoactive5.resourcePath);resources-launcher-56-56;resources-icons-46
# Screen Size 390x390 launcher icon size 54x54
vivoactive6.resourcePath = $(vivoactive6.resourcePath);resources-launcher-54-54;resources-icons-46

View File

@ -15,56 +15,58 @@
<!--
Generated by Google Translate: English to Arabic
تم إنشاؤها بواسطة ترجمة جوجل من الإنجليزية
تم إنشاؤه بواسطة Google Translate من اللغة الإنجليزية
-->
<strings>
<string id="ApiFlood">مكالمات واجهة برمجة التطبيقات سريعة جدًا. يُرجى إبطاء طلباتك.</string>
<string id="ApiUrlNotFound">لم يتم العثور على عنوان URL. قد يكون هناك خطأ في عنوان URL الخاص بواجهة برمجة التطبيقات في الإعدادات.</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">بالتأكيد؟</string>
<string id="Executed" scope="glance">مؤكد</string>
<string id="NoPhone" scope="glance">لا يوجد اتصال الهاتف</string>
<string id="NoInternet">لا يوجد اتصال بالإنترنت</string>
<string id="NoResponse">لا توجد استجابة، تحقق من الاتصال بالإنترنت</string>
<string id="NoAPIKey" scope="glance">لا يوجد مفتاح API في إعدادات التطبيق</string>
<string id="NoApiUrl" scope="glance">لا يوجد عنوان URL لواجهة برمجة التطبيقات في إعدادات التطبيق</string>
<string id="NoConfigUrl" scope="glance">لا يوجد عنوان URL للتكوين في إعدادات التطبيق</string>
<string id="ApiFlood">مكالمات API سريعة جدًا. يرجى إبطاء طلباتك.</string>
<string id="ApiUrlNotFound">لم يتم العثور على عنوان URL. خطأ محتمل في عنوان URL لواجهة برمجة التطبيقات في الإعدادات.</string>
<string id="ConfigUrlNotFound">لم يتم العثور على عنوان URL. خطأ محتمل في عنوان URL للتكوين في الإعدادات.</string>
<string id="NoJson">لم يتم إرجاع JSON من طلب HTTP.</string>
<string id="UnhandledHttpErr">قام طلب HTTP بإرجاع رمز الخطأ =</string>
<string id="TrailingSlashErr">يجب ألا يحتوي عنوان URL لواجهة برمجة التطبيقات على شرطة مائلة لاحقة '/'</string>
<string id="WebhookFailed">فشل تسجيل Webhook</string>
<string id="TemplateError">فشل في تقديم القالب</string>
<string id="Available" scope="glance">متاح</string>
<string id="Checking" scope="glance">تدقيق...</string>
<string id="Unavailable" scope="glance">غير متوفره</string>
<string id="Unconfigured" scope="glance">غير مهيأ</string>
<string id="Cached" scope="glance">مخبأة</string>
<string id="Cached" scope="glance">مخزن مؤقتا</string>
<string id="Checking" scope="glance">جاري التحقق...</string>
<string id="ConfigUrlNotFound">لم يتم العثور على عنوان URL. قد يكون هناك خطأ في تكوين عنوان URL في الإعدادات.</string>
<string id="Confirm">بالتأكيد؟</string>
<string id="Empty">فارغ</string>
<string id="Executed" scope="glance">مؤكد</string>
<string id="GlanceMenu" scope="glance">قائمة طعام</string>
<string id="Memory" scope="glance">ذاكرة</string>
<!-- لإعدادات واجهة المستخدم الرسومية -->
<string id="NoAPIKey" scope="glance">لا يوجد مفتاح API في إعدادات التطبيق.</string>
<string id="NoApiUrl" scope="glance">لا يوجد عنوان URL لـ API في إعدادات التطبيق.</string>
<string id="NoConfigUrl" scope="glance">لا يوجد عنوان URL للتكوين في إعدادات التطبيق.</string>
<string id="NoInternet">لا يوجد اتصال بالإنترنت.</string>
<string id="NoJson">لم يتم إرجاع JSON من طلب HTTP.</string>
<string id="NoPhone" scope="glance">لا يوجد اتصال بالهاتف.</string>
<string id="NoResponse">لا يوجد رد، تحقق من اتصال الإنترنت</string>
<string id="PinInputLocked">تم قفل مدخل رقم التعريف الشخصي (PIN)</string>
<string id="PotentialError">خطأ محتمل</string>
<string id="Seconds">ثواني</string>
<string id="TemplateError">خطأ القالب</string>
<string id="TrailingSlashErr">يجب ألا يحتوي عنوان URL الخاص بواجهة برمجة التطبيقات على شرطة مائلة '/' في نهايته.</string>
<string id="Unavailable" scope="glance">غير متاح</string>
<string id="Unconfigured" scope="glance">غير مهيأ</string>
<string id="UnhandledHttpErr">طلب HTTP أعاد رمز الخطأ =</string>
<string id="WebhookFailed">فشل في تسجيل Webhook</string>
<string id="WrongPin">رقم التعريف الشخصي خاطئ</string>
<!-- بالنسبة لإعدادات واجهة المستخدم الرسومية، يجب أن تكون السلاسل بالترتيب الذي يتم استخدامها به. -->
<string id="SettingsSelect">يختار...</string>
<string id="SettingsApiKey">مفتاح API لـ HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">رمز الوصول طويل الأمد.</string>
<string id="SettingsApiUrl">عنوان URL لواجهة برمجة تطبيقات HomeAssistant.</string>
<string id="SettingsApiUrl">عنوان URL لـ API HomeAssistant.</string>
<string id="SettingsConfigUrl">عنوان URL لتكوين القائمة (JSON).</string>
<string id="SettingsCacheConfig">هل يجب على التطبيق تخزين تكوين القائمة مؤقتًا؟</string>
<string id="SettingsClearCache">يجب أن يقوم التطبيق بمسح ذاكرة التخزين المؤقت الموجودة في المرة القادمة
بدأت؟</string>
<string id="SettingsAppTimeout">المهلة بالثواني. الخروج من التطبيق بعد هذه الفترة
عدم النشاط لحفظ بطارية الجهاز.</string>
<string id="SettingsConfirmTimeout">بعد هذا الوقت (بالثواني)، يظهر مربع حوار تأكيد لـ
يتم إغلاق الإجراء تلقائيًا ويتم إلغاء الإجراء. اضبط على 0 لتعطيل المهلة.</string>
<string id="SettingsTextAlign">محاذاة القائمة لليسار (إيقاف) أو لليمين (تشغيل).</string>
<string id="SettingsClearCache">هل يجب على التطبيق مسح ذاكرة التخزين المؤقت الموجودة في المرة التالية التي يتم تشغيله فيها؟</string>
<string id="SettingsVibration">هل يجب أن يوفر التطبيق ردود الفعل عبر الاهتزازات؟</string>
<string id="SettingsAppTimeout">مهلة زمنية بالثواني. قم بالخروج من التطبيق بعد هذه الفترة من عدم النشاط للحفاظ على بطارية الجهاز.</string>
<string id="SettingsPollDelay">تأخير إضافي في الاستطلاع (بالثواني). يضيف تأخيرًا بين تحديث حالة جميع عناصر القائمة.</string>
<string id="SettingsConfirmTimeout">بعد هذا الوقت (بالثواني)، يتم إغلاق مربع حوار التأكيد الخاص بالإجراء تلقائيًا ويتم إلغاء الإجراء. اضبطه على 0 لتعطيل مهلة الانتظار.</string>
<string id="SettingsPin">رقم التعريف الشخصي (PIN) المكون من 4 أرقام الذي سيتم استخدامه لجميع الإجراءات التي تتطلب التأكيد (0000-9999).</string>
<string id="SettingsPinError">يرجى تكوين رقم تعريف شخصي صالح مكون من 4 أرقام بين 0000 و9999 في إعدادات التطبيق.</string>
<string id="SettingsTextAlign">محاذاة القائمة اليسرى (إيقاف) أو اليمنى (تشغيل).</string>
<string id="LeftToRight">من اليسار إلى اليمين</string>
<string id="RightToLeft">من اليمين الى اليسار</string>
<string id="SettingsWidgetStart">(القطعة فقط) ابدأ تشغيل التطبيق تلقائيًا من الأداة
دون انتظار الصنبور.</string>
<string id="SettingsEnableBatteryLevel">تمكين خدمة الخلفية لإرسال بطارية الساعة
المستوى إلى مساعد المنزل.</string>
<string id="SettingsBatteryLevelRefreshRate">معدل التحديث (بالدقائق) الذي الخلفية
يجب أن تكرر الخدمة إرسال مستوى البطارية.</string>
<string id="WebhookId">(للقراءة فقط) معرف Webhook الذي أنشأته الساعة لتحديثات مستوى البطارية.
قد تحتاج إلى هذا لتصحيح الأخطاء.</string>
<string id="RightToLeft">من اليمين إلى اليسار</string>
<string id="SettingsWidgetStart">(الأداة فقط) قم بتشغيل التطبيق تلقائيًا من الأداة دون انتظار نقرة.</string>
<string id="SettingsEnableBatteryLevel">قم بتمكين خدمة الخلفية لإرسال بيانات مستوى بطارية الجهاز وموقعه ونشاطه (إذا كان مدعومًا) إلى Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">معدل التحديث (بالدقائق) الذي يجب أن تكرر به الخدمة الخلفية إرسال البيانات.</string>
<string id="WebhookId">(للقراءة فقط) معرف Webhook الذي أنشأه الجهاز لتحديثات الخدمة في الخلفية. قد تحتاج إلى هذا من أجل تصحيح الأخطاء.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Сигурен?</string>
<string id="Executed" scope="glance">Потвърдено</string>
<string id="NoPhone" scope="glance">Няма телефонна връзка</string>
<string id="NoInternet">Няма интернет връзка</string>
<string id="NoResponse">Няма отговор, проверете интернет връзката</string>
<string id="NoAPIKey" scope="glance">Няма API ключ в настройките на приложението</string>
<string id="NoApiUrl" scope="glance">Няма URL адрес на API в настройките на приложението</string>
<string id="NoConfigUrl" scope="glance">Няма конфигурационен URL адрес в настройките на приложението</string>
<string id="ApiFlood">Извикванията на API са твърде бързи. Моля, забавете вашите заявки.</string>
<string id="ApiUrlNotFound">URL не е намерен. Потенциална грешка в URL адреса на API в настройките.</string>
<string id="ConfigUrlNotFound">URL не е намерен. Потенциална грешка в URL адреса на конфигурацията в настройките.</string>
<string id="NoJson">Няма върнат JSON от HTTP заявка.</string>
<string id="UnhandledHttpErr">HTTP заявката върна код на грешка =</string>
<string id="TrailingSlashErr">URL адресът на API не трябва да има наклонена черта '/' в края</string>
<string id="WebhookFailed">Неуспешно регистриране на Webhook</string>
<string id="TemplateError">Неуспешно изобразяване на шаблон</string>
<string id="Available" scope="glance">На разположение</string>
<string id="Checking" scope="glance">Проверка...</string>
<string id="Unavailable" scope="glance">Недостъпен</string>
<string id="Unconfigured" scope="glance">Неконфигуриран</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Наличен</string>
<string id="Cached" scope="glance">Кеширано</string>
<string id="Checking" scope="glance">Проверка...</string>
<string id="ConfigUrlNotFound">URL не е намерен. Потенциална грешка в URL адреса на конфигурацията в настройките.</string>
<string id="Confirm">разбира се</string>
<string id="Empty">празна</string>
<string id="Executed" scope="glance">Потвърдено</string>
<string id="GlanceMenu" scope="glance">Меню</string>
<string id="Memory" scope="glance">памет</string>
<!-- За GUI за настройки -->
<string id="NoAPIKey" scope="glance">Няма API ключ в настройките на приложението.</string>
<string id="NoApiUrl" scope="glance">Няма URL адрес на API в настройките на приложението.</string>
<string id="NoConfigUrl" scope="glance">Няма конфигурационен URL адрес в настройките на приложението.</string>
<string id="NoInternet">Няма интернет връзка.</string>
<string id="NoJson">Няма върнат JSON от HTTP заявка.</string>
<string id="NoPhone" scope="glance">Няма телефонна връзка.</string>
<string id="NoResponse">Няма отговор, проверете интернет връзката</string>
<string id="PinInputLocked">Въвеждането на PIN е заключено за</string>
<string id="PotentialError">Потенциална грешка</string>
<string id="Seconds">секунди</string>
<string id="TemplateError">Грешка в шаблона</string>
<string id="TrailingSlashErr">URL адресът на API не трябва да има наклонена черта '/' в края.</string>
<string id="Unavailable" scope="glance">Недостъпен</string>
<string id="Unconfigured" scope="glance">Неконфигуриран</string>
<string id="UnhandledHttpErr">HTTP заявката върна код на грешка =</string>
<string id="WebhookFailed">Неуспешно регистриране на Webhook</string>
<string id="WrongPin">Грешен ПИН</string>
<!-- За GUI на настройките низовете трябва да са в реда, в който се използват. -->
<string id="SettingsSelect">Изберете...</string>
<string id="SettingsApiKey">API ключ за HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Токен за дълготраен достъп.</string>
<string id="SettingsApiUrl">URL адрес за API на HomeAssistant.</string>
<string id="SettingsConfigUrl">URL за конфигурация на менюто (JSON).</string>
<string id="SettingsCacheConfig">Трябва ли приложението да кешира конфигурацията на менюто?</string>
<string id="SettingsClearCache">Трябва ли приложението да изчисти съществуващия кеш следващия път, когато е
започна?</string>
<string id="SettingsAppTimeout">Изчакване в секунди. Излезте от приложението след този период от
бездействие, за да запазите батерията на устройството.</string>
<string id="SettingsConfirmTimeout">След това време (в секунди) се появява диалогов прозорец за потвърждение за an
действието се затваря автоматично и действието се отменя. Задайте 0, за да деактивирате изчакването.</string>
<string id="SettingsClearCache">Трябва ли приложението да изчисти съществуващия кеш при следващото стартиране?</string>
<string id="SettingsVibration">Трябва ли приложението да предоставя обратна връзка чрез вибрации?</string>
<string id="SettingsAppTimeout">Изчакване в секунди. Излезте от приложението след този период на неактивност, за да запазите батерията на устройството.</string>
<string id="SettingsPollDelay">Допълнително забавяне на анкетата (в секунди). Добавя забавяне между актуализацията на състоянието на всички елементи от менюто.</string>
<string id="SettingsConfirmTimeout">След това време (в секунди) диалоговият прозорец за потвърждение за действие се затваря автоматично и действието се отменя. Задайте 0, за да деактивирате изчакването.</string>
<string id="SettingsPin">4-цифрен ПИН, който да се използва за всички действия, които изискват потвърждение (0000-9999).</string>
<string id="SettingsPinError">Моля, конфигурирайте валиден 4-цифрен цифров PIN между 0000 и 9999 в настройките на приложението.</string>
<string id="SettingsTextAlign">Ляво (изключено) или дясно (включено) подравняване на менюто.</string>
<string id="LeftToRight">Отляво надясно</string>
<string id="RightToLeft">От дясно на ляво</string>
<string id="SettingsWidgetStart">(Само за притурка) Автоматично стартиране на приложението от приспособлението
без да чакате кран.</string>
<string id="SettingsEnableBatteryLevel">Активирайте фоновата услуга, за да изпратите батерията на часовника
ниво до домашен асистент.</string>
<string id="SettingsBatteryLevelRefreshRate">Честотата на опресняване (в минути), с която фонът
услугата трябва да повтори изпращането на нивото на батерията.</string>
<string id="WebhookId">(Само за четене) ID на Webhook, създаден от часовника за актуализации на нивото на батерията.
Може да ви е необходимо това за отстраняване на грешки.</string>
<string id="SettingsWidgetStart">(Само за джаджа) Автоматично стартирайте приложението от джаджата, без да чакате докосване.</string>
<string id="SettingsEnableBatteryLevel">Активирайте услугата на заден план, за да изпраща данни за нивото на батерията на устройството, местоположението и (ако се поддържа) за дейността до Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Честотата на опресняване (в минути), с която фоновата услуга трябва да повтори изпращането на данни.</string>
<string id="WebhookId">(Само за четене) Идентификаторът на Webhook, създаден от устройството за актуализации на фонови услуги. Може да ви е необходимо това за отстраняване на грешки.</string>
</strings>

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Distributed under MIT Licence
See https://github.com/house-of-abbey/GarminHomeAssistantWidget/blob/main/LICENSE.
GarminHomeAssistantWidget is a Garmin IQ widget written in Monkey C. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistantWidget.
P A Abbey & J D Abbey & Someone0nEarth, 15 April 2024
-->
<!--
Corrections for the Czech language
Opravy pro český jazyk
-->
<strings>
<string id="Confirm">Určitě?</string>
<string id="Available">Dostupné</string>
<string id="GlanceMenu">Menu</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Tak určitě?</string>
<string id="Executed" scope="glance">Potvrzeno</string>
<string id="NoPhone" scope="glance">Žádné telefonní spojení</string>
<string id="NoInternet">Žádné internetové připojení</string>
<string id="NoResponse">Žádná odpověď, zkontrolujte připojení k internetu</string>
<string id="NoAPIKey" scope="glance">V nastavení aplikace není žádný klíč API</string>
<string id="NoApiUrl" scope="glance">V nastavení aplikace není žádná adresa URL API</string>
<string id="NoConfigUrl" scope="glance">V nastavení aplikace není žádná konfigurační URL</string>
<string id="ApiFlood">Příliš rychlá volání API. Zpomalte prosím své požadavky.</string>
<string id="ApiUrlNotFound">Adresa URL nenalezena. Potenciální chyba adresy URL rozhraní API v nastavení.</string>
<string id="ConfigUrlNotFound">Adresa URL nenalezena. Potenciální chyba konfigurační adresy URL v nastavení.</string>
<string id="NoJson">Z požadavku HTTP se nevrátil žádný JSON.</string>
<string id="UnhandledHttpErr">Požadavek HTTP vrátil kód chyby =</string>
<string id="TrailingSlashErr">Adresa URL rozhraní API nesmí mít koncové lomítko „/“</string>
<string id="WebhookFailed">Registrace Webhooku se nezdařila</string>
<string id="TemplateError">Vykreslení šablony se nezdařilo</string>
<string id="Available" scope="glance">Dostupný</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Dostupné</string>
<string id="Cached" scope="glance">Uloženo do mezipaměti</string>
<string id="Checking" scope="glance">Kontrola...</string>
<string id="ConfigUrlNotFound">Adresa URL nenalezena. Potenciální chyba konfigurační adresy URL v nastavení.</string>
<string id="Confirm">Určitě?</string>
<string id="Empty">Prázdný</string>
<string id="Executed" scope="glance">Potvrzeno</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Paměť</string>
<string id="NoAPIKey" scope="glance">V nastavení aplikace není žádný klíč API.</string>
<string id="NoApiUrl" scope="glance">V nastavení aplikace není žádná adresa URL API.</string>
<string id="NoConfigUrl" scope="glance">V nastavení aplikace není žádná konfigurační URL.</string>
<string id="NoInternet">Žádné připojení k internetu.</string>
<string id="NoJson">Z požadavku HTTP se nevrátil žádný JSON.</string>
<string id="NoPhone" scope="glance">Žádné telefonní spojení.</string>
<string id="NoResponse">Žádná odpověď, zkontrolujte připojení k internetu</string>
<string id="PinInputLocked">Vstup PIN uzamčen pro</string>
<string id="PotentialError">Potenciální chyba</string>
<string id="Seconds">sekundy</string>
<string id="TemplateError">Chyba šablony</string>
<string id="TrailingSlashErr">Adresa URL rozhraní API nesmí mít na konci lomítko „/“.</string>
<string id="Unavailable" scope="glance">Není k dispozici</string>
<string id="Unconfigured" scope="glance">Nenakonfigurováno</string>
<string id="Cached" scope="glance">Uloženo do mezipaměti</string>
<string id="GlanceMenu" scope="glance">Jídelní lístek</string>
<string id="Memory" scope="glance">Paměť</string>
<!-- Pro nastavení GUI -->
<string id="UnhandledHttpErr">Požadavek HTTP vrátil kód chyby =</string>
<string id="WebhookFailed">Registrace Webhooku se nezdařila</string>
<string id="WrongPin">Chybný PIN</string>
<!-- Pro nastavení GUI by řetězce měly být v pořadí, v jakém se používají. -->
<string id="SettingsSelect">Vybrat...</string>
<string id="SettingsApiKey">Klíč API pro HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Přístupový token s dlouhou životností.</string>
<string id="SettingsApiUrl">URL pro HomeAssistant API.</string>
<string id="SettingsConfigUrl">Adresa URL pro konfiguraci nabídky (JSON).</string>
<string id="SettingsCacheConfig">Má aplikace uložit konfiguraci nabídky do mezipaměti?</string>
<string id="SettingsClearCache">Měla by aplikace příště vymazat stávající mezipaměť
začal?</string>
<string id="SettingsAppTimeout">Časový limit v sekundách. Po uplynutí této doby aplikaci ukončete
nečinnosti, aby se šetřila baterie zařízení.</string>
<string id="SettingsConfirmTimeout">Po uplynutí této doby (v sekundách) se zobrazí potvrzovací dialog pro
akce se automaticky zavře a akce se zruší. Nastavením na 0 deaktivujete časový limit.</string>
<string id="SettingsClearCache">Měla by aplikace při příštím spuštění vymazat stávající mezipaměť?</string>
<string id="SettingsVibration">Měla by aplikace poskytovat zpětnou vazbu prostřednictvím vibrací?</string>
<string id="SettingsAppTimeout">Časový limit v sekundách. Po této době nečinnosti aplikaci ukončete, abyste šetřili baterii zařízení.</string>
<string id="SettingsPollDelay">Dodatečné zpoždění dotazování (v sekundách). Přidá prodlevu mezi aktualizací stavu všech položek nabídky.</string>
<string id="SettingsConfirmTimeout">Po uplynutí této doby (v sekundách) se dialog pro potvrzení akce automaticky zavře a akce se zruší. Nastavením na 0 deaktivujete časový limit.</string>
<string id="SettingsPin">4místný PIN pro všechny akce, které vyžadují potvrzení (0000-9999).</string>
<string id="SettingsPinError">Nakonfigurujte v nastavení aplikace platný čtyřmístný číselný kód PIN mezi 0000 a 9999.</string>
<string id="SettingsTextAlign">Zarovnání nabídky vlevo (vypnuto) nebo vpravo (zapnuto).</string>
<string id="LeftToRight">Zleva do prava</string>
<string id="LeftToRight">Zleva doprava</string>
<string id="RightToLeft">Zprava doleva</string>
<string id="SettingsWidgetStart">(Pouze widget) Automaticky spustit aplikaci z widgetu
bez čekání na klepnutí.</string>
<string id="SettingsEnableBatteryLevel">Povolte službu na pozadí pro odeslání baterie hodin
úroveň na Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Obnovovací frekvence (v minutách), při které je pozadí
servis by měl zopakovat odeslání stavu baterie.</string>
<string id="WebhookId">(Pouze pro čtení) ID webhooku vytvořené hodinkami pro aktualizace úrovně baterie.
Možná to budete potřebovat pro ladění.</string>
<string id="SettingsWidgetStart">(Pouze widget) Automaticky spusťte aplikaci z widgetu bez čekání na klepnutí.</string>
<string id="SettingsEnableBatteryLevel">Povolte službu na pozadí pro odesílání údajů o stavu baterie, poloze a (pokud je podporováno) o aktivitě zařízení Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Obnovovací frekvence (v minutách), při které by služba na pozadí měla opakovat odesílání dat.</string>
<string id="WebhookId">(Pouze pro čtení) ID Webhooku vytvořené zařízením pro aktualizace služby na pozadí. Možná to budete potřebovat pro ladění.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Jo da?</string>
<string id="Executed" scope="glance">Bekræftet</string>
<string id="NoPhone" scope="glance">Ingen telefonforbindelse</string>
<string id="NoInternet">Ingen internetforbindelse</string>
<string id="NoResponse">Intet svar, tjek internetforbindelse</string>
<string id="NoAPIKey" scope="glance">Ingen API-nøgle i applikationsindstillingerne</string>
<string id="NoApiUrl" scope="glance">Ingen API-URL i applikationsindstillingerne</string>
<string id="NoConfigUrl" scope="glance">Ingen konfigurations-URL i applikationsindstillingerne</string>
<string id="ApiFlood">API-kald for hurtigt. Sænk venligst dine anmodninger.</string>
<string id="ApiUrlNotFound">URL ikke fundet. Potentiel API URL-fejl i indstillinger.</string>
<string id="ConfigUrlNotFound">URL ikke fundet. Potentiel konfigurations-URL-fejl i indstillinger.</string>
<string id="NoJson">Ingen JSON returneret fra HTTP-anmodning.</string>
<string id="UnhandledHttpErr">HTTP-anmodning returnerede fejlkode =</string>
<string id="TrailingSlashErr">API URL må ikke have en efterfølgende skråstreg '/'</string>
<string id="WebhookFailed">Kunne ikke registrere Webhook</string>
<string id="TemplateError">Skabelonen kunne ikke gengives</string>
<string id="Available" scope="glance">Ledig</string>
<string id="Checking" scope="glance">Tjekker...</string>
<string id="Unavailable" scope="glance">Ikke tilgængelig</string>
<string id="Unconfigured" scope="glance">Ukonfigureret</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Tilgængelig</string>
<string id="Cached" scope="glance">Cachelagret</string>
<string id="Checking" scope="glance">Tjekker...</string>
<string id="ConfigUrlNotFound">URL ikke fundet. Potentiel konfigurations-URL-fejl i indstillinger.</string>
<string id="Confirm">Sikker?</string>
<string id="Empty">Tom</string>
<string id="Executed" scope="glance">Bekræftet</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Hukommelse</string>
<!-- Til indstillingerne GUI -->
<string id="SettingsSelect">Vælg...</string>
<string id="NoAPIKey" scope="glance">Ingen API-nøgle i applikationsindstillingerne.</string>
<string id="NoApiUrl" scope="glance">Ingen API-URL i applikationsindstillingerne.</string>
<string id="NoConfigUrl" scope="glance">Ingen konfigurations-URL i applikationsindstillingerne.</string>
<string id="NoInternet">Ingen internetforbindelse.</string>
<string id="NoJson">Ingen JSON returneret fra HTTP-anmodning.</string>
<string id="NoPhone" scope="glance">Ingen telefonforbindelse.</string>
<string id="NoResponse">Intet svar, tjek internetforbindelse</string>
<string id="PinInputLocked">PIN-indtastning låst for</string>
<string id="PotentialError">Potentiel fejl</string>
<string id="Seconds">sekunder</string>
<string id="TemplateError">Skabelonfejl</string>
<string id="TrailingSlashErr">API-URL må ikke have en efterfølgende skråstreg '/'.</string>
<string id="Unavailable" scope="glance">Ikke tilgængelig</string>
<string id="Unconfigured" scope="glance">Ukonfigureret</string>
<string id="UnhandledHttpErr">HTTP-anmodning returnerede fejlkode =</string>
<string id="WebhookFailed">Kunne ikke registrere Webhook</string>
<string id="WrongPin">Forkert pinkode</string>
<!-- For indstillingerne GUI skal strenge være i den rækkefølge, de bruges. -->
<string id="SettingsSelect">Vælge...</string>
<string id="SettingsApiKey">API-nøgle til HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Adgangstoken med lang levetid.</string>
<string id="SettingsApiUrl">URL til HomeAssistant API.</string>
<string id="SettingsConfigUrl">URL til menukonfiguration (JSON).</string>
<string id="SettingsCacheConfig">Skal applikationen cache menukonfigurationen?</string>
<string id="SettingsClearCache">Skal applikationen rydde den eksisterende cache næste gang
startede?</string>
<string id="SettingsAppTimeout">Timeout i sekunder. Afslut ansøgningen efter denne periode
inaktivitet for at spare enhedens batteri.</string>
<string id="SettingsConfirmTimeout">Efter dette tidspunkt (i sekunder) vises en bekræftelsesdialog for en
handlingen lukkes automatisk, og handlingen annulleres. Indstil til 0 for at deaktivere timeout.</string>
<string id="SettingsClearCache">Skal applikationen rydde den eksisterende cache næste gang den startes?</string>
<string id="SettingsVibration">Skal applikationen give feedback via vibrationer?</string>
<string id="SettingsAppTimeout">Timeout i sekunder. Afslut applikationen efter denne periode med inaktivitet for at spare på enhedens batteri.</string>
<string id="SettingsPollDelay">Yderligere afstemningsforsinkelse (i sekunder). Tilføjer en forsinkelse mellem statusopdatering af alle menupunkter.</string>
<string id="SettingsConfirmTimeout">Efter dette tidspunkt (i sekunder) lukkes en bekræftelsesdialog for en handling automatisk, og handlingen annulleres. Indstil til 0 for at deaktivere timeout.</string>
<string id="SettingsPin">4-cifret PIN-kode, der skal bruges til alle handlinger, der kræver bekræftelse (0000-9999).</string>
<string id="SettingsPinError">Konfigurer venligst en gyldig 4-cifret numerisk PIN-kode mellem 0000 og 9999 i applikationsindstillingerne.</string>
<string id="SettingsTextAlign">Venstre (fra) eller Højre (til) menujustering.</string>
<string id="LeftToRight">Venstre til højre</string>
<string id="LeftToRight">Venstre mod højre</string>
<string id="RightToLeft">Højre til venstre</string>
<string id="SettingsWidgetStart">(Kun widget) Start automatisk programmet fra widgetten
uden at vente på et tryk.</string>
<string id="SettingsEnableBatteryLevel">Aktiver baggrundstjenesten for at sende urets batteri
niveau til Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Opdateringshastigheden (i minutter), som baggrunden
tjenesten skal gentage afsendelsen af batteriniveauet.</string>
<string id="WebhookId">(Skrivebeskyttet) Webhook-id'et oprettet af uret til opdateringer af batteriniveau.
Du kan kræve dette til fejlretning.</string>
<string id="SettingsWidgetStart">(Kun widget) Start automatisk applikationen fra widgetten uden at vente på et tryk.</string>
<string id="SettingsEnableBatteryLevel">Aktiver baggrundstjenesten for at sende enhedens batteriniveau, placering og (hvis understøttet) aktivitetsdata til Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Opdateringshastigheden (i minutter), hvormed baggrundstjenesten skal gentage afsendelse af data.</string>
<string id="WebhookId">(Skrivebeskyttet) Webhook-id'et oprettet af enheden til baggrundstjenesteopdateringer. Du kan kræve dette til fejlretning.</string>
</strings>

View File

@ -20,4 +20,31 @@
<strings>
<string id="UnhandledHttpErr">Die HTTP-Anfrage gab folgenden Fehlercode zurück = </string>
<string id="ConfigUrlNotFound">URL nicht gefunden. Möglicherweise falsche Konfigurations-URL in den Einstellungen.</string>
<string id="TemplateError">Template konnte nicht gerendert werden</string>
<string id="Available" scope="glance">OK</string>
<string id="Checking" scope="glance">Prüfe...</string>
<string id="Unconfigured" scope="glance">Nicht konfiguriert</string>
<string id="Cached" scope="glance">gecacht</string>
<string id="GlanceMenu" scope="glance">Menü</string>
<string id="Memory" scope="glance">Speicher</string>
<!-- Für die Einstellungs-GUI -->
<string id="SettingsApiUrl">URL der HomeAssistant-API.</string>
<string id="SettingsConfigUrl">URL der Menükonfiguration (JSON).</string>
<string id="SettingsCacheConfig">Soll die Anwendung die Menükonfiguration cachen?</string>
<string id="SettingsClearCache">Soll die Anwendung beim nächsten Start den vorhandenen Cache löschen?</string>
<string id="SettingsAppTimeout">Die App wird nach Ablauf der Zeit (in Sekunden) bei Inaktivität beendet, um den Akku
des Geräts zu schonen.</string>
<string id="SettingsConfirmTimeout">Nach dieser Zeit (in Sekunden) wird der Bestätigungsdialog einer Aktion geschlossen und die
Aktion abgebrochen. Auf 0 setzen, um den Timeout zu deaktivieren.</string>
<string id="SettingsPin">4-stellige PIN für alle Actions mit 'confirm': true (0000-9999).</string>
<string id="SettingsPinError">Bitte eine gültige 4-stellige numerische PIN in den App Einstellungen eingeben (0000-9999).</string>
<string id="SettingsWidgetStart">(Nur Widget) Anwendung automatisch über das Widget starten ohne drauftippen zu müssen.</string>
<string id="SettingsEnableBatteryLevel">Hintergrunddienst aktivieren, um den Ladezustand der Batterie an HomeAssistant zu senden.</string>
<string id="SettingsBatteryLevelRefreshRate">Die Aktualisierungsrate (in Minuten) mit der der Ladezustand der Batterie
an HomeAssistant gesendet wird.</string>
<string id="WebhookId">(Schreibgeschützt) Die von der Uhr erstellte Webhook-ID für Aktualisierungen des Ladezustands der Batterie.
Möglicherweise wird dies zum Debuggen benötigt.</string>
</strings>

View File

@ -15,56 +15,62 @@
<!--
Generated by Google Translate: English to German
Erstellt durch Google Translate aus dem Englischen
Generiert von Google Translate aus dem Englischen
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Sicher?</string>
<string id="Executed" scope="glance">Bestätigt</string>
<string id="NoPhone" scope="glance">Keine Telefonverbindung</string>
<string id="NoInternet">Keine Internetverbindung</string>
<string id="NoResponse">Keine Antwort, überprüfen Sie die Internetverbindung</string>
<string id="NoAPIKey" scope="glance">Kein API-Schlüssel in den Anwendungseinstellungen</string>
<string id="NoApiUrl" scope="glance">Keine API-URL in den Anwendungseinstellungen</string>
<string id="NoConfigUrl" scope="glance">Keine Konfigurations-URL in den Anwendungseinstellungen</string>
<string id="ApiFlood">API-Aufrufe zu schnell. Bitte verlangsamen Sie Ihre Anfragen.</string>
<string id="ApiUrlNotFound">URL nicht gefunden. Möglicher API-URL-Fehler in den Einstellungen.</string>
<string id="ConfigUrlNotFound">URL nicht gefunden. Möglicher Konfigurations-URL-Fehler in den Einstellungen.</string>
<string id="NoJson">Von der HTTP-Anfrage wurde kein JSON zurückgegeben.</string>
<string id="UnhandledHttpErr">Die HTTP-Anfrage gab folgenden Fehlercode zurück = </string>
<string id="TrailingSlashErr">Die API-URL darf keinen abschließenden Schrägstrich „/“ enthalten.</string>
<string id="WebhookFailed">Webhook konnte nicht registriert werden</string>
<string id="TemplateError">Vorlage konnte nicht gerendert werden</string>
<string id="Available" scope="glance">Verfügbar</string>
<string id="Checking" scope="glance">Überprüfung...</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">OK</string>
<string id="Cached" scope="glance">gecacht</string>
<string id="Checking" scope="glance">Prüfe...</string>
<string id="ConfigUrlNotFound">URL nicht gefunden. Möglicherweise falsche Konfigurations-URL in den Einstellungen.</string>
<string id="Confirm">Sicher?</string>
<string id="Empty">Leer</string>
<string id="Executed" scope="glance">Bestätigt</string>
<string id="GlanceMenu" scope="glance">Menü</string>
<string id="Memory" scope="glance">Speicher</string>
<string id="NoAPIKey" scope="glance">Kein API-Schlüssel in den Anwendungseinstellungen.</string>
<string id="NoApiUrl" scope="glance">Keine API-URL in den Anwendungseinstellungen.</string>
<string id="NoConfigUrl" scope="glance">Keine Konfigurations-URL in den Anwendungseinstellungen.</string>
<string id="NoInternet">Keine Internetverbindung.</string>
<string id="NoJson">Von der HTTP-Anforderung wurde kein JSON zurückgegeben.</string>
<string id="NoPhone" scope="glance">Keine Telefonverbindung.</string>
<string id="NoResponse">Keine Antwort, überprüfen Sie die Internetverbindung</string>
<string id="PinInputLocked">PIN-Eingabe gesperrt für</string>
<string id="PotentialError">Möglicher Fehler</string>
<string id="Seconds">Sekunden</string>
<string id="TemplateError">Template konnte nicht gerendert werden</string>
<string id="TrailingSlashErr">Die API-URL darf keinen Schrägstrich „/“ am Ende haben.</string>
<string id="Unavailable" scope="glance">Nicht verfügbar</string>
<string id="Unconfigured" scope="glance">Unkonfiguriert</string>
<string id="Cached" scope="glance">Zwischengespeichert</string>
<string id="GlanceMenu" scope="glance">Speisekarte</string>
<string id="Memory" scope="glance">Erinnerung</string>
<!-- Für die Einstellungs-GUI -->
<string id="Unconfigured" scope="glance">Nicht konfiguriert</string>
<string id="UnhandledHttpErr">Die HTTP-Anfrage gab folgenden Fehlercode zurück = </string>
<string id="WebhookFailed">Webhook konnte nicht registriert werden</string>
<string id="WrongPin">Falsche PIN</string>
<!-- Für die GUI mit den Einstellungen sollten die Zeichenfolgen in der Reihenfolge angegeben werden, in der sie verwendet werden. -->
<string id="SettingsSelect">Wählen...</string>
<string id="SettingsApiKey">API-Schlüssel für HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Langlebiges Zugriffstoken.</string>
<string id="SettingsApiUrl">URL für die HomeAssistant-API.</string>
<string id="SettingsConfigUrl">URL zur Menükonfiguration (JSON).</string>
<string id="SettingsCacheConfig">Soll die Anwendung die Menükonfiguration zwischenspeichern?</string>
<string id="SettingsClearCache">Sollte die Anwendung beim nächsten Mal den vorhandenen Cache löschen?
gestartet?</string>
<string id="SettingsAppTimeout">Timeout in Sekunden. Beenden Sie die Anwendung nach Ablauf dieser Frist
Inaktivität, um den Akku des Geräts zu schonen.</string>
<string id="SettingsConfirmTimeout">Nach dieser Zeit (in Sekunden) erscheint ein Bestätigungsdialog für eine
Die Aktion wird automatisch geschlossen und die Aktion abgebrochen. Auf 0 setzen, um das Timeout zu deaktivieren.</string>
<string id="SettingsApiKeyPrompt">Langlebiger Zugriffstoken.</string>
<string id="SettingsApiUrl">URL der HomeAssistant-API.</string>
<string id="SettingsConfigUrl">URL der Menükonfiguration (JSON).</string>
<string id="SettingsCacheConfig">Soll die Anwendung die Menükonfiguration cachen?</string>
<string id="SettingsClearCache">Soll die Anwendung beim nächsten Start den vorhandenen Cache löschen?</string>
<string id="SettingsVibration">Soll die Anwendung eine Rückmeldung über Vibrationen geben?</string>
<string id="SettingsAppTimeout">Die App wird nach Ablauf der Zeit (in Sekunden) bei Inaktivität beendet, um den Akku
des Geräts zu schonen.</string>
<string id="SettingsPollDelay">Zusätzliche Abfrageverzögerung (in Sekunden). Fügt eine Verzögerung zwischen der Statusaktualisierung aller Menüelemente hinzu.</string>
<string id="SettingsConfirmTimeout">Nach dieser Zeit (in Sekunden) wird der Bestätigungsdialog einer Aktion geschlossen und die
Aktion abgebrochen. Auf 0 setzen, um den Timeout zu deaktivieren.</string>
<string id="SettingsPin">4-stellige PIN für alle Actions mit 'confirm': true (0000-9999).</string>
<string id="SettingsPinError">Bitte eine gültige 4-stellige numerische PIN in den App Einstellungen eingeben (0000-9999).</string>
<string id="SettingsTextAlign">Menüausrichtung links (aus) oder rechts (ein).</string>
<string id="LeftToRight">Links nach rechts</string>
<string id="RightToLeft">Rechts nach links</string>
<string id="SettingsWidgetStart">(Nur Widget) Starten Sie die Anwendung automatisch über das Widget
ohne auf einen Fingertipp warten zu müssen.</string>
<string id="SettingsEnableBatteryLevel">Aktivieren Sie den Hintergrunddienst, um die Uhrbatterie zu senden
Ebene zum Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Die Aktualisierungsrate (in Minuten), mit der der Hintergrund angezeigt wird
Der Service sollte das Senden des Batteriestands wiederholen.</string>
<string id="WebhookId">(Schreibgeschützt) Die von der Uhr erstellte Webhook-ID für Aktualisierungen des Batteriestands.
Möglicherweise benötigen Sie dies zum Debuggen.</string>
<string id="LeftToRight">Von links nach rechts</string>
<string id="RightToLeft">Von rechts nach links</string>
<string id="SettingsWidgetStart">(Nur Widget) Anwendung automatisch über das Widget starten ohne drauftippen zu müssen.</string>
<string id="SettingsEnableBatteryLevel">Hintergrunddienst aktivieren, um den Ladezustand der Batterie an HomeAssistant zu senden.</string>
<string id="SettingsBatteryLevelRefreshRate">Die Aktualisierungsrate (in Minuten) mit der der Ladezustand der Batterie
an HomeAssistant gesendet wird.</string>
<string id="WebhookId">(Schreibgeschützt) Die von der Uhr erstellte Webhook-ID für Aktualisierungen des Ladezustands der Batterie.
Möglicherweise wird dies zum Debuggen benötigt.</string>
</strings>

View File

@ -15,56 +15,58 @@
<!--
Generated by Google Translate: English to Dutch
Gegenereerd door Google Translate uit het Engels
Gemaakt door Google Translate uit het Engels
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Zeker?</string>
<string id="Executed" scope="glance">Bevestigd</string>
<string id="NoPhone" scope="glance">Geen telefoonverbinding</string>
<string id="NoInternet">Geen internet verbinding</string>
<string id="NoResponse">Geen reactie, controleer de internetverbinding</string>
<string id="NoAPIKey" scope="glance">Geen API-sleutel in de applicatie-instellingen</string>
<string id="NoApiUrl" scope="glance">Geen API-URL in de applicatie-instellingen</string>
<string id="NoConfigUrl" scope="glance">Geen configuratie-URL in de applicatie-instellingen</string>
<string id="ApiFlood">API-aanroepen te snel. Vertraag uw verzoeken.</string>
<string id="ApiUrlNotFound">URL niet gevonden. Mogelijke API-URL-fout in instellingen.</string>
<string id="ConfigUrlNotFound">URL niet gevonden. Mogelijke configuratie-URL-fout in de instellingen.</string>
<string id="NoJson">Er is geen JSON geretourneerd door een HTTP-verzoek.</string>
<string id="UnhandledHttpErr">HTTP-verzoek retourneerde foutcode =</string>
<string id="TrailingSlashErr">API-URL mag geen afsluitende slash '/' bevatten</string>
<string id="WebhookFailed">Registreren van Webhook is mislukt</string>
<string id="TemplateError">Kan de sjabloon niet weergeven</string>
<string id="ApiUrlNotFound">URL niet gevonden. Mogelijke API URL-fout in instellingen.</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Beschikbaar</string>
<string id="Cached" scope="glance">Gecached</string>
<string id="Checking" scope="glance">Controleren...</string>
<string id="Unavailable" scope="glance">Niet beschikbaar</string>
<string id="Unconfigured" scope="glance">Niet geconfigureerd</string>
<string id="Cached" scope="glance">In cache opgeslagen</string>
<string id="ConfigUrlNotFound">URL niet gevonden. Mogelijke configuratie-URL-fout in instellingen.</string>
<string id="Confirm">Zeker?</string>
<string id="Empty">Leeg</string>
<string id="Executed" scope="glance">Bevestigd</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Geheugen</string>
<!-- Voor de instellingen GUI -->
<string id="NoAPIKey" scope="glance">Geen API-sleutel in de applicatie-instellingen.</string>
<string id="NoApiUrl" scope="glance">Geen API-URL in de applicatie-instellingen.</string>
<string id="NoConfigUrl" scope="glance">Geen configuratie-URL in de applicatie-instellingen.</string>
<string id="NoInternet">Geen internetverbinding.</string>
<string id="NoJson">Er is geen JSON geretourneerd vanuit de HTTP-aanvraag.</string>
<string id="NoPhone" scope="glance">Geen telefoonverbinding.</string>
<string id="NoResponse">Geen reactie, controleer internetverbinding</string>
<string id="PinInputLocked">PIN-invoer vergrendeld voor</string>
<string id="PotentialError">Mogelijke fout</string>
<string id="Seconds">seconden</string>
<string id="TemplateError">Sjabloonfout</string>
<string id="TrailingSlashErr">De API-URL mag geen afsluitende slash ('/') bevatten.</string>
<string id="Unavailable" scope="glance">Niet beschikbaar</string>
<string id="Unconfigured" scope="glance">Niet geconfigureerd</string>
<string id="UnhandledHttpErr">HTTP-aanvraag retourneerde foutcode =</string>
<string id="WebhookFailed">Webhook registreren mislukt</string>
<string id="WrongPin">Verkeerde pincode</string>
<!-- Voor de instellingen van de GUI moeten de strings in de volgorde staan waarin ze worden gebruikt. -->
<string id="SettingsSelect">Selecteer...</string>
<string id="SettingsApiKey">API-sleutel voor HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Toegangstoken met lange levensduur.</string>
<string id="SettingsApiKeyPrompt">Langlevende toegangstoken.</string>
<string id="SettingsApiUrl">URL voor HomeAssistant API.</string>
<string id="SettingsConfigUrl">URL voor menuconfiguratie (JSON).</string>
<string id="SettingsCacheConfig">Moet de applicatie de menuconfiguratie in de cache opslaan?</string>
<string id="SettingsClearCache">Moet de toepassing de volgende keer de bestaande cache wissen?
begonnen?</string>
<string id="SettingsAppTimeout">Time-out in seconden. Sluit de applicatie na deze periode af
inactiviteit om de batterij van het apparaat te sparen.</string>
<string id="SettingsConfirmTimeout">Na deze tijd (in seconden) verschijnt er een bevestigingsvenster voor een
actie wordt automatisch gesloten en de actie wordt geannuleerd. Stel in op 0 om de time-out uit te schakelen.</string>
<string id="SettingsTextAlign">Links (uit) of rechts (aan) Menu-uitlijning.</string>
<string id="SettingsCacheConfig">Moet de applicatie de menuconfiguratie cachen?</string>
<string id="SettingsClearCache">Moet de applicatie de bestaande cache wissen wanneer deze de volgende keer wordt gestart?</string>
<string id="SettingsVibration">Moet de applicatie feedback geven via trillingen?</string>
<string id="SettingsAppTimeout">Time-out in seconden. Sluit de applicatie na deze periode van inactiviteit om de batterij van het apparaat te sparen.</string>
<string id="SettingsPollDelay">Extra pollvertraging (in seconden). Voegt een vertraging toe tussen de statusupdate van alle menu-items.</string>
<string id="SettingsConfirmTimeout">Na deze tijd (in seconden) wordt een bevestigingsdialoog voor een actie automatisch gesloten en wordt de actie geannuleerd. Stel in op 0 om de time-out uit te schakelen.</string>
<string id="SettingsPin">4-cijferige pincode die gebruikt moet worden voor alle handelingen die bevestiging vereisen (0000-9999).</string>
<string id="SettingsPinError">Configureer een geldige 4-cijferige pincode tussen 0000 en 9999 in de applicatie-instellingen.</string>
<string id="SettingsTextAlign">Menu-uitlijning links (uit) of rechts (aan).</string>
<string id="LeftToRight">Van links naar rechts</string>
<string id="RightToLeft">Rechts naar links</string>
<string id="SettingsWidgetStart">(Alleen Widget) Start de applicatie automatisch vanuit de widget
zonder te wachten op een tikje.</string>
<string id="SettingsEnableBatteryLevel">Schakel de achtergrondservice in om de klokbatterij te verzenden
niveau naar Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">De vernieuwingsfrequentie (in minuten) waarmee de achtergrond wordt weergegeven
service moet het batterijniveau opnieuw verzenden.</string>
<string id="WebhookId">(Alleen-lezen) De Webhook-ID die door het horloge is aangemaakt voor updates van het batterijniveau.
Mogelijk hebt u dit nodig voor foutopsporing.</string>
<string id="RightToLeft">Van rechts naar links</string>
<string id="SettingsWidgetStart">(Alleen widget) Start de applicatie automatisch vanuit de widget zonder te wachten op een tik.</string>
<string id="SettingsEnableBatteryLevel">Schakel de achtergrondservice in om het batterijniveau, de locatie en (indien ondersteund) activiteitsgegevens van het apparaat naar Home Assistant te sturen.</string>
<string id="SettingsBatteryLevelRefreshRate">De vernieuwingsfrequentie (in minuten) waarmee de achtergrondservice het verzenden van gegevens moet herhalen.</string>
<string id="WebhookId">(Alleen-lezen) De webhook-ID die door het apparaat is gemaakt voor achtergrondservice-updates. U hebt deze mogelijk nodig voor foutopsporing.</string>
</strings>

View File

@ -15,56 +15,58 @@
<!--
Generated by Google Translate: English to Estonian
Inglise keelest loodud Google'i tõlke abil
Loodud Google'i tõlke abil inglise keelest
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Muidugi?</string>
<string id="Executed" scope="glance">Kinnitatud</string>
<string id="NoPhone" scope="glance">Telefoniühendus puudub</string>
<string id="NoInternet">Interneti-ühendus puudub</string>
<string id="NoResponse">Ei reageeri, kontrollige Interneti-ühendust</string>
<string id="NoAPIKey" scope="glance">Rakenduse seadetes pole API-võtit</string>
<string id="NoApiUrl" scope="glance">Rakenduse seadetes pole API URL-i</string>
<string id="NoConfigUrl" scope="glance">Rakenduse seadetes pole konfiguratsiooni URL-i</string>
<string id="ApiFlood">API-kutsed liiga kiired. Palun aeglustage oma taotlusi.</string>
<string id="ApiFlood">API-kutsed liiga kiired. Palun aeglustage taotluste esitamist.</string>
<string id="ApiUrlNotFound">URL-i ei leitud. Võimalik API URL-i viga seadetes.</string>
<string id="ConfigUrlNotFound">URL-i ei leitud. Võimalik konfiguratsiooni URL-i viga seadetes.</string>
<string id="NoJson">HTTP-päringust ei tagastatud ühtegi JSON-i.</string>
<string id="UnhandledHttpErr">HTTP päring tagastas veakoodi =</string>
<string id="TrailingSlashErr">API URL-i lõpus ei tohi olla kaldkriipsu „/”</string>
<string id="WebhookFailed">Webhaoki registreerimine ebaõnnestus</string>
<string id="TemplateError">Malli renderdamine ebaõnnestus</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Saadaval</string>
<string id="Checking" scope="glance">Kontrollimine...</string>
<string id="Unavailable" scope="glance">Pole saadaval</string>
<string id="Unconfigured" scope="glance">Konfigureerimata</string>
<string id="Cached" scope="glance">Vahemällu salvestatud</string>
<string id="Checking" scope="glance">Kontrollimine...</string>
<string id="ConfigUrlNotFound">URL-i ei leitud. Võimalik konfiguratsiooni URL-i viga seadetes.</string>
<string id="Confirm">Muidugi?</string>
<string id="Empty">Tühi</string>
<string id="Executed" scope="glance">Kinnitatud</string>
<string id="GlanceMenu" scope="glance">Menüü</string>
<string id="Memory" scope="glance">Mälu</string>
<!-- Seadete GUI jaoks -->
<string id="NoAPIKey" scope="glance">Rakenduse seadetes pole API-võtit.</string>
<string id="NoApiUrl" scope="glance">Rakenduse seadetes pole API URL-i.</string>
<string id="NoConfigUrl" scope="glance">Rakenduse seadetes pole konfiguratsiooni URL-i.</string>
<string id="NoInternet">Interneti-ühendus puudub.</string>
<string id="NoJson">HTTP-päringust ei tagastatud ühtegi JSON-i.</string>
<string id="NoPhone" scope="glance">Telefoniühendus puudub.</string>
<string id="NoResponse">Ei reageeri, kontrollige Interneti-ühendust</string>
<string id="PinInputLocked">PIN-i sisestus on lukustatud</string>
<string id="PotentialError">Võimalik viga</string>
<string id="Seconds">sekundit</string>
<string id="TemplateError">Malli viga</string>
<string id="TrailingSlashErr">API URL-i lõpus ei tohi olla kaldkriipsu „/”.</string>
<string id="Unavailable" scope="glance">Pole saadaval</string>
<string id="Unconfigured" scope="glance">Konfigureerimata</string>
<string id="UnhandledHttpErr">HTTP päring tagastas veakoodi =</string>
<string id="WebhookFailed">Webhaoki registreerimine ebaõnnestus</string>
<string id="WrongPin">Vale PIN-kood</string>
<!-- Seadete GUI jaoks peavad stringid olema nende kasutamise järjekorras. -->
<string id="SettingsSelect">Vali...</string>
<string id="SettingsApiKey">API-võti HomeAssistantile.</string>
<string id="SettingsApiKeyPrompt">Pikaealine juurdepääsuluba.</string>
<string id="SettingsApiUrl">HomeAssistant API URL.</string>
<string id="SettingsConfigUrl">URL menüü konfigureerimiseks (JSON).</string>
<string id="SettingsCacheConfig">Kas rakendus peaks menüü konfiguratsiooni vahemällu salvestama?</string>
<string id="SettingsClearCache">Kas rakendus peaks järgmisel korral olemasoleva vahemälu tühjendama
algas?</string>
<string id="SettingsAppTimeout">Aegumine sekundites. Väljuge rakendusest pärast seda perioodi
tegevusetus, et säästa seadme akut.</string>
<string id="SettingsConfirmTimeout">Pärast seda aega (sekundites) kuvatakse kinnitusdialoog an
toiming suletakse automaatselt ja toiming tühistatakse. Ajalõpu keelamiseks määrake väärtusele 0.</string>
<string id="SettingsClearCache">Kas rakendus peaks järgmisel käivitamisel olemasoleva vahemälu tühjendama?</string>
<string id="SettingsVibration">Kas rakendus peaks andma tagasisidet vibratsiooni kaudu?</string>
<string id="SettingsAppTimeout">Aegumine sekundites. Seadme aku säästmiseks sulgege rakendus pärast seda tegevusetusperioodi.</string>
<string id="SettingsPollDelay">Küsitluse täiendav viivitus (sekundites). Lisab viivituse kõigi menüüelementide olekuvärskenduse vahele.</string>
<string id="SettingsConfirmTimeout">Pärast seda aega (sekundites) suletakse automaatselt toimingu kinnitusdialoog ja toiming tühistatakse. Ajalõpu keelamiseks määrake väärtusele 0.</string>
<string id="SettingsPin">4-kohaline PIN-kood, mida kasutatakse kõigi kinnitust vajavate toimingute jaoks (0000-9999).</string>
<string id="SettingsPinError">Seadistage rakenduse seadetes kehtiv 4-kohaline PIN-kood vahemikus 0000 kuni 9999.</string>
<string id="SettingsTextAlign">Vasak (väljas) või parem (sees) menüü joondamine.</string>
<string id="LeftToRight">Vasakult paremale</string>
<string id="RightToLeft">Paremalt vasakule</string>
<string id="SettingsWidgetStart">(Ainult vidin) Käivitage rakendus automaatselt vidinast
puudutust ootamata.</string>
<string id="SettingsEnableBatteryLevel">Kella aku saatmiseks lubage taustteenus
tasemel koduabilisele.</string>
<string id="SettingsBatteryLevelRefreshRate">Värskendussagedus (minutites), mille juures taust
teenindus peaks aku taseme saatmist kordama.</string>
<string id="WebhookId">(Ainult lugemiseks) Kella loodud veebihaagi ID aku taseme värskendamiseks.
Võib-olla vajate seda silumiseks.</string>
<string id="SettingsWidgetStart">(Ainult vidin) Käivitage rakendus automaatselt vidinast ilma puudutust ootamata.</string>
<string id="SettingsEnableBatteryLevel">Lubage taustateenus, et saata Home Assistantile seadme aku tase, asukoht ja (kui see on toetatud) tegevusandmed.</string>
<string id="SettingsBatteryLevelRefreshRate">Värskendussagedus (minutites), millega taustateenus peaks andmete saatmist kordama.</string>
<string id="WebhookId">(Ainult lugemiseks) Seadme loodud veebihaagi ID taustateenuste värskenduste jaoks. Võib-olla vajate seda silumiseks.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Varma?</string>
<string id="Executed" scope="glance">Vahvistettu</string>
<string id="NoPhone" scope="glance">Ei puhelinyhteyttä</string>
<string id="NoInternet">Ei Internet-yhteyttä</string>
<string id="NoResponse">Ei vastausta, tarkista Internet-yhteys</string>
<string id="NoAPIKey" scope="glance">Sovelluksen asetuksissa ei ole API-avainta</string>
<string id="NoApiUrl" scope="glance">Sovellusasetuksissa ei ole API URL-osoitetta</string>
<string id="NoConfigUrl" scope="glance">Sovelluksen asetuksissa ei ole konfigurointi-URL-osoitetta</string>
<string id="ApiFlood">API-kutsut liian nopeita. Hidasta pyyntöjäsi.</string>
<string id="ApiUrlNotFound">URL-osoitetta ei löydy. Mahdollinen API URL -virhe asetuksissa.</string>
<string id="ConfigUrlNotFound">URL-osoitetta ei löydy. Mahdollinen konfigurointi-URL-virhe asetuksissa.</string>
<string id="NoJson">HTTP-pyynnöstä ei palautettu JSON-tiedostoja.</string>
<string id="UnhandledHttpErr">HTTP-pyyntö palautti virhekoodin =</string>
<string id="TrailingSlashErr">API-URL-osoitteessa ei saa olla perässä olevaa kauttaviivaa '/'</string>
<string id="WebhookFailed">Webhookin rekisteröinti epäonnistui</string>
<string id="TemplateError">Mallin renderöinti epäonnistui</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Saatavilla</string>
<string id="Checking" scope="glance">Tarkistetaan...</string>
<string id="Unavailable" scope="glance">Ei saatavilla</string>
<string id="Unconfigured" scope="glance">Määrittämätön</string>
<string id="Cached" scope="glance">Välimuistissa</string>
<string id="Checking" scope="glance">Tarkistetaan...</string>
<string id="ConfigUrlNotFound">URL-osoitetta ei löydy. Mahdollinen konfigurointi-URL-virhe asetuksissa.</string>
<string id="Confirm">Varma?</string>
<string id="Empty">Tyhjä</string>
<string id="Executed" scope="glance">Vahvistettu</string>
<string id="GlanceMenu" scope="glance">Valikko</string>
<string id="Memory" scope="glance">Muisti</string>
<!-- GUI-asetusten osalta -->
<string id="NoAPIKey" scope="glance">Sovelluksen asetuksissa ei ole API-avainta.</string>
<string id="NoApiUrl" scope="glance">Sovellusasetuksissa ei ole API URL-osoitetta.</string>
<string id="NoConfigUrl" scope="glance">Sovelluksen asetuksissa ei ole konfigurointi-URL-osoitetta.</string>
<string id="NoInternet">Ei Internet-yhteyttä.</string>
<string id="NoJson">HTTP-pyynnöstä ei palautettu JSON-tiedostoja.</string>
<string id="NoPhone" scope="glance">Ei puhelinyhteyttä.</string>
<string id="NoResponse">Ei vastausta, tarkista Internet-yhteys</string>
<string id="PinInputLocked">PIN-koodin syöttö lukittu</string>
<string id="PotentialError">Mahdollinen virhe</string>
<string id="Seconds">sekuntia</string>
<string id="TemplateError">Mallivirhe</string>
<string id="TrailingSlashErr">API-URL-osoitteessa ei saa olla perässä olevaa kauttaviivaa '/'.</string>
<string id="Unavailable" scope="glance">Ei saatavilla</string>
<string id="Unconfigured" scope="glance">Määrittämätön</string>
<string id="UnhandledHttpErr">HTTP-pyyntö palautti virhekoodin =</string>
<string id="WebhookFailed">Webhookin rekisteröinti epäonnistui</string>
<string id="WrongPin">Väärä PIN</string>
<!-- Asetuskäyttöliittymässä merkkijonojen tulee olla käyttöjärjestyksessä. -->
<string id="SettingsSelect">Valitse...</string>
<string id="SettingsApiKey">API-avain HomeAssistantille.</string>
<string id="SettingsApiKeyPrompt">Pitkäikäinen pääsytunnus.</string>
<string id="SettingsApiUrl">HomeAssistant API:n URL-osoite.</string>
<string id="SettingsConfigUrl">URL-osoite valikon määrityksiä varten (JSON).</string>
<string id="SettingsCacheConfig">Pitäisikö sovelluksen tallentaa valikon asetukset välimuistiin?</string>
<string id="SettingsClearCache">Pitäisikö sovelluksen tyhjentää olemassa oleva välimuisti seuraavan kerran
alkanut?</string>
<string id="SettingsAppTimeout">Aikakatkaisu sekunneissa. Poistu sovelluksesta tämän ajanjakson jälkeen
käyttämättömyys säästääksesi laitteen akkua.</string>
<string id="SettingsConfirmTimeout">Tämän ajan kuluttua (sekunneissa) vahvistusikkuna an
toiminto suljetaan automaattisesti ja toiminto peruutetaan. Aseta arvoksi 0, jos haluat poistaa aikakatkaisun käytöstä.</string>
<string id="SettingsClearCache">Pitäisikö sovelluksen tyhjentää olemassa oleva välimuisti, kun se käynnistetään seuraavan kerran?</string>
<string id="SettingsVibration">Pitäisikö sovelluksen antaa palautetta tärinän kautta?</string>
<string id="SettingsAppTimeout">Aikakatkaisu sekunneissa. Poistu sovelluksesta tämän käyttämättömyyden jälkeen säästääksesi laitteen akkua.</string>
<string id="SettingsPollDelay">Ylimääräinen kyselyn viive (sekunneissa). Lisää viiveen kaikkien valikkokohtien tilapäivitysten välille.</string>
<string id="SettingsConfirmTimeout">Tämän ajan kuluttua (sekunneissa) toiminnon vahvistusikkuna suljetaan automaattisesti ja toiminto peruutetaan. Aseta arvoksi 0, jos haluat poistaa aikakatkaisun käytöstä.</string>
<string id="SettingsPin">4-numeroinen PIN-koodi, jota käytetään kaikkiin vahvistusta vaativiin toimiin (0000-9999).</string>
<string id="SettingsPinError">Määritä kelvollinen 4-numeroinen numeerinen PIN-koodi väliltä 00009999 sovelluksen asetuksissa.</string>
<string id="SettingsTextAlign">Vasen (pois) tai oikea (päällä) valikon kohdistus.</string>
<string id="LeftToRight">Vasemmalta oikealle</string>
<string id="RightToLeft">Oikealta vasemmalle</string>
<string id="SettingsWidgetStart">(Vain widget) Käynnistä sovellus automaattisesti widgetistä
odottamatta napausta.</string>
<string id="SettingsEnableBatteryLevel">Ota taustapalvelu käyttöön kellon akun lähettämiseksi
tasolle Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Päivitystaajuus (minuutteina), jolla tausta
palvelun pitäisi toistaa akun varaustason lähettäminen.</string>
<string id="WebhookId">(Vain luku) Kellon luoma Webhook-tunnus akun varaustason päivityksiä varten.
Saatat tarvita tätä virheenkorjaukseen.</string>
<string id="SettingsWidgetStart">(Vain widget) Käynnistä sovellus automaattisesti widgetistä odottamatta napautusta.</string>
<string id="SettingsEnableBatteryLevel">Ota taustapalvelu käyttöön, jotta voit lähettää laitteen akun varaustason, sijainnin ja (jos tuettu) toimintatiedot Home Assistantille.</string>
<string id="SettingsBatteryLevelRefreshRate">Virkistystaajuus (minuutteina), jolla taustapalvelun pitäisi toistaa tietojen lähettäminen.</string>
<string id="WebhookId">(Vain luku) Laitteen luoma Webhook-tunnus taustapalvelupäivityksiä varten. Saatat tarvita tätä virheenkorjaukseen.</string>
</strings>

View File

@ -15,56 +15,58 @@
<!--
Generated by Google Translate: English to French
Généré par Google Translate de l'anglais
Généré par Google Translate depuis l'anglais
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Bien sûr?</string>
<string id="Executed" scope="glance">Confirmé</string>
<string id="NoPhone" scope="glance">Pas de connexion téléphonique</string>
<string id="NoInternet">Pas de connexion Internet</string>
<string id="NoResponse">Pas de réponse, vérifiez la connexion Internet</string>
<string id="NoAPIKey" scope="glance">Pas de clé API dans les paramètres de l'application</string>
<string id="NoApiUrl" scope="glance">Aucune URL API dans les paramètres de l'application</string>
<string id="NoConfigUrl" scope="glance">Aucune URL de configuration dans les paramètres de l'application</string>
<string id="ApiFlood">Appels API trop rapide. Veuillez signaler cette erreur avec les détails de l'appareil.</string>
<string id="ApiUrlNotFound">URL introuvable. Erreur potentielle d'URL d'API dans les paramètres.</string>
<string id="ConfigUrlNotFound">URL introuvable. Erreur potentielle d'URL de configuration dans les paramètres.</string>
<string id="NoJson">Aucun JSON renvoyé par la requête HTTP.</string>
<string id="UnhandledHttpErr">La requête HTTP a renvoyé un code d'erreur =</string>
<string id="TrailingSlashErr">L'URL de l'API ne doit pas comporter de barre oblique finale '/'</string>
<string id="WebhookFailed">Échec de l'enregistrement du Webhook</string>
<string id="TemplateError">Échec du rendu du modèle</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Disponible</string>
<string id="Cached" scope="glance">Mis en cache</string>
<string id="Checking" scope="glance">Vérification...</string>
<string id="Unavailable" scope="glance">Indisponible</string>
<string id="Unconfigured" scope="glance">Non configuré</string>
<string id="Cached" scope="glance">En cache</string>
<string id="ConfigUrlNotFound">URL introuvable. Erreur potentielle d'URL de configuration dans les paramètres.</string>
<string id="Confirm">Bien sûr?</string>
<string id="Empty">Vide</string>
<string id="Executed" scope="glance">Confirmé</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Mémoire</string>
<!-- Pour l'interface graphique des paramètres -->
<string id="NoAPIKey" scope="glance">Aucune clé API dans les paramètres de l'application.</string>
<string id="NoApiUrl" scope="glance">Aucune URL API dans les paramètres de l'application.</string>
<string id="NoConfigUrl" scope="glance">Aucune URL de configuration dans les paramètres de l'application.</string>
<string id="NoInternet">Pas de connexion Internet.</string>
<string id="NoJson">Aucun JSON renvoyé par la requête HTTP.</string>
<string id="NoPhone" scope="glance">Pas de connexion téléphonique.</string>
<string id="NoResponse">Aucune réponse, vérifiez la connexion Internet</string>
<string id="PinInputLocked">Entrée du code PIN verrouillée pour</string>
<string id="PotentialError">Erreur potentielle</string>
<string id="Seconds">secondes</string>
<string id="TemplateError">Erreur de modèle</string>
<string id="TrailingSlashErr">L'URL de l'API ne doit pas avoir de barre oblique finale « / ».</string>
<string id="Unavailable" scope="glance">Indisponible</string>
<string id="Unconfigured" scope="glance">Non configuré</string>
<string id="UnhandledHttpErr">La requête HTTP a renvoyé le code d'erreur =</string>
<string id="WebhookFailed">Échec de l'enregistrement du Webhook</string>
<string id="WrongPin">Code PIN incorrect</string>
<!-- Pour l'interface graphique des paramètres, les chaînes doivent être dans l'ordre dans lequel elles sont utilisées. -->
<string id="SettingsSelect">Sélectionner...</string>
<string id="SettingsApiKey">Clé API pour HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Jeton d'accès de longue durée.</string>
<string id="SettingsApiUrl">URL de lAPI HomeAssistant.</string>
<string id="SettingsConfigUrl">URL de configuration des menus (JSON).</string>
<string id="SettingsCacheConfig">L'application doit-elle mettre en cache la configuration du menu ?</string>
<string id="SettingsClearCache">L'application devrait-elle vider le cache existant la prochaine fois
commencé?</string>
<string id="SettingsAppTimeout">Délai d'attente en secondes. Quittez l'application après cette période de
inactivité pour économiser la batterie de l'appareil.</string>
<string id="SettingsConfirmTimeout">Passé ce délai (en secondes), une boîte de dialogue de confirmation pour un
l'action est automatiquement clôturée et l'action est annulée. Réglez sur 0 pour désactiver le délai d'attente.</string>
<string id="SettingsApiKeyPrompt">Jeton d'accès longue durée.</string>
<string id="SettingsApiUrl">URL pour l'API HomeAssistant.</string>
<string id="SettingsConfigUrl">URL pour la configuration du menu (JSON).</string>
<string id="SettingsCacheConfig">L'application doit-elle mettre en cache la configuration du menu ?</string>
<string id="SettingsClearCache">L'application doit-elle vider le cache existant lors de son prochain démarrage ?</string>
<string id="SettingsVibration">L'application doit-elle fournir un retour via des vibrations ?</string>
<string id="SettingsAppTimeout">Délai d'expiration en secondes. Quittez l'application après cette période d'inactivité pour économiser la batterie de l'appareil.</string>
<string id="SettingsPollDelay">Délai d'interrogation supplémentaire (en secondes). Ajoute un délai entre la mise à jour du statut de tous les éléments du menu.</string>
<string id="SettingsConfirmTimeout">Après ce délai (en secondes), une boîte de dialogue de confirmation d'une action est automatiquement fermée et l'action est annulée. Réglez sur 0 pour désactiver le délai d'attente.</string>
<string id="SettingsPin">Code PIN à 4 chiffres à utiliser pour toutes les actions nécessitant une confirmation (0000-9999).</string>
<string id="SettingsPinError">Veuillez configurer un code PIN numérique valide à 4 chiffres entre 0000 et 9999 dans les paramètres de l'application.</string>
<string id="SettingsTextAlign">Alignement du menu à gauche (désactivé) ou à droite (activé).</string>
<string id="LeftToRight">De gauche à droite</string>
<string id="RightToLeft">De droite à gauche</string>
<string id="SettingsWidgetStart">(Widget uniquement) Démarrez automatiquement l'application à partir du widget
sans attendre un robinet.</string>
<string id="SettingsEnableBatteryLevel">Activer le service d'arrière-plan pour envoyer la batterie de l'horloge
niveau à Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Le taux de rafraîchissement (en minutes) auquel l'arrière-plan
Le service doit répéter l'envoi du niveau de la batterie.</string>
<string id="WebhookId">(Lecture seule) L'ID Webhook créé par la montre pour les mises à jour du niveau de batterie.
Vous pourriez en avoir besoin pour le débogage.</string>
<string id="SettingsWidgetStart">(Widget uniquement) Démarrez automatiquement l'application depuis le widget sans attendre un appui.</string>
<string id="SettingsEnableBatteryLevel">Activez le service d'arrière-plan pour envoyer le niveau de batterie de l'appareil, l'emplacement et (si pris en charge) les données d'activité à Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">La fréquence de rafraîchissement (en minutes) à laquelle le service d'arrière-plan doit répéter l'envoi de données.</string>
<string id="WebhookId">(Lecture seule) L'ID Webhook créé par l'appareil pour les mises à jour du service en arrière-plan. Vous pourriez en avoir besoin pour le débogage.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Σίγουρος?</string>
<string id="Executed" scope="glance">Επιβεβαιωμένος</string>
<string id="NoPhone" scope="glance">Δεν υπάρχει σύνδεση τηλεφώνου</string>
<string id="NoInternet">Δεν υπάρχει σύνδεση στο διαδίκτυο</string>
<string id="NoResponse">Καμία απάντηση, ελέγξτε τη σύνδεση στο Διαδίκτυο</string>
<string id="NoAPIKey" scope="glance">Δεν υπάρχει κλειδί API στις ρυθμίσεις της εφαρμογής</string>
<string id="NoApiUrl" scope="glance">Δεν υπάρχει URL API στις ρυθμίσεις της εφαρμογής</string>
<string id="NoConfigUrl" scope="glance">Δεν υπάρχει διεύθυνση URL διαμόρφωσης στις ρυθμίσεις της εφαρμογής</string>
<string id="ApiFlood">Κλήσεις API πολύ γρήγορες. Παρακαλώ επιβραδύνετε τα αιτήματά σας.</string>
<string id="ApiUrlNotFound">Η διεύθυνση URL δεν βρέθηκε. Πιθανό σφάλμα διεύθυνσης URL API στις ρυθμίσεις.</string>
<string id="ConfigUrlNotFound">Η διεύθυνση URL δεν βρέθηκε. Πιθανό σφάλμα διεύθυνσης URL διαμόρφωσης στις ρυθμίσεις.</string>
<string id="NoJson">Δεν επιστράφηκε JSON από αίτημα HTTP.</string>
<string id="UnhandledHttpErr">Το αίτημα HTTP επέστρεψε κωδικό σφάλματος =</string>
<string id="TrailingSlashErr">Η διεύθυνση URL του API δεν πρέπει να έχει τελική κάθετο "/"</string>
<string id="WebhookFailed">Η εγγραφή του Webhook απέτυχε</string>
<string id="TemplateError">Απέτυχε η απόδοση του προτύπου</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Διαθέσιμος</string>
<string id="Checking" scope="glance">Ελεγχος...</string>
<string id="Unavailable" scope="glance">Μη διαθέσιμο</string>
<string id="Unconfigured" scope="glance">Μη διαμορφωμένο</string>
<string id="Cached" scope="glance">Αποθηκευμένο στην κρυφή μνήμη</string>
<string id="Checking" scope="glance">Ελεγχος...</string>
<string id="ConfigUrlNotFound">Η διεύθυνση URL δεν βρέθηκε. Πιθανό σφάλμα διεύθυνσης URL διαμόρφωσης στις ρυθμίσεις.</string>
<string id="Confirm">Σίγουρος;</string>
<string id="Empty">Αδειάζω</string>
<string id="Executed" scope="glance">Επιβεβαιωμένος</string>
<string id="GlanceMenu" scope="glance">Μενού</string>
<string id="Memory" scope="glance">Μνήμη</string>
<!-- Για τις ρυθμίσεις GUI -->
<string id="NoAPIKey" scope="glance">Δεν υπάρχει κλειδί API στις ρυθμίσεις της εφαρμογής.</string>
<string id="NoApiUrl" scope="glance">Δεν υπάρχει URL API στις ρυθμίσεις της εφαρμογής.</string>
<string id="NoConfigUrl" scope="glance">Δεν υπάρχει διεύθυνση URL διαμόρφωσης στις ρυθμίσεις της εφαρμογής.</string>
<string id="NoInternet">Δεν υπάρχει σύνδεση στο Διαδίκτυο.</string>
<string id="NoJson">Δεν επιστράφηκε JSON από αίτημα HTTP.</string>
<string id="NoPhone" scope="glance">Δεν υπάρχει σύνδεση τηλεφώνου.</string>
<string id="NoResponse">Καμία απάντηση, ελέγξτε τη σύνδεση στο Διαδίκτυο</string>
<string id="PinInputLocked">Η είσοδος PIN κλειδώθηκε για</string>
<string id="PotentialError">Πιθανό σφάλμα</string>
<string id="Seconds">δευτερόλεπτα</string>
<string id="TemplateError">Σφάλμα προτύπου</string>
<string id="TrailingSlashErr">Η διεύθυνση URL του API δεν πρέπει να έχει τελική κάθετο '/'.</string>
<string id="Unavailable" scope="glance">Δυσεύρετος</string>
<string id="Unconfigured" scope="glance">Μη διαμορφωμένο</string>
<string id="UnhandledHttpErr">Το αίτημα HTTP επέστρεψε κωδικό σφάλματος =</string>
<string id="WebhookFailed">Η εγγραφή του Webhook απέτυχε</string>
<string id="WrongPin">Λάθος PIN</string>
<!-- Για τις ρυθμίσεις GUI, οι συμβολοσειρές πρέπει να είναι με τη σειρά που χρησιμοποιούνται. -->
<string id="SettingsSelect">Επιλέγω...</string>
<string id="SettingsApiKey">Κλειδί API για το HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Διακριτικό πρόσβασης μακράς διαρκείας.</string>
<string id="SettingsApiUrl">URL για το HomeAssistant API.</string>
<string id="SettingsConfigUrl">URL για τη διαμόρφωση μενού (JSON).</string>
<string id="SettingsCacheConfig">Πρέπει η εφαρμογή να αποθηκεύσει προσωρινά τη διαμόρφωση του μενού;</string>
<string id="SettingsClearCache">Εάν η εφαρμογή εκκαθαρίσει την υπάρχουσα κρυφή μνήμη την επόμενη φορά
ξεκίνησε;</string>
<string id="SettingsAppTimeout">Timeout σε δευτερόλεπτα. Έξοδος από την εφαρμογή μετά από αυτήν την περίοδο του
αδράνεια για εξοικονόμηση μπαταρίας της συσκευής.</string>
<string id="SettingsConfirmTimeout">Μετά από αυτό το διάστημα (σε δευτερόλεπτα), ένα παράθυρο διαλόγου επιβεβαίωσης για ένα
η ενέργεια κλείνει αυτόματα και η ενέργεια ακυρώνεται. Ορίστε στο 0 για να απενεργοποιήσετε το χρονικό όριο.</string>
<string id="SettingsClearCache">Πρέπει η εφαρμογή να διαγράψει την υπάρχουσα προσωρινή μνήμη την επόμενη φορά που θα ξεκινήσει;</string>
<string id="SettingsVibration">Πρέπει η εφαρμογή να παρέχει ανατροφοδότηση μέσω δονήσεων;</string>
<string id="SettingsAppTimeout">Timeout σε δευτερόλεπτα. Κλείστε την εφαρμογή μετά από αυτήν την περίοδο αδράνειας για να εξοικονομήσετε την μπαταρία της συσκευής.</string>
<string id="SettingsPollDelay">Πρόσθετη καθυστέρηση δημοσκόπησης (σε δευτερόλεπτα). Προσθέτει μια καθυστέρηση μεταξύ της ενημέρωσης κατάστασης όλων των στοιχείων μενού.</string>
<string id="SettingsConfirmTimeout">Μετά από αυτό το χρονικό διάστημα (σε δευτερόλεπτα), ένα παράθυρο διαλόγου επιβεβαίωσης για μια ενέργεια κλείνει αυτόματα και η ενέργεια ακυρώνεται. Ορίστε στο 0 για να απενεργοποιήσετε το χρονικό όριο.</string>
<string id="SettingsPin">4-ψήφιο PIN που θα χρησιμοποιηθεί για όλες τις ενέργειες που απαιτούν επιβεβαίωση (0000-9999).</string>
<string id="SettingsPinError">Διαμορφώστε ένα έγκυρο τετραψήφιο αριθμητικό PIN μεταξύ 0000 και 9999 στις ρυθμίσεις της εφαρμογής.</string>
<string id="SettingsTextAlign">Αριστερά (απενεργοποίηση) ή Δεξιά (ενεργό) Ευθυγράμμιση μενού.</string>
<string id="LeftToRight">Από αριστερά προς τα δεξιά</string>
<string id="RightToLeft">Δεξιά προς τα αριστερά</string>
<string id="SettingsWidgetStart">(Μόνο γραφικό στοιχείο) Αυτόματη εκκίνηση της εφαρμογής από το γραφικό στοιχείο
χωρίς να περιμένεις ένα πάτημα.</string>
<string id="SettingsEnableBatteryLevel">Ενεργοποιήστε την υπηρεσία παρασκηνίου για αποστολή της μπαταρίας του ρολογιού
επίπεδο στο Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Ο ρυθμός ανανέωσης (σε λεπτά) με τον οποίο το φόντο
Το σέρβις θα πρέπει να επαναλάβει την αποστολή της στάθμης της μπαταρίας.</string>
<string id="WebhookId">(Μόνο για ανάγνωση) Το αναγνωριστικό Webhook που δημιουργήθηκε από το ρολόι για ενημερώσεις επιπέδου μπαταρίας.
Μπορεί να το χρειάζεστε για τον εντοπισμό σφαλμάτων.</string>
<string id="RightToLeft">Δεξιά προς Αριστερά</string>
<string id="SettingsWidgetStart">(Μόνο widget) Αυτόματη εκκίνηση της εφαρμογής από το widget χωρίς να περιμένετε ένα πάτημα.</string>
<string id="SettingsEnableBatteryLevel">Ενεργοποιήστε την υπηρεσία παρασκηνίου για αποστολή του επιπέδου μπαταρίας της συσκευής, της τοποθεσίας και (εάν υποστηρίζονται) δεδομένα δραστηριότητας στον Βοηθό σπιτιού.</string>
<string id="SettingsBatteryLevelRefreshRate">Ο ρυθμός ανανέωσης (σε λεπτά) με τον οποίο η υπηρεσία παρασκηνίου θα πρέπει να επαναλαμβάνει την αποστολή δεδομένων.</string>
<string id="WebhookId">(Μόνο για ανάγνωση) Το αναγνωριστικό Webhook που δημιουργήθηκε από τη συσκευή για ενημερώσεις υπηρεσίας παρασκηνίου. Μπορεί να το χρειάζεστε για τον εντοπισμό σφαλμάτων.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">בטוח?</string>
<string id="Executed" scope="glance">מְאוּשָׁר</string>
<string id="NoPhone" scope="glance">אין חיבור לטלפון</string>
<string id="NoInternet">אין חיבור אינטרנט</string>
<string id="NoResponse">אין תגובה, בדוק חיבור לאינטרנט</string>
<string id="NoAPIKey" scope="glance">אין מפתח API בהגדרות האפליקציה</string>
<string id="NoApiUrl" scope="glance">אין כתובת API בהגדרות האפליקציה</string>
<string id="NoConfigUrl" scope="glance">אין כתובת URL לתצורה בהגדרות האפליקציה</string>
<string id="ApiFlood">קריאות API מהירות מדי. נא להאט את הבקשות שלך.</string>
<string id="ApiUrlNotFound">כתובת האתר לא נמצאה. שגיאה פוטנציאלית של כתובת ה-API בהגדרות.</string>
<string id="ConfigUrlNotFound">כתובת האתר לא נמצאה. שגיאת כתובת אתר פוטנציאלית של תצורה בהגדרות.</string>
<string id="NoJson">לא הוחזר JSON מבקשת HTTP.</string>
<string id="UnhandledHttpErr">בקשת HTTP החזירה קוד שגיאה =</string>
<string id="TrailingSlashErr">כתובת ה-API לא חייבת לכלול לוכסן אחורי '/'</string>
<string id="WebhookFailed">רישום Webhook נכשל</string>
<string id="TemplateError">עיבוד התבנית נכשל</string>
<string id="Available" scope="glance">זמין</string>
<string id="Checking" scope="glance">בודק...</string>
<string id="Unavailable" scope="glance">אינו זמין</string>
<string id="Unconfigured" scope="glance">לא מוגדר</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">זָמִין</string>
<string id="Cached" scope="glance">שמור במטמון</string>
<string id="Checking" scope="glance">בודק...</string>
<string id="ConfigUrlNotFound">כתובת האתר לא נמצאה. שגיאת כתובת אתר פוטנציאלית של תצורה בהגדרות.</string>
<string id="Confirm">בַּטוּחַ?</string>
<string id="Empty">רֵיק</string>
<string id="Executed" scope="glance">מְאוּשָׁר</string>
<string id="GlanceMenu" scope="glance">תַפרִיט</string>
<string id="Memory" scope="glance">זיכרון</string>
<!-- עבור ה-GUI של ההגדרות -->
<string id="SettingsSelect">בחר...</string>
<string id="Memory" scope="glance">זֵכֶר</string>
<string id="NoAPIKey" scope="glance">אין מפתח API בהגדרות האפליקציה.</string>
<string id="NoApiUrl" scope="glance">אין כתובת API בהגדרות האפליקציה.</string>
<string id="NoConfigUrl" scope="glance">אין כתובת אתר תצורה בהגדרות האפליקציה.</string>
<string id="NoInternet">אין חיבור לאינטרנט.</string>
<string id="NoJson">לא הוחזר JSON מבקשת HTTP.</string>
<string id="NoPhone" scope="glance">אין חיבור לטלפון.</string>
<string id="NoResponse">אין תגובה, בדוק חיבור לאינטרנט</string>
<string id="PinInputLocked">קלט PIN ננעל עבור</string>
<string id="PotentialError">שגיאה פוטנציאלית</string>
<string id="Seconds">שניות</string>
<string id="TemplateError">שגיאת תבנית</string>
<string id="TrailingSlashErr">כתובת ה-API לא חייבת לכלול לוכסן עוקב '/'.</string>
<string id="Unavailable" scope="glance">לא זמין</string>
<string id="Unconfigured" scope="glance">לא מוגדר</string>
<string id="UnhandledHttpErr">בקשת HTTP החזירה קוד שגיאה =</string>
<string id="WebhookFailed">רישום Webhook נכשל</string>
<string id="WrongPin">PIN שגוי</string>
<!-- עבור ה-GUI של ההגדרות, המחרוזות צריכות להיות בסדר שבו נעשה שימוש. -->
<string id="SettingsSelect">לִבחוֹר...</string>
<string id="SettingsApiKey">מפתח API עבור HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">אסימון גישה ארוך-חיים.</string>
<string id="SettingsApiUrl">כתובת URL עבור HomeAssistant API.</string>
<string id="SettingsConfigUrl">כתובת URL עבור תצורת תפריט (JSON).</string>
<string id="SettingsConfigUrl">כתובת URL לתצורת תפריט (JSON).</string>
<string id="SettingsCacheConfig">האם האפליקציה צריכה לשמור את תצורת התפריט במטמון?</string>
<string id="SettingsClearCache">האם היישום צריך לנקות את המטמון הקיים בפעם הבאה שהוא
התחיל?</string>
<string id="SettingsAppTimeout">פסק זמן בשניות. צא מהאפליקציה לאחר תקופה זו של
חוסר פעילות כדי לחסוך בסוללת המכשיר.</string>
<string id="SettingsConfirmTimeout">לאחר זמן זה (בשניות), תיבת דו-שיח אישור עבור
הפעולה נסגרת אוטומטית והפעולה מבוטלת. הגדר ל-0 כדי לבטל את הזמן הקצוב.</string>
<string id="SettingsClearCache">האם היישום צריך לנקות את המטמון הקיים בפעם הבאה שהוא יופעל?</string>
<string id="SettingsVibration">האם האפליקציה צריכה לספק משוב באמצעות רעידות?</string>
<string id="SettingsAppTimeout">פסק זמן בשניות. צא מהאפליקציה לאחר תקופה זו של חוסר פעילות כדי לחסוך בסוללת המכשיר.</string>
<string id="SettingsPollDelay">עיכוב נוסף בסקר (בשניות). מוסיף עיכוב בין עדכון המצב של כל פריטי התפריט.</string>
<string id="SettingsConfirmTimeout">לאחר זמן זה (בשניות), תיבת דו-שיח לאישור פעולה נסגרת אוטומטית והפעולה מבוטלת. הגדר ל-0 כדי לבטל את הזמן הקצוב.</string>
<string id="SettingsPin">PIN בן 4 ספרות שישמש עבור כל הפעולות הדורשות אישור (0000-9999).</string>
<string id="SettingsPinError">נא להגדיר PIN מספרי תקף בן 4 ספרות בין 0000 ל-9999 בהגדרות האפליקציה.</string>
<string id="SettingsTextAlign">יישור תפריט שמאלה (כבוי) או ימינה (מופעל).</string>
<string id="LeftToRight">משמאל לימין</string>
<string id="RightToLeft">מימין לשמאל</string>
<string id="SettingsWidgetStart">(יישומון בלבד) הפעל אוטומטית את האפליקציה מהווידג'ט
בלי לחכות לברז.</string>
<string id="SettingsEnableBatteryLevel">אפשר את שירות הרקע כדי לשלוח את סוללת השעון
רמה ל-Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">קצב הרענון (בדקות) שבו הרקע
השירות צריך לחזור על שליחת רמת הסוללה.</string>
<string id="WebhookId">(לקריאה בלבד) מזהה ה-Webhook שנוצר על ידי השעון עבור עדכוני רמת הסוללה.
ייתכן שתדרוש את זה בשביל איתור באגים.</string>
<string id="SettingsWidgetStart">(יישומון בלבד) הפעל אוטומטית את האפליקציה מהווידג'ט מבלי לחכות להקשה.</string>
<string id="SettingsEnableBatteryLevel">אפשר את שירות הרקע כדי לשלוח את נתוני רמת הסוללה של המכשיר, המיקום (אם נתמכים) ל-Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">קצב הרענון (בדקות) שבו שירות הרקע צריך לחזור על שליחת נתונים.</string>
<string id="WebhookId">(לקריאה בלבד) מזהה ה-Webhook שנוצר על ידי המכשיר עבור עדכוני שירות ברקע. ייתכן שתדרוש זאת לצורך איתור באגים.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Naravno?</string>
<string id="Executed" scope="glance">Potvrđeno</string>
<string id="NoPhone" scope="glance">Nema telefonske veze</string>
<string id="NoInternet">Nema internetske veze</string>
<string id="NoResponse">Nema odgovora, provjerite internetsku vezu</string>
<string id="NoAPIKey" scope="glance">Nema API ključa u postavkama aplikacije</string>
<string id="NoApiUrl" scope="glance">Nema API URL-a u postavkama aplikacije</string>
<string id="NoConfigUrl" scope="glance">Nema konfiguracijskog URL-a u postavkama aplikacije</string>
<string id="ApiFlood">API pozivi su prebrzi. Molimo usporite svoje zahtjeve.</string>
<string id="ApiUrlNotFound">URL nije pronađen. Potencijalna pogreška API URL-a u postavkama.</string>
<string id="ConfigUrlNotFound">URL nije pronađen. Potencijalna pogreška URL-a konfiguracije u postavkama.</string>
<string id="NoJson">HTTP zahtjev nije vratio JSON.</string>
<string id="UnhandledHttpErr">HTTP zahtjev vratio je kod greške =</string>
<string id="TrailingSlashErr">API URL ne smije imati kosu crtu na kraju '/'</string>
<string id="WebhookFailed">Registracija Webhooka nije uspjela</string>
<string id="TemplateError">Nije uspjelo generiranje predloška</string>
<string id="Available" scope="glance">Dostupno</string>
<string id="Checking" scope="glance">Provjera...</string>
<string id="Unavailable" scope="glance">Nedostupan</string>
<string id="Unconfigured" scope="glance">Nekonfigurirano</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">na raspolaganju</string>
<string id="Cached" scope="glance">Spremljeno u predmemoriju</string>
<string id="Checking" scope="glance">Provjera...</string>
<string id="ConfigUrlNotFound">URL nije pronađen. Potencijalna pogreška URL-a konfiguracije u postavkama.</string>
<string id="Confirm">Naravno?</string>
<string id="Empty">Prazan</string>
<string id="Executed" scope="glance">Potvrđeno</string>
<string id="GlanceMenu" scope="glance">Jelovnik</string>
<string id="Memory" scope="glance">Memorija</string>
<!-- Za GUI postavki -->
<string id="SettingsSelect">Izaberi...</string>
<string id="NoAPIKey" scope="glance">Nema API ključa u postavkama aplikacije.</string>
<string id="NoApiUrl" scope="glance">Nema API URL-a u postavkama aplikacije.</string>
<string id="NoConfigUrl" scope="glance">Nema konfiguracijskog URL-a u postavkama aplikacije.</string>
<string id="NoInternet">Nema internetske veze.</string>
<string id="NoJson">HTTP zahtjev nije vratio JSON.</string>
<string id="NoPhone" scope="glance">Nema telefonske veze.</string>
<string id="NoResponse">Nema odgovora, provjerite internetsku vezu</string>
<string id="PinInputLocked">Unos PIN-a zaključan za</string>
<string id="PotentialError">Potencijalna pogreška</string>
<string id="Seconds">sekundi</string>
<string id="TemplateError">Pogreška predloška</string>
<string id="TrailingSlashErr">API URL ne smije imati kosu crtu '/' na kraju.</string>
<string id="Unavailable" scope="glance">Nedostupan</string>
<string id="Unconfigured" scope="glance">Nekonfigurirano</string>
<string id="UnhandledHttpErr">HTTP zahtjev vratio je kod greške =</string>
<string id="WebhookFailed">Registracija Webhooka nije uspjela</string>
<string id="WrongPin">Pogrešan PIN</string>
<!-- Za GUI postavki, nizovi trebaju biti redoslijedom kojim se koriste. -->
<string id="SettingsSelect">Odaberite...</string>
<string id="SettingsApiKey">API ključ za HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Dugotrajni pristupni token.</string>
<string id="SettingsApiUrl">URL za HomeAssistant API.</string>
<string id="SettingsConfigUrl">URL za konfiguraciju izbornika (JSON).</string>
<string id="SettingsCacheConfig">Treba li aplikacija spremiti konfiguraciju izbornika u predmemoriju?</string>
<string id="SettingsClearCache">Treba li aplikacija sljedeći put izbrisati postojeću predmemoriju
počeo?</string>
<string id="SettingsAppTimeout">Istek u sekundama. Izađite iz aplikacije nakon tog razdoblja od
neaktivnosti radi uštede baterije uređaja.</string>
<string id="SettingsConfirmTimeout">Nakon tog vremena (u sekundama), dijaloški okvir potvrde za an
radnja se automatski zatvara i akcija se poništava. Postavite na 0 da onemogućite vremensko ograničenje.</string>
<string id="SettingsClearCache">Treba li aplikacija prilikom sljedećeg pokretanja očistiti postojeću predmemoriju?</string>
<string id="SettingsVibration">Treba li aplikacija dati povratnu informaciju putem vibracija?</string>
<string id="SettingsAppTimeout">Istek u sekundama. Izađite iz aplikacije nakon ovog razdoblja neaktivnosti kako biste uštedjeli bateriju uređaja.</string>
<string id="SettingsPollDelay">Dodatna odgoda ankete (u sekundama). Dodaje odgodu između ažuriranja statusa svih stavki izbornika.</string>
<string id="SettingsConfirmTimeout">Nakon tog vremena (u sekundama), dijaloški okvir za potvrdu radnje automatski se zatvara i radnja se poništava. Postavite na 0 da onemogućite vremensko ograničenje.</string>
<string id="SettingsPin">4-znamenkasti PIN koji se koristi za sve radnje koje zahtijevaju potvrdu (0000-9999).</string>
<string id="SettingsPinError">Molimo konfigurirajte važeći 4-znamenkasti numerički PIN između 0000 i 9999 u postavkama aplikacije.</string>
<string id="SettingsTextAlign">Lijevo (isključeno) ili desno (uključeno) poravnanje izbornika.</string>
<string id="LeftToRight">S lijeva nadesno</string>
<string id="RightToLeft">S desna na lijevo</string>
<string id="SettingsWidgetStart">(Samo widget) Automatski pokrenite aplikaciju iz widgeta
bez čekanja na slavinu.</string>
<string id="SettingsEnableBatteryLevel">Omogućite pozadinsku uslugu za slanje baterije sata
razinu do kućnog pomoćnika.</string>
<string id="SettingsBatteryLevelRefreshRate">Brzina osvježavanja (u minutama) pri kojoj pozadina
servis bi trebao ponoviti slanje razine baterije.</string>
<string id="WebhookId">(Samo za čitanje) Webhook ID koji je kreirao sat za ažuriranje razine baterije.
Ovo vam može trebati za otklanjanje pogrešaka.</string>
<string id="LeftToRight">Slijeva na desno</string>
<string id="RightToLeft">Zdesna na lijevo</string>
<string id="SettingsWidgetStart">(Samo widget) Automatski pokrenite aplikaciju iz widgeta bez čekanja na dodir.</string>
<string id="SettingsEnableBatteryLevel">Omogućite pozadinsku uslugu za slanje podataka o razini baterije uređaja, lokaciji i (ako je podržano) aktivnostima kućnom pomoćniku.</string>
<string id="SettingsBatteryLevelRefreshRate">Brzina osvježavanja (u minutama) kojom bi pozadinska usluga trebala ponoviti slanje podataka.</string>
<string id="WebhookId">(Samo za čitanje) Webhook ID koji je izradio uređaj za pozadinska ažuriranja usluge. Ovo vam može trebati za otklanjanje pogrešaka.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Biztos?</string>
<string id="Executed" scope="glance">Megerősített</string>
<string id="NoPhone" scope="glance">Nincs telefonkapcsolat</string>
<string id="NoInternet">Nincs internetkapcsolat</string>
<string id="NoResponse">Nincs válasz, ellenőrizze az internetkapcsolatot</string>
<string id="NoAPIKey" scope="glance">Nincs API kulcs az alkalmazás beállításaiban</string>
<string id="NoApiUrl" scope="glance">Nincs API URL az alkalmazás beállításai között</string>
<string id="NoConfigUrl" scope="glance">Nincs konfigurációs URL az alkalmazás beállításai között</string>
<string id="ApiFlood">Az API-hívások túl gyorsak. Kérjük, lassítsa a kérések teljesítését.</string>
<string id="ApiUrlNotFound">Az URL nem található. Lehetséges API URL hiba a beállításokban.</string>
<string id="ConfigUrlNotFound">Az URL nem található. Lehetséges konfigurációs URL hiba a beállításokban.</string>
<string id="NoJson">A HTTP-kérésből nem érkezett vissza JSON.</string>
<string id="UnhandledHttpErr">A HTTP-kérés = hibakódot adott vissza</string>
<string id="TrailingSlashErr">Az API URL-ben nem lehet perjel a „/”</string>
<string id="WebhookFailed">Nem sikerült regisztrálni a Webhook-ot</string>
<string id="TemplateError">Nem sikerült megjeleníteni a sablont</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Elérhető</string>
<string id="Checking" scope="glance">Ellenőrzés...</string>
<string id="Unavailable" scope="glance">Nem érhető el</string>
<string id="Unconfigured" scope="glance">Nincs konfigurálva</string>
<string id="Cached" scope="glance">Gyorsítótárban</string>
<string id="Checking" scope="glance">Ellenőrzés...</string>
<string id="ConfigUrlNotFound">Az URL nem található. Lehetséges konfigurációs URL hiba a beállításokban.</string>
<string id="Confirm">Persze?</string>
<string id="Empty">Üres</string>
<string id="Executed" scope="glance">Megerősített</string>
<string id="GlanceMenu" scope="glance">Menü</string>
<string id="Memory" scope="glance">memória</string>
<!-- A beállítások GUI-hoz -->
<string id="SettingsSelect">Válasszon...</string>
<string id="Memory" scope="glance">Memória</string>
<string id="NoAPIKey" scope="glance">Nincs API kulcs az alkalmazás beállításaiban.</string>
<string id="NoApiUrl" scope="glance">Nincs API URL az alkalmazás beállításai között.</string>
<string id="NoConfigUrl" scope="glance">Nincs konfigurációs URL az alkalmazás beállításai között.</string>
<string id="NoInternet">Nincs internet kapcsolat.</string>
<string id="NoJson">A HTTP-kérésből nem érkezett vissza JSON.</string>
<string id="NoPhone" scope="glance">Nincs telefonkapcsolat.</string>
<string id="NoResponse">Nincs válasz, ellenőrizze az internetkapcsolatot</string>
<string id="PinInputLocked">A PIN-kód bevitele zárolva van</string>
<string id="PotentialError">Lehetséges hiba</string>
<string id="Seconds">másodpercig</string>
<string id="TemplateError">Sablon hiba</string>
<string id="TrailingSlashErr">Az API URL-címében nem szerepelhet perjel '/'.</string>
<string id="Unavailable" scope="glance">Nem elérhető</string>
<string id="Unconfigured" scope="glance">Nincs konfigurálva</string>
<string id="UnhandledHttpErr">A HTTP-kérés = hibakódot adott vissza</string>
<string id="WebhookFailed">Nem sikerült regisztrálni a Webhook-ot</string>
<string id="WrongPin">Hibás PIN</string>
<!-- A beállítások GUI-ban a karakterláncoknak a használatuk sorrendjében kell lenniük. -->
<string id="SettingsSelect">Válassz...</string>
<string id="SettingsApiKey">API-kulcs a HomeAssistant számára.</string>
<string id="SettingsApiKeyPrompt">Hosszú életű hozzáférési token.</string>
<string id="SettingsApiUrl">A HomeAssistant API URL-je.</string>
<string id="SettingsConfigUrl">URL a menükonfigurációhoz (JSON).</string>
<string id="SettingsCacheConfig">Az alkalmazásnak gyorsítótárba kell helyeznie a menü konfigurációját?</string>
<string id="SettingsClearCache">Ha az alkalmazás legközelebb törli a meglévő gyorsítótárat
elkezdődött?</string>
<string id="SettingsAppTimeout">Időtúllépés másodpercben. Lépjen ki az alkalmazásból ezen időszak után
tétlenség, hogy kímélje a készülék akkumulátorát.</string>
<string id="SettingsConfirmTimeout">Ezen idő letelte után (másodpercben) megjelenik egy megerősítő párbeszédpanel az an
A művelet automatikusan lezárul, és a művelet megszakad. Állítsa 0-ra az időtúllépés letiltásához.</string>
<string id="SettingsClearCache">Törölje az alkalmazásnak a meglévő gyorsítótárat a következő indításakor?</string>
<string id="SettingsVibration">Az alkalmazásnak rezgésekkel kell visszajelzést adnia?</string>
<string id="SettingsAppTimeout">Időtúllépés másodpercben. Az eszköz akkumulátorának kímélése érdekében lépjen ki az alkalmazásból ezen inaktivitási időszak után.</string>
<string id="SettingsPollDelay">További lekérdezési késleltetés (másodpercben). Késleltetést ad az összes menüelem állapotfrissítése között.</string>
<string id="SettingsConfirmTimeout">Ezen idő elteltével (másodpercben) egy művelet megerősítő párbeszédpanele automatikusan bezárul, és a művelet megszakad. Állítsa 0-ra az időtúllépés letiltásához.</string>
<string id="SettingsPin">4 számjegyű PIN-kód, amelyet minden megerősítést igénylő művelethez kell használni (0000-9999).</string>
<string id="SettingsPinError">Adjon meg egy érvényes, 4 számjegyű PIN-kódot 0000 és 9999 között az alkalmazás beállításaiban.</string>
<string id="SettingsTextAlign">Balra (ki) vagy Jobbra (be) Menüigazítás.</string>
<string id="LeftToRight">Balról jobbra</string>
<string id="RightToLeft">Jobbról balra</string>
<string id="SettingsWidgetStart">(Csak widget) Az alkalmazás automatikus indítása a widgetről
csapásra várva.</string>
<string id="SettingsEnableBatteryLevel">Engedélyezze a háttérszolgáltatást az óra akkumulátorának küldéséhez
szinten az Otthoni asszisztensre.</string>
<string id="SettingsBatteryLevelRefreshRate">Az a frissítési gyakoriság (percben), amelynél a háttér
a szerviznek meg kell ismételnie az akkumulátor töltöttségi szintjének küldését.</string>
<string id="WebhookId">(Csak olvasható) Az óra által az akkumulátor töltöttségi szintjének frissítéséhez létrehozott Webhook azonosító.
Erre szükség lehet a hibakereséshez.</string>
<string id="SettingsWidgetStart">(Csak Widget) Az alkalmazás automatikus indítása a widgetről anélkül, hogy egy érintésre várna.</string>
<string id="SettingsEnableBatteryLevel">Engedélyezze a háttérszolgáltatást, hogy elküldje az eszköz akkumulátorának töltöttségi szintjét, helyét és (ha támogatott) tevékenységi adatait a Home Assistantnek.</string>
<string id="SettingsBatteryLevelRefreshRate">Az a frissítési gyakoriság (percben), amellyel a háttérszolgáltatásnak meg kell ismételnie az adatok küldését.</string>
<string id="WebhookId">(Csak olvasható) Az eszköz által a háttérszolgáltatás frissítéséhez létrehozott Webhook-azonosító. Erre szükség lehet a hibakereséshez.</string>
</strings>

View File

@ -0,0 +1,23 @@
<!--
Distributed under MIT Licence
See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant.
J D Abbey & P A Abbey, 28 December 2022
References:
* https://fonts.google.com/icons
-->
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
<bitmap id="InfoTypeIcon" filename="info_type.svg"/>
</drawables>

View File

@ -0,0 +1 @@
<svg height="18" viewBox="0 0 48 48" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M24 34q.7 0 1.175-.475.475-.475.475-1.175 0-.7-.475-1.175Q24.7 30.7 24 30.7q-.7 0-1.175.475-.475.475-.475 1.175 0 .7.475 1.175Q23.3 34 24 34Zm-1.35-7.65h3V13.7h-3ZM24 44q-4.1 0-7.75-1.575-3.65-1.575-6.375-4.3-2.725-2.725-4.3-6.375Q4 28.1 4 23.95q0-4.1 1.575-7.75 1.575-3.65 4.3-6.35 2.725-2.7 6.375-4.275Q19.9 4 24.05 4q4.1 0 7.75 1.575 3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 4.1-1.575 7.75-1.575 3.65-4.275 6.375t-6.35 4.3Q28.15 44 24 44Zm.05-3q7.05 0 12-4.975T41 23.95q0-7.05-4.95-12T24 7q-7.05 0-12.025 4.95Q7 16.9 7 24q0 7.05 4.975 12.025Q16.95 41 24.05 41ZM24 24Z" fill="white" stroke="white"/></svg>

After

Width:  |  Height:  |  Size: 716 B

View File

@ -0,0 +1,7 @@
<svg height="18" viewBox="0 0 200 500" width="18" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect fill="white" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="white" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="white" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 364 B

View File

@ -0,0 +1 @@
<svg height="18" viewBox="0 -960 960 960" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" fill="white" stroke="white"/></svg>

After

Width:  |  Height:  |  Size: 545 B

View File

@ -0,0 +1 @@
<svg height="18" viewBox="0 -960 960 960" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M445-80q-29 0-56-12t-45-35L127-403l21-23q14-15 34.5-18.5T221-438l99 53v-365q0-12.75 8.675-21.375 8.676-8.625 21.5-8.625 12.825 0 21.325 8.625T380-750v465l-144-77 156 198q10 12 23.76 18 13.76 6 29.24 6h205q38 0 64-26t26-64v-170q0-25.5-17.25-42.75T680-460H460v-60h219.646q50.148 0 85.251 35T800-400v170q0 63-43.5 106.5T650-80H445ZM203-665q-11.074-18.754-17.037-40.492Q180-727.229 180-750.246 180-821 229.725-870.5T350-920q70.55 0 120.275 49.738Q520-820.524 520-749.956q0 22.956-5.963 44.614Q508.074-683.685 497-665l-52-30q7-12 11-26t4-29.478Q460-796 427.882-828q-32.117-32-78-32Q304-860 272-827.917 240-795.833 240-750q0 15 4 29t11 26l-52 30Zm285 335Z" fill="white" stroke="white"/></svg>

After

Width:  |  Height:  |  Size: 783 B

View File

@ -0,0 +1,23 @@
<!--
Distributed under MIT Licence
See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant.
J D Abbey & P A Abbey, 28 December 2022
References:
* https://fonts.google.com/icons
-->
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
<bitmap id="InfoTypeIcon" filename="info_type.svg"/>
</drawables>

View File

@ -0,0 +1 @@
<svg height="21" viewBox="0 0 48 48" width="21" xmlns="http://www.w3.org/2000/svg"><path d="M24 34q.7 0 1.175-.475.475-.475.475-1.175 0-.7-.475-1.175Q24.7 30.7 24 30.7q-.7 0-1.175.475-.475.475-.475 1.175 0 .7.475 1.175Q23.3 34 24 34Zm-1.35-7.65h3V13.7h-3ZM24 44q-4.1 0-7.75-1.575-3.65-1.575-6.375-4.3-2.725-2.725-4.3-6.375Q4 28.1 4 23.95q0-4.1 1.575-7.75 1.575-3.65 4.3-6.35 2.725-2.7 6.375-4.275Q19.9 4 24.05 4q4.1 0 7.75 1.575 3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 4.1-1.575 7.75-1.575 3.65-4.275 6.375t-6.35 4.3Q28.15 44 24 44Zm.05-3q7.05 0 12-4.975T41 23.95q0-7.05-4.95-12T24 7q-7.05 0-12.025 4.95Q7 16.9 7 24q0 7.05 4.975 12.025Q16.95 41 24.05 41ZM24 24Z" fill="white" stroke="white"/></svg>

After

Width:  |  Height:  |  Size: 716 B

View File

@ -0,0 +1,7 @@
<svg height="21" viewBox="0 0 200 500" width="21" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect fill="white" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="white" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="white" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 364 B

View File

@ -0,0 +1 @@
<svg height="21" viewBox="0 -960 960 960" width="21" xmlns="http://www.w3.org/2000/svg"><path d="M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" fill="white" stroke="white"/></svg>

After

Width:  |  Height:  |  Size: 545 B

View File

@ -0,0 +1 @@
<svg height="21" viewBox="0 -960 960 960" width="21" xmlns="http://www.w3.org/2000/svg"><path d="M445-80q-29 0-56-12t-45-35L127-403l21-23q14-15 34.5-18.5T221-438l99 53v-365q0-12.75 8.675-21.375 8.676-8.625 21.5-8.625 12.825 0 21.325 8.625T380-750v465l-144-77 156 198q10 12 23.76 18 13.76 6 29.24 6h205q38 0 64-26t26-64v-170q0-25.5-17.25-42.75T680-460H460v-60h219.646q50.148 0 85.251 35T800-400v170q0 63-43.5 106.5T650-80H445ZM203-665q-11.074-18.754-17.037-40.492Q180-727.229 180-750.246 180-821 229.725-870.5T350-920q70.55 0 120.275 49.738Q520-820.524 520-749.956q0 22.956-5.963 44.614Q508.074-683.685 497-665l-52-30q7-12 11-26t4-29.478Q460-796 427.882-828q-32.117-32-78-32Q304-860 272-827.917 240-795.833 240-750q0 15 4 29t11 26l-52 30Zm285 335Z" fill="white" stroke="white"/></svg>

After

Width:  |  Height:  |  Size: 783 B

View File

@ -0,0 +1,23 @@
<!--
Distributed under MIT Licence
See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant.
J D Abbey & P A Abbey, 28 December 2022
References:
* https://fonts.google.com/icons
-->
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
<bitmap id="InfoTypeIcon" filename="info_type.svg"/>
</drawables>

View File

@ -0,0 +1 @@
<svg height="34" viewBox="0 0 48 48" width="34" xmlns="http://www.w3.org/2000/svg"><path d="M24 34q.7 0 1.175-.475.475-.475.475-1.175 0-.7-.475-1.175Q24.7 30.7 24 30.7q-.7 0-1.175.475-.475.475-.475 1.175 0 .7.475 1.175Q23.3 34 24 34Zm-1.35-7.65h3V13.7h-3ZM24 44q-4.1 0-7.75-1.575-3.65-1.575-6.375-4.3-2.725-2.725-4.3-6.375Q4 28.1 4 23.95q0-4.1 1.575-7.75 1.575-3.65 4.3-6.35 2.725-2.7 6.375-4.275Q19.9 4 24.05 4q4.1 0 7.75 1.575 3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 4.1-1.575 7.75-1.575 3.65-4.275 6.375t-6.35 4.3Q28.15 44 24 44Zm.05-3q7.05 0 12-4.975T41 23.95q0-7.05-4.95-12T24 7q-7.05 0-12.025 4.95Q7 16.9 7 24q0 7.05 4.975 12.025Q16.95 41 24.05 41ZM24 24Z" fill="red" stroke="red"/></svg>

After

Width:  |  Height:  |  Size: 712 B

View File

@ -0,0 +1,7 @@
<svg height="34" viewBox="0 0 200 500" width="34" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 361 B

View File

@ -0,0 +1 @@
<svg height="34" viewBox="0 -960 960 960" width="34" xmlns="http://www.w3.org/2000/svg"><path d="M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 543 B

View File

@ -0,0 +1 @@
<svg height="34" viewBox="0 -960 960 960" width="34" xmlns="http://www.w3.org/2000/svg"><path d="M445-80q-29 0-56-12t-45-35L127-403l21-23q14-15 34.5-18.5T221-438l99 53v-365q0-12.75 8.675-21.375 8.676-8.625 21.5-8.625 12.825 0 21.325 8.625T380-750v465l-144-77 156 198q10 12 23.76 18 13.76 6 29.24 6h205q38 0 64-26t26-64v-170q0-25.5-17.25-42.75T680-460H460v-60h219.646q50.148 0 85.251 35T800-400v170q0 63-43.5 106.5T650-80H445ZM203-665q-11.074-18.754-17.037-40.492Q180-727.229 180-750.246 180-821 229.725-870.5T350-920q70.55 0 120.275 49.738Q520-820.524 520-749.956q0 22.956-5.963 44.614Q508.074-683.685 497-665l-52-30q7-12 11-26t4-29.478Q460-796 427.882-828q-32.117-32-78-32Q304-860 272-827.917 240-795.833 240-750q0 15 4 29t11 26l-52 30Zm285 335Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 781 B

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<svg viewBox="0 0 200 500" width="48" height="48" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect x="0" y="0" width="200" height="100" fill="blue" rx="40" ry="40"/>

Before

Width:  |  Height:  |  Size: 419 B

After

Width:  |  Height:  |  Size: 380 B

View File

@ -0,0 +1,23 @@
<!--
Distributed under MIT Licence
See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant.
J D Abbey & P A Abbey, 28 December 2022
References:
* https://fonts.google.com/icons
-->
<drawables>
<bitmap id="ErrorIcon" filename="error.svg"/>
<bitmap id="GroupTypeIcon" filename="group_type.svg"/>
<bitmap id="TapTypeIcon" filename="tap_type.svg"/>
<bitmap id="InfoTypeIcon" filename="info_type.svg"/>
</drawables>

View File

@ -0,0 +1 @@
<svg height="55" viewBox="0 0 48 48" width="55" xmlns="http://www.w3.org/2000/svg"><path d="M24 34q.7 0 1.175-.475.475-.475.475-1.175 0-.7-.475-1.175Q24.7 30.7 24 30.7q-.7 0-1.175.475-.475.475-.475 1.175 0 .7.475 1.175Q23.3 34 24 34Zm-1.35-7.65h3V13.7h-3ZM24 44q-4.1 0-7.75-1.575-3.65-1.575-6.375-4.3-2.725-2.725-4.3-6.375Q4 28.1 4 23.95q0-4.1 1.575-7.75 1.575-3.65 4.3-6.35 2.725-2.7 6.375-4.275Q19.9 4 24.05 4q4.1 0 7.75 1.575 3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 4.1-1.575 7.75-1.575 3.65-4.275 6.375t-6.35 4.3Q28.15 44 24 44Zm.05-3q7.05 0 12-4.975T41 23.95q0-7.05-4.95-12T24 7q-7.05 0-12.025 4.95Q7 16.9 7 24q0 7.05 4.975 12.025Q16.95 41 24.05 41ZM24 24Z" fill="red" stroke="red"/></svg>

After

Width:  |  Height:  |  Size: 713 B

View File

@ -0,0 +1,7 @@
<svg height="55" viewBox="0 0 200 500" width="55" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 0, 0)">
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="0"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="200"/>
<rect fill="blue" height="100" rx="40" ry="40" width="200" x="0" y="400"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 362 B

View File

@ -0,0 +1 @@
<svg height="55" viewBox="0 -960 960 960" width="55" xmlns="http://www.w3.org/2000/svg"><path d="M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 543 B

View File

@ -0,0 +1 @@
<svg height="55" viewBox="0 -960 960 960" width="55" xmlns="http://www.w3.org/2000/svg"><path d="M445-80q-29 0-56-12t-45-35L127-403l21-23q14-15 34.5-18.5T221-438l99 53v-365q0-12.75 8.675-21.375 8.676-8.625 21.5-8.625 12.825 0 21.325 8.625T380-750v465l-144-77 156 198q10 12 23.76 18 13.76 6 29.24 6h205q38 0 64-26t26-64v-170q0-25.5-17.25-42.75T680-460H460v-60h219.646q50.148 0 85.251 35T800-400v170q0 63-43.5 106.5T650-80H445ZM203-665q-11.074-18.754-17.037-40.492Q180-727.229 180-750.246 180-821 229.725-870.5T350-920q70.55 0 120.275 49.738Q520-820.524 520-749.956q0 22.956-5.963 44.614Q508.074-683.685 497-665l-52-30q7-12 11-26t4-29.478Q460-796 427.882-828q-32.117-32-78-32Q304-860 272-827.917 240-795.833 240-750q0 15 4 29t11 26l-52 30Zm285 335Z" fill="blue" stroke="blue"/></svg>

After

Width:  |  Height:  |  Size: 782 B

View File

@ -15,56 +15,58 @@
<!--
Generated by Google Translate: English to Indonesian
Dihasilkan oleh Google Terjemahan dari bahasa Inggris
Dihasilkan oleh Google Translate dari bahasa Inggris
-->
<strings>
<string id="ApiFlood">Panggilan API terlalu cepat. Harap perlambat permintaan Anda.</string>
<string id="ApiUrlNotFound">URL tidak ditemukan. Kemungkinan kesalahan URL API dalam pengaturan.</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Tentu?</string>
<string id="Executed" scope="glance">Dikonfirmasi</string>
<string id="NoPhone" scope="glance">Tidak ada koneksi Telepon</string>
<string id="NoInternet">Tidak ada koneksi internet</string>
<string id="NoResponse">Tidak Ada Respon, periksa koneksi Internet</string>
<string id="NoAPIKey" scope="glance">Tidak ada kunci API di pengaturan aplikasi</string>
<string id="NoApiUrl" scope="glance">Tidak ada URL API di pengaturan aplikasi</string>
<string id="NoConfigUrl" scope="glance">Tidak ada URL konfigurasi dalam pengaturan aplikasi</string>
<string id="ApiFlood">Panggilan API terlalu cepat. Harap memperlambat permintaan Anda.</string>
<string id="ApiUrlNotFound">URL tidak ditemukan. Potensi kesalahan URL API dalam pengaturan.</string>
<string id="ConfigUrlNotFound">URL tidak ditemukan. Potensi kesalahan URL Konfigurasi dalam pengaturan.</string>
<string id="NoJson">Tidak ada JSON yang dikembalikan dari permintaan HTTP.</string>
<string id="UnhandledHttpErr">Permintaan HTTP mengembalikan kode kesalahan =</string>
<string id="TrailingSlashErr">URL API tidak boleh memiliki garis miring '/'</string>
<string id="WebhookFailed">Gagal mendaftarkan Webhook</string>
<string id="TemplateError">Gagal merender template</string>
<string id="Available" scope="glance">Tersedia</string>
<string id="Cached" scope="glance">Disimpan dalam cache</string>
<string id="Checking" scope="glance">Memeriksa...</string>
<string id="ConfigUrlNotFound">URL tidak ditemukan. Kemungkinan kesalahan Konfigurasi URL dalam pengaturan.</string>
<string id="Confirm">Tentu?</string>
<string id="Empty">Kosong</string>
<string id="Executed" scope="glance">Dikonfirmasi</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Ingatan</string>
<string id="NoAPIKey" scope="glance">Tidak ada kunci API dalam pengaturan aplikasi.</string>
<string id="NoApiUrl" scope="glance">Tidak ada URL API di pengaturan aplikasi.</string>
<string id="NoConfigUrl" scope="glance">Tidak ada URL konfigurasi dalam pengaturan aplikasi.</string>
<string id="NoInternet">Tidak ada koneksi internet.</string>
<string id="NoJson">Tidak ada JSON yang dikembalikan dari permintaan HTTP.</string>
<string id="NoPhone" scope="glance">Tidak ada koneksi telepon.</string>
<string id="NoResponse">Tidak ada Respon, periksa koneksi internet</string>
<string id="PinInputLocked">Input PIN terkunci untuk</string>
<string id="PotentialError">Potensi Kesalahan</string>
<string id="Seconds">detik</string>
<string id="TemplateError">Kesalahan Template</string>
<string id="TrailingSlashErr">URL API tidak boleh memiliki garis miring '/' di akhir.</string>
<string id="Unavailable" scope="glance">Tidak tersedia</string>
<string id="Unconfigured" scope="glance">Tidak dikonfigurasi</string>
<string id="Cached" scope="glance">Di-cache</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Penyimpanan</string>
<!-- Untuk pengaturan GUI -->
<string id="SettingsSelect">Pilih...</string>
<string id="UnhandledHttpErr">Permintaan HTTP mengembalikan kode kesalahan =</string>
<string id="WebhookFailed">Gagal mendaftarkan Webhook</string>
<string id="WrongPin">PIN salah</string>
<!-- Untuk pengaturan GUI, string harus sesuai urutan penggunaannya. -->
<string id="SettingsSelect">Memilih...</string>
<string id="SettingsApiKey">Kunci API untuk HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Token Akses Berumur Panjang.</string>
<string id="SettingsApiUrl">URL untuk API HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Token Akses Jangka Panjang.</string>
<string id="SettingsApiUrl">URL untuk HomeAssistant API.</string>
<string id="SettingsConfigUrl">URL untuk konfigurasi menu (JSON).</string>
<string id="SettingsCacheConfig">Haruskah aplikasi menyimpan konfigurasi menu dalam cache?</string>
<string id="SettingsClearCache">Sebaiknya aplikasi menghapus cache yang ada di lain waktu
dimulai?</string>
<string id="SettingsAppTimeout">Batas waktu dalam hitungan detik. Keluar dari aplikasi setelah periode ini
ketidakaktifan untuk menghemat baterai perangkat.</string>
<string id="SettingsConfirmTimeout">Setelah waktu ini (dalam detik), dialog konfirmasi untuk
tindakan secara otomatis ditutup dan tindakan dibatalkan. Setel ke 0 untuk menonaktifkan batas waktu.</string>
<string id="SettingsTextAlign">Penyelarasan Menu Kiri (mati) atau Kanan (hidup).</string>
<string id="SettingsClearCache">Haruskah aplikasi menghapus cache yang ada saat dijalankan berikutnya?</string>
<string id="SettingsVibration">Haruskah aplikasi memberikan umpan balik melalui getaran?</string>
<string id="SettingsAppTimeout">Batas waktu dalam hitungan detik. Keluar dari aplikasi setelah periode tidak aktif ini untuk menghemat baterai perangkat.</string>
<string id="SettingsPollDelay">Penundaan polling tambahan (dalam detik). Menambahkan penundaan antara pembaruan status semua item menu.</string>
<string id="SettingsConfirmTimeout">Setelah waktu ini (dalam detik), dialog konfirmasi untuk suatu tindakan akan ditutup secara otomatis dan tindakan tersebut dibatalkan. Atur ke 0 untuk menonaktifkan batas waktu.</string>
<string id="SettingsPin">PIN 4 digit yang akan digunakan untuk semua tindakan yang memerlukan konfirmasi (0000-9999).</string>
<string id="SettingsPinError">Harap konfigurasikan PIN numerik 4 digit yang valid antara 0000 dan 9999 dalam pengaturan aplikasi.</string>
<string id="SettingsTextAlign">Penyelarasan Menu Kiri (nonaktif) atau Kanan (aktif).</string>
<string id="LeftToRight">Kiri ke kanan</string>
<string id="RightToLeft">Kanan ke kiri</string>
<string id="SettingsWidgetStart">(Khusus widget) Secara otomatis memulai aplikasi dari widget
tanpa menunggu ketukan.</string>
<string id="SettingsEnableBatteryLevel">Aktifkan layanan latar belakang untuk mengirim baterai jam
tingkat ke Asisten Rumah.</string>
<string id="SettingsBatteryLevelRefreshRate">Kecepatan refresh (dalam menit) pada latar belakang
layanan harus mengulangi pengiriman level baterai.</string>
<string id="WebhookId">(Hanya baca) ID Webhook yang dibuat oleh jam tangan untuk pembaruan level baterai.
Anda mungkin memerlukan ini untuk debugging.</string>
<string id="RightToLeft">Kanan ke Kiri</string>
<string id="SettingsWidgetStart">(Hanya widget) Secara otomatis memulai aplikasi dari widget tanpa menunggu ketukan.</string>
<string id="SettingsEnableBatteryLevel">Aktifkan layanan latar belakang untuk mengirim tingkat baterai perangkat, lokasi, dan (jika didukung) data aktivitas ke Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Kecepatan penyegaran (dalam menit) di mana layanan latar belakang harus mengulang pengiriman data.</string>
<string id="WebhookId">(Hanya baca) ID Webhook yang dibuat oleh perangkat untuk pembaruan layanan latar belakang. Anda mungkin memerlukannya untuk debugging.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="ApiFlood">Chiamate API troppo rapide. Rallenta le tue richieste.</string>
<string id="ApiUrlNotFound">URL non trovato. Possibile errore URL API nelle impostazioni.</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Sicuro?</string>
<string id="Executed" scope="glance">Confermato</string>
<string id="NoPhone" scope="glance">Nessuna connessione telefonica</string>
<string id="NoInternet">Nessuna connessione internet</string>
<string id="NoResponse">Nessuna risposta, controlla la connessione Internet</string>
<string id="NoAPIKey" scope="glance">Nessuna chiave API nelle impostazioni dell'applicazione</string>
<string id="NoApiUrl" scope="glance">Nessun URL API nelle impostazioni dell'applicazione</string>
<string id="NoConfigUrl" scope="glance">Nessun URL di configurazione nelle impostazioni dell'applicazione</string>
<string id="ApiFlood">Chiamate API troppo rapide. Per favore rallenta le tue richieste.</string>
<string id="ApiUrlNotFound">URL non trovato. Potenziale errore URL API nelle impostazioni.</string>
<string id="ConfigUrlNotFound">URL non trovato. Potenziale errore dell'URL di configurazione nelle impostazioni.</string>
<string id="NoJson">Nessun JSON restituito dalla richiesta HTTP.</string>
<string id="UnhandledHttpErr">La richiesta HTTP ha restituito il codice di errore =</string>
<string id="TrailingSlashErr">L'URL dell'API non deve avere una barra finale "/"</string>
<string id="WebhookFailed">Impossibile registrare il Webhook</string>
<string id="TemplateError">Impossibile eseguire il rendering del modello</string>
<string id="Available" scope="glance">Disponibile</string>
<string id="Checking" scope="glance">Controllo...</string>
<string id="Cached" scope="glance">Memorizzato nella cache</string>
<string id="Checking" scope="glance">Controllo in corso...</string>
<string id="ConfigUrlNotFound">URL non trovato. Possibile errore URL di configurazione nelle impostazioni.</string>
<string id="Confirm">Sicuro?</string>
<string id="Empty">Vuoto</string>
<string id="Executed" scope="glance">Confermato</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Memoria</string>
<string id="NoAPIKey" scope="glance">Nessuna chiave API nelle impostazioni dell'applicazione.</string>
<string id="NoApiUrl" scope="glance">Nessun URL API nelle impostazioni dell'applicazione.</string>
<string id="NoConfigUrl" scope="glance">Nessun URL di configurazione nelle impostazioni dell'applicazione.</string>
<string id="NoInternet">Nessuna connessione Internet.</string>
<string id="NoJson">Nessun JSON restituito dalla richiesta HTTP.</string>
<string id="NoPhone" scope="glance">Nessuna connessione telefonica.</string>
<string id="NoResponse">Nessuna risposta, controlla la connessione Internet</string>
<string id="PinInputLocked">Inserimento PIN bloccato per</string>
<string id="PotentialError">Errore potenziale</string>
<string id="Seconds">secondi</string>
<string id="TemplateError">Errore modello</string>
<string id="TrailingSlashErr">L'URL dell'API non deve contenere la barra finale '/'.</string>
<string id="Unavailable" scope="glance">Non disponibile</string>
<string id="Unconfigured" scope="glance">Non configurato</string>
<string id="Cached" scope="glance">Memorizzato nella cache</string>
<string id="GlanceMenu" scope="glance">Menù</string>
<string id="Memory" scope="glance">Memoria</string>
<!-- Per la GUI delle impostazioni -->
<string id="UnhandledHttpErr">La richiesta HTTP ha restituito il codice di errore =</string>
<string id="WebhookFailed">Impossibile registrare il webhook</string>
<string id="WrongPin">PIN errato</string>
<!-- Per l'interfaccia utente grafica delle impostazioni, le stringhe devono essere nell'ordine in cui vengono utilizzate. -->
<string id="SettingsSelect">Selezionare...</string>
<string id="SettingsApiKey">Chiave API per HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Token di accesso di lunga durata.</string>
<string id="SettingsApiUrl">URL per l'API HomeAssistant.</string>
<string id="SettingsConfigUrl">URL per la configurazione del menu (JSON).</string>
<string id="SettingsCacheConfig">L'applicazione dovrebbe memorizzare nella cache la configurazione del menu?</string>
<string id="SettingsClearCache">L'applicazione dovrebbe cancellare la cache esistente la prossima volta
iniziato?</string>
<string id="SettingsAppTimeout">Timeout in secondi. Uscire dall'applicazione dopo questo periodo di
inattività per risparmiare la batteria del dispositivo.</string>
<string id="SettingsConfirmTimeout">Trascorso questo tempo (in secondi), verrà visualizzata una finestra di dialogo di conferma per un
l'azione viene chiusa automaticamente e annullata. Impostare su 0 per disabilitare il timeout.</string>
<string id="SettingsTextAlign">Allineamento del menu a sinistra (spento) o a destra (acceso).</string>
<string id="SettingsClearCache">La prossima volta che l'applicazione viene avviata, deve cancellare la cache esistente?</string>
<string id="SettingsVibration">L'applicazione dovrebbe fornire feedback tramite vibrazioni?</string>
<string id="SettingsAppTimeout">Timeout in secondi. Esci dall'applicazione dopo questo periodo di inattività per risparmiare la batteria del dispositivo.</string>
<string id="SettingsPollDelay">Ritardo di polling aggiuntivo (in secondi). Aggiunge un ritardo tra l'aggiornamento dello stato di tutte le voci di menu.</string>
<string id="SettingsConfirmTimeout">Dopo questo tempo (in secondi), una finestra di dialogo di conferma per un'azione viene automaticamente chiusa e l'azione viene annullata. Impostare su 0 per disabilitare il timeout.</string>
<string id="SettingsPin">PIN a 4 cifre da utilizzare per tutte le azioni che richiedono conferma (0000-9999).</string>
<string id="SettingsPinError">Configurare un PIN numerico valido a 4 cifre compreso tra 0000 e 9999 nelle impostazioni dell'applicazione.</string>
<string id="SettingsTextAlign">Allineamento del menu a sinistra (disattivato) o a destra (attivato).</string>
<string id="LeftToRight">Da sinistra a destra</string>
<string id="RightToLeft">Da destra a sinistra</string>
<string id="SettingsWidgetStart">(Solo widget) Avvia automaticamente l'applicazione dal widget
senza aspettare un tocco.</string>
<string id="SettingsEnableBatteryLevel">Abilita il servizio in background per inviare la batteria dell'orologio
livello su Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">La frequenza di aggiornamento (in minuti) alla quale viene visualizzato lo sfondo
il servizio dovrebbe ripetere l'invio del livello della batteria.</string>
<string id="WebhookId">(Sola lettura) L'ID webhook creato dall'orologio per gli aggiornamenti del livello della batteria.
Potrebbe essere necessario per il debug.</string>
<string id="SettingsWidgetStart">(Solo widget) Avvia automaticamente l'applicazione dal widget senza attendere un tocco.</string>
<string id="SettingsEnableBatteryLevel">Abilita il servizio in background per inviare i dati relativi al livello della batteria, alla posizione e (se supportati) all'attività del dispositivo a Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Frequenza di aggiornamento (in minuti) alla quale il servizio in background dovrebbe ripetere l'invio dei dati.</string>
<string id="WebhookId">(Sola lettura) L'ID Webhook creato dal dispositivo per gli aggiornamenti del servizio in background. Potrebbe essere necessario per il debug.</string>
</strings>

View File

@ -15,56 +15,58 @@
<!--
Generated by Google Translate: English to Japanese
英語から Google 翻訳によって生成
Google翻訳により英語から生成
-->
<strings>
<string id="ApiFlood">API 呼び出しが速すぎます。リクエストの速度を落としてください。</string>
<string id="ApiUrlNotFound">URL が見つかりません。設定で API URL エラーが発生する可能性があります。</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">もちろん?</string>
<string id="Executed" scope="glance">確認済み</string>
<string id="NoPhone" scope="glance">電話が接続されていません</string>
<string id="NoInternet">インターネット接続なし</string>
<string id="NoResponse">応答がありません。インターネット接続を確認してください</string>
<string id="NoAPIKey" scope="glance">アプリケーション設定に API キーがありません</string>
<string id="NoApiUrl" scope="glance">アプリケーション設定に API URL がありません</string>
<string id="NoConfigUrl" scope="glance">アプリケーション設定に構成 URL がありません</string>
<string id="ApiFlood">API 呼び出しが速すぎます。リクエストは遅くしてください。</string>
<string id="ApiUrlNotFound">URLが見つかりません。設定における API URL エラーの可能性があります。</string>
<string id="ConfigUrlNotFound">URLが見つかりません。設定内の構成 URL エラーの可能性があります。</string>
<string id="NoJson">HTTP リクエストから JSON が返されませんでした。</string>
<string id="UnhandledHttpErr">HTTP リクエストがエラー コードを返しました =</string>
<string id="TrailingSlashErr">API URL の末尾にスラッシュ「/」を含めることはできません</string>
<string id="WebhookFailed">Webhookの登録に失敗しました</string>
<string id="TemplateError">テンプレートのレンダリングに失敗しました</string>
<string id="Available" scope="glance">利用可能</string>
<string id="Cached" scope="glance">キャッシュ済み</string>
<string id="Checking" scope="glance">チェック中...</string>
<string id="Unavailable" scope="glance">利用不可</string>
<string id="Unconfigured" scope="glance">未構成</string>
<string id="Cached" scope="glance">キャッシュされた</string>
<string id="ConfigUrlNotFound">URL が見つかりません。設定で構成 URL エラーが発生する可能性があります。</string>
<string id="Confirm">もちろん?</string>
<string id="Empty">空の</string>
<string id="Executed" scope="glance">確認済み</string>
<string id="GlanceMenu" scope="glance">メニュー</string>
<string id="Memory" scope="glance">メモリ</string>
<!-- 設定GUIの場合 -->
<string id="SettingsSelect">選択する...</string>
<string id="SettingsApiKey">ホームアシスタントの API キー</string>
<string id="SettingsApiKeyPrompt">有効期間の長いアクセス トークン</string>
<string id="SettingsApiUrl">ホームアシスタント API の URL</string>
<string id="SettingsConfigUrl">メニュー構成の URL (JSON)</string>
<string id="NoAPIKey" scope="glance">アプリケーション設定に API キーがありません。</string>
<string id="NoApiUrl" scope="glance">アプリケーション設定に API URL がありません。</string>
<string id="NoConfigUrl" scope="glance">アプリケーション設定に構成 URL がありません</string>
<string id="NoInternet">インターネットに接続できません</string>
<string id="NoJson">HTTP リクエストから JSON が返されません</string>
<string id="NoPhone" scope="glance">電話接続がありません</string>
<string id="NoResponse">応答なし。インターネット接続を確認してください</string>
<string id="PinInputLocked">PIN入力がロックされました</string>
<string id="PotentialError">潜在的なエラー</string>
<string id="Seconds"></string>
<string id="TemplateError">テンプレートエラー</string>
<string id="TrailingSlashErr">API URL の末尾にスラッシュ「/」を含めることはできません。</string>
<string id="Unavailable" scope="glance">利用不可</string>
<string id="Unconfigured" scope="glance">未設定</string>
<string id="UnhandledHttpErr">HTTP リクエストがエラーコードを返しました =</string>
<string id="WebhookFailed">Webhook の登録に失敗しました</string>
<string id="WrongPin">PINが間違っています</string>
<!-- 設定 GUI の場合、文字列は使用される順序に従う必要があります。 -->
<string id="SettingsSelect">選択...</string>
<string id="SettingsApiKey">HomeAssistant の API キー。</string>
<string id="SettingsApiKeyPrompt">長期有効アクセス トークン。</string>
<string id="SettingsApiUrl">HomeAssistant API の URL。</string>
<string id="SettingsConfigUrl">メニュー設定の URL (JSON)。</string>
<string id="SettingsCacheConfig">アプリケーションはメニュー構成をキャッシュする必要がありますか?</string>
<string id="SettingsClearCache">次回アプリケーション既存のキャッシュをクリアする必要があるかどうか
始めましたか?</string>
<string id="SettingsAppTimeout">秒単位のタイムアウト。この期間が経過したらアプリケーションを終了してください
デバイスのバッテリーを節約するために非アクティブにします。</string>
<string id="SettingsConfirmTimeout">この時間 (秒単位) が経過すると、確認ダイアログが表示されます。
アクションは自動的に閉じられ、アクションはキャンセルされます。タイムアウトを無効にするには、0 に設定します</string>
<string id="SettingsTextAlign">左 (オフ) または右 (オン) メニューの配置</string>
<string id="SettingsClearCache">アプリケーションは次回起動時に既存のキャッシュをクリアする必要がありますか?</string>
<string id="SettingsVibration">アプリケーションは振動によるフィードバックを提供する必要がありますか?</string>
<string id="SettingsAppTimeout">タイムアウトは秒単位で行われます。デバイスのバッテリーを節約するために、この時間操作が行われなかったらアプリケーションを終了してください</string>
<string id="SettingsPollDelay">追加のポーリング遅延 (秒単位)。すべてのメニュー項目のステータス更新の間に遅延を追加します。</string>
<string id="SettingsConfirmTimeout">この時間 (秒単位) が経過すると、アクションの確認ダイアログが自動的に閉じられ、アクションがキャンセルされます。タイムアウトを無効にするには 0 に設定します。</string>
<string id="SettingsPin">確認が必要なすべてのアクションに使用する 4 桁の PIN (0000 9999)</string>
<string id="SettingsPinError">アプリケーション設定で、0000 9999 の間の有効な 4 桁の数字 PIN を設定してください</string>
<string id="SettingsTextAlign">メニューの配置を左 (オフ) または右 (オン) にします。</string>
<string id="LeftToRight">左から右へ</string>
<string id="RightToLeft">右から左</string>
<string id="SettingsWidgetStart">(ウィジェットのみ) ウィジェットからアプリを自動起動します
タップを待たずに</string>
<string id="SettingsEnableBatteryLevel">時計のバッテリーを送信するバックグラウンド サービスを有効にする
ホームアシスタントレベル</string>
<string id="SettingsBatteryLevelRefreshRate">バックグラウンドのリフレッシュ レート (分単位)。
サービスはバッテリー残量の送信を繰り返す必要があります。</string>
<string id="WebhookId">(読み取り専用) バッテリー レベルの更新のためにウォッチによって作成された Webhook ID。
デバッグのためにこれが必要になる場合があります。</string>
<string id="RightToLeft">右から左</string>
<string id="SettingsWidgetStart">(ウィジェットのみ) タップを待たずにウィジェットからアプリケーションを自動的に起動します</string>
<string id="SettingsEnableBatteryLevel">バックグラウンド サービスを有効にして、デバイスのバッテリー レベル、位置情報、および (サポートされている場合) アクティビティ データを Home Assistant に送信します</string>
<string id="SettingsBatteryLevelRefreshRate">バックグラウンド サービスがデータの送信を繰り返す更新レート (分単位)。</string>
<string id="WebhookId">(読み取り専用) バックグラウンド サービス更新用にデバイスによって作成された Webhook ID。デバッグに必要になる場合があります</string>
</strings>

View File

@ -15,56 +15,58 @@
<!--
Generated by Google Translate: English to Korean
영어에서 Google 번역으로 생성됨
영어에서 Google Translate로 생성됨
-->
<strings>
<string id="ApiFlood">API 호출이 너무 빠릅니다. 요청 속도를 늦춰주세요.</string>
<string id="ApiUrlNotFound">URL을 찾을 수 없습니다. 설정에 잠재적인 API URL 오류가 있습니다.</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">사용 가능</string>
<string id="Cached" scope="glance">캐시됨</string>
<string id="Checking" scope="glance">확인 중...</string>
<string id="ConfigUrlNotFound">URL을 찾을 수 없습니다. 설정에서 잠재적인 구성 URL 오류.</string>
<string id="Confirm">확신하는?</string>
<string id="Empty">비어 있는</string>
<string id="Executed" scope="glance">확인됨</string>
<string id="NoPhone" scope="glance">전화 연결 없음</string>
<string id="NoInternet">인터넷에 연결되지 않음</string>
<string id="NoResponse">응답이 없습니다. 인터넷 연결을 확인하세요.</string>
<string id="GlanceMenu" scope="glance">메뉴</string>
<string id="Memory" scope="glance">메모리</string>
<string id="NoAPIKey" scope="glance">애플리케이션 설정에 API 키가 없습니다.</string>
<string id="NoApiUrl" scope="glance">애플리케이션 설정에 API URL이 없습니다.</string>
<string id="NoConfigUrl" scope="glance">애플리케이션 설정에 구성 URL이 없습니다.</string>
<string id="ApiFlood">API 호출이 너무 빠릅니다. 요청 속도를 늦추시기 바랍니다.</string>
<string id="ApiUrlNotFound">URL을 찾을 수 없습니다. 설정에 잠재적인 API URL 오류가 있습니다.</string>
<string id="ConfigUrlNotFound">URL을 찾을 수 없습니다. 설정에 잠재적인 구성 URL 오류가 있습니다.</string>
<string id="NoInternet">인터넷에 연결되지 않았습니다.</string>
<string id="NoJson">HTTP 요청에서 JSON이 반환되지 않았습니다.</string>
<string id="UnhandledHttpErr">HTTP 요청이 오류 코드를 반환했습니다 =</string>
<string id="TrailingSlashErr">API URL에는 후행 슬래시 '/'가 있어서는 안 됩니다.</string>
<string id="WebhookFailed">웹훅 등록 실패</string>
<string id="TemplateError">템플릿을 렌더링하지 못했습니다.</string>
<string id="Available" scope="glance">사용 가능</string>
<string id="Checking" scope="glance">확인 중...</string>
<string id="NoPhone" scope="glance">전화가 연결되지 않았습니다.</string>
<string id="NoResponse">응답 없음, 인터넷 연결을 확인하세요</string>
<string id="PinInputLocked">PIN 입력이 잠겼습니다</string>
<string id="PotentialError">잠재적 오류</string>
<string id="Seconds"></string>
<string id="TemplateError">템플릿 오류</string>
<string id="TrailingSlashErr">API URL 끝에 슬래시(/)가 있어서는 안 됩니다.</string>
<string id="Unavailable" scope="glance">없는</string>
<string id="Unconfigured" scope="glance">구성되지 않음</string>
<string id="Cached" scope="glance">캐시됨</string>
<string id="GlanceMenu" scope="glance">메뉴</string>
<string id="Memory" scope="glance">메모리</string>
<!-- 설정 GUI의 경우 -->
<string id="UnhandledHttpErr">HTTP 요청이 오류 코드를 반환했습니다 =</string>
<string id="WebhookFailed">Webhook 등록에 실패했습니다.</string>
<string id="WrongPin">잘못된 PIN</string>
<!-- 설정 GUI의 경우 문자열은 사용된 순서대로 있어야 합니다. -->
<string id="SettingsSelect">선택하다...</string>
<string id="SettingsApiKey">HomeAssistant API 키.</string>
<string id="SettingsApiKey">HomeAssistant API 키.</string>
<string id="SettingsApiKeyPrompt">장기 액세스 토큰.</string>
<string id="SettingsApiUrl">HomeAssistant API의 URL입니다.</string>
<string id="SettingsConfigUrl">메뉴 구성을 위한 URL(JSON)입니다.</string>
<string id="SettingsCacheConfig">애플리케이션이 메뉴 구성을 캐시해야 합니까?</string>
<string id="SettingsClearCache">다음에 애플리케이션 기존 캐시를 지워야 할까요?
시작됐나요?</string>
<string id="SettingsAppTimeout">시간 초과(초)입니다. 이 기간이 지나면 응용 프로그램을 종료하십시오.
장치 배터리를 절약하기 위해 활동하지 않습니다.</string>
<string id="SettingsConfirmTimeout">이 시간(초)이 지나면 확인 대화 상자가 나타납니다.
작업이 자동으로 닫히고 작업이 취소됩니다. 시간 초과를 비활성화하려면 0으로 설정합니다.</string>
<string id="SettingsConfigUrl">메뉴 구성을 위한 URL(JSON).</string>
<string id="SettingsCacheConfig">애플리케이션이 메뉴 구성을 캐시해야 할까요?</string>
<string id="SettingsClearCache">다음에 애플리케이션을 시작할 때 기존 캐시를 지워야 합니까?</string>
<string id="SettingsVibration">앱에서 진동을 통해 피드백을 제공해야 할까요?</string>
<string id="SettingsAppTimeout">시간 초과(초). 이 기간 동안 활동이 없으면 애플리케이션을 종료하여 장치 배터리를 절약하세요.</string>
<string id="SettingsPollDelay">추가 폴 지연(초). 모든 메뉴 항목의 상태 업데이트 사이에 지연을 추가합니다.</string>
<string id="SettingsConfirmTimeout">이 시간(초) 이후에는 작업에 대한 확인 대화 상자가 자동으로 닫히고 작업이 취소됩니다. 시간 초과를 비활성화하려면 0으로 설정합니다.</string>
<string id="SettingsPin">확인이 필요한 모든 작업에 사용되는 4자리 PIN(0000-9999)</string>
<string id="SettingsPinError">애플리케이션 설정에서 0000~9999 사이의 유효한 4자리 숫자 PIN을 구성하세요.</string>
<string id="SettingsTextAlign">왼쪽(끄기) 또는 오른쪽(켜기) 메뉴 정렬.</string>
<string id="LeftToRight">왼쪽에서 오른쪽으로</string>
<string id="RightToLeft">오른쪽에서 왼쪽으로</string>
<string id="SettingsWidgetStart">(위젯만 해당) 위젯에서 자동으로 애플리케이션 시작
탭을 기다리지 않고.</string>
<string id="SettingsEnableBatteryLevel">시계 배터리를 보내려면 백그라운드 서비스를 활성화하세요.
홈어시스턴트 수준.</string>
<string id="SettingsBatteryLevelRefreshRate">배경이 재생되는 새로 고침 빈도(분)입니다.
서비스는 배터리 잔량 전송을 반복해야 합니다.</string>
<string id="WebhookId">(읽기 전용) 배터리 잔량 업데이트를 위해 시계에서 생성된 웹훅 ID입니다.
디버깅을 위해 이 정보가 필요할 수 있습니다.</string>
<string id="SettingsWidgetStart">(위젯만 해당) 탭을 기다리지 않고 위젯에서 자동으로 애플리케이션 시작합니다.</string>
<string id="SettingsEnableBatteryLevel">백그라운드 서비스를 활성화하여 기기의 배터리 수준, 위치 및 (지원되는 경우) 활동 데이터를 Home Assistant로 전송합니다.</string>
<string id="SettingsBatteryLevelRefreshRate">백그라운드 서비스가 데이터 전송을 반복해야 하는 새로 고침 빈도(분)입니다.</string>
<string id="WebhookId">(읽기 전용) 백그라운드 서비스 업데이트를 위해 디바이스에서 생성한 Webhook ID입니다. 디버깅에 필요할 수 있습니다.</string>
</strings>

View File

@ -0,0 +1,17 @@
<!--
Distributed under MIT Licence
See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
<drawables>
<bitmap id="LauncherIcon" filename="launcher.svg" />
</drawables>

View File

@ -0,0 +1,4 @@
<svg fill="none" height="52" viewBox="0 0 400 400" width="52" xmlns="http://www.w3.org/2000/svg">
<path d="M320 301.762C320 310.012 313.25 316.762 305 316.762H95C86.75 316.762 80 310.012 80 301.762V211.762C80 203.512 84.77 191.993 90.61 186.153L189.39 87.3725C195.22 81.5425 204.77 81.5425 210.6 87.3725L309.39 186.162C315.22 191.992 320 203.522 320 211.772V301.772V301.762Z" fill="#F2F4F9"/>
<path d="M309.39 186.153L210.61 87.3725C204.78 81.5425 195.23 81.5425 189.4 87.3725L90.61 186.153C84.78 191.983 80 203.512 80 211.762V301.762C80 310.012 86.75 316.762 95 316.762H187.27L146.64 276.132C144.55 276.852 142.32 277.262 140 277.262C128.7 277.262 119.5 268.062 119.5 256.762C119.5 245.462 128.7 236.262 140 236.262C151.3 236.262 160.5 245.462 160.5 256.762C160.5 259.092 160.09 261.322 159.37 263.412L191 295.042V179.162C184.2 175.822 179.5 168.842 179.5 160.772C179.5 149.472 188.7 140.272 200 140.272C211.3 140.272 220.5 149.472 220.5 160.772C220.5 168.842 215.8 175.822 209 179.162V260.432L240.46 228.972C239.84 227.012 239.5 224.932 239.5 222.772C239.5 211.472 248.7 202.272 260 202.272C271.3 202.272 280.5 211.472 280.5 222.772C280.5 234.072 271.3 243.272 260 243.272C257.5 243.272 255.12 242.802 252.91 241.982L209 285.892V316.772H305C313.25 316.772 320 310.022 320 301.772V211.772C320 203.522 315.23 192.002 309.39 186.162V186.153Z" fill="#18BCF2"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,17 @@
<!--
Distributed under MIT Licence
See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
<drawables>
<bitmap id="LauncherIcon" filename="launcher.svg" />
</drawables>

View File

@ -0,0 +1,4 @@
<svg fill="none" height="56" viewBox="0 0 400 400" width="56" xmlns="http://www.w3.org/2000/svg">
<path d="M320 301.762C320 310.012 313.25 316.762 305 316.762H95C86.75 316.762 80 310.012 80 301.762V211.762C80 203.512 84.77 191.993 90.61 186.153L189.39 87.3725C195.22 81.5425 204.77 81.5425 210.6 87.3725L309.39 186.162C315.22 191.992 320 203.522 320 211.772V301.772V301.762Z" fill="#F2F4F9"/>
<path d="M309.39 186.153L210.61 87.3725C204.78 81.5425 195.23 81.5425 189.4 87.3725L90.61 186.153C84.78 191.983 80 203.512 80 211.762V301.762C80 310.012 86.75 316.762 95 316.762H187.27L146.64 276.132C144.55 276.852 142.32 277.262 140 277.262C128.7 277.262 119.5 268.062 119.5 256.762C119.5 245.462 128.7 236.262 140 236.262C151.3 236.262 160.5 245.462 160.5 256.762C160.5 259.092 160.09 261.322 159.37 263.412L191 295.042V179.162C184.2 175.822 179.5 168.842 179.5 160.772C179.5 149.472 188.7 140.272 200 140.272C211.3 140.272 220.5 149.472 220.5 160.772C220.5 168.842 215.8 175.822 209 179.162V260.432L240.46 228.972C239.84 227.012 239.5 224.932 239.5 222.772C239.5 211.472 248.7 202.272 260 202.272C271.3 202.272 280.5 211.472 280.5 222.772C280.5 234.072 271.3 243.272 260 243.272C257.5 243.272 255.12 242.802 252.91 241.982L209 285.892V316.772H305C313.25 316.772 320 310.022 320 301.772V211.772C320 203.522 315.23 192.002 309.39 186.162V186.153Z" fill="#18BCF2"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,17 @@
<!--
Distributed under MIT Licence
See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/LICENSE.
GarminHomeAssistant is a Garmin IQ application written in Monkey C and routinely
tested on a Venu 2 device. The source code is provided at:
https://github.com/house-of-abbey/GarminHomeAssistant.
P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
-->
<drawables>
<bitmap id="LauncherIcon" filename="launcher.svg" />
</drawables>

View File

@ -0,0 +1,4 @@
<svg width="68" height="68" viewBox="0 0 400 400" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M320 301.762C320 310.012 313.25 316.762 305 316.762H95C86.75 316.762 80 310.012 80 301.762V211.762C80 203.512 84.77 191.993 90.61 186.153L189.39 87.3725C195.22 81.5425 204.77 81.5425 210.6 87.3725L309.39 186.162C315.22 191.992 320 203.522 320 211.772V301.772V301.762Z" fill="#F2F4F9"/>
<path d="M309.39 186.153L210.61 87.3725C204.78 81.5425 195.23 81.5425 189.4 87.3725L90.61 186.153C84.78 191.983 80 203.512 80 211.762V301.762C80 310.012 86.75 316.762 95 316.762H187.27L146.64 276.132C144.55 276.852 142.32 277.262 140 277.262C128.7 277.262 119.5 268.062 119.5 256.762C119.5 245.462 128.7 236.262 140 236.262C151.3 236.262 160.5 245.462 160.5 256.762C160.5 259.092 160.09 261.322 159.37 263.412L191 295.042V179.162C184.2 175.822 179.5 168.842 179.5 160.772C179.5 149.472 188.7 140.272 200 140.272C211.3 140.272 220.5 149.472 220.5 160.772C220.5 168.842 215.8 175.822 209 179.162V260.432L240.46 228.972C239.84 227.012 239.5 224.932 239.5 222.772C239.5 211.472 248.7 202.272 260 202.272C271.3 202.272 280.5 211.472 280.5 222.772C280.5 234.072 271.3 243.272 260 243.272C257.5 243.272 255.12 242.802 252.91 241.982L209 285.892V316.772H305C313.25 316.772 320 310.022 320 301.772V211.772C320 203.522 315.23 192.002 309.39 186.162V186.153Z" fill="#18BCF2"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Protams?</string>
<string id="Executed" scope="glance">Apstiprināts</string>
<string id="NoPhone" scope="glance">Nav tālruņa savienojuma</string>
<string id="NoInternet">Nav interneta savienojuma</string>
<string id="NoResponse">Nav atbildes, pārbaudiet interneta savienojumu</string>
<string id="NoAPIKey" scope="glance">Lietojumprogrammas iestatījumos nav API atslēgas</string>
<string id="NoApiUrl" scope="glance">Lietojumprogrammas iestatījumos nav API URL</string>
<string id="NoConfigUrl" scope="glance">Lietojumprogrammas iestatījumos nav konfigurācijas URL</string>
<string id="ApiFlood">API izsaukumi ir pārāk ātri. Lūdzu, palēniniet pieprasījumu izpildi.</string>
<string id="ApiUrlNotFound">URL nav atrasts. Iespējama API URL kļūda iestatījumos.</string>
<string id="ConfigUrlNotFound">URL nav atrasts. Iespējama konfigurācijas URL kļūda iestatījumos.</string>
<string id="NoJson">No HTTP pieprasījuma netika atgriezts neviens JSON fails.</string>
<string id="UnhandledHttpErr">HTTP pieprasījums atgrieza kļūdas kodu =</string>
<string id="TrailingSlashErr">API URL beigās nedrīkst būt slīpsvītra “/”</string>
<string id="WebhookFailed">Neizdevās reģistrēt Web aizķeri</string>
<string id="TemplateError">Neizdevās renderēt veidni</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Pieejams</string>
<string id="Checking" scope="glance">Notiek pārbaude...</string>
<string id="Unavailable" scope="glance">Nav pieejams</string>
<string id="Unconfigured" scope="glance">Nav konfigurēts</string>
<string id="Cached" scope="glance">Kešatmiņā saglabāts</string>
<string id="Checking" scope="glance">Notiek pārbaude...</string>
<string id="ConfigUrlNotFound">URL nav atrasts. Iespējama konfigurācijas URL kļūda iestatījumos.</string>
<string id="Confirm">Protams?</string>
<string id="Empty">Tukšs</string>
<string id="Executed" scope="glance">Apstiprināts</string>
<string id="GlanceMenu" scope="glance">Izvēlne</string>
<string id="Memory" scope="glance">Atmiņa</string>
<!-- Iestatījumu GUI -->
<string id="NoAPIKey" scope="glance">Lietojumprogrammas iestatījumos nav API atslēgas.</string>
<string id="NoApiUrl" scope="glance">Lietojumprogrammas iestatījumos nav API URL.</string>
<string id="NoConfigUrl" scope="glance">Lietojumprogrammas iestatījumos nav konfigurācijas URL.</string>
<string id="NoInternet">Nav interneta savienojuma.</string>
<string id="NoJson">No HTTP pieprasījuma netika atgriezts neviens JSON fails.</string>
<string id="NoPhone" scope="glance">Nav tālruņa savienojuma.</string>
<string id="NoResponse">Nav atbildes, pārbaudiet interneta savienojumu</string>
<string id="PinInputLocked">PIN ievade bloķēta</string>
<string id="PotentialError">Iespējama kļūda</string>
<string id="Seconds">sekundes</string>
<string id="TemplateError">Veidnes kļūda</string>
<string id="TrailingSlashErr">API URL beigās nedrīkst būt slīpsvītra “/”.</string>
<string id="Unavailable" scope="glance">Nav pieejams</string>
<string id="Unconfigured" scope="glance">Nav konfigurēts</string>
<string id="UnhandledHttpErr">HTTP pieprasījums atgrieza kļūdas kodu =</string>
<string id="WebhookFailed">Neizdevās reģistrēt Web aizķeri</string>
<string id="WrongPin">Nepareizs PIN</string>
<!-- Iestatījumu GUI virknēm jābūt tādā secībā, kādā tās tiek izmantotas. -->
<string id="SettingsSelect">Izvēlieties...</string>
<string id="SettingsApiKey">API atslēga Home Assistant.</string>
<string id="SettingsApiKeyPrompt">Ilgmūžīgs piekļuves marķieris.</string>
<string id="SettingsApiUrl">HomeAssistant API URL.</string>
<string id="SettingsConfigUrl">URL izvēlnes konfigurācijai (JSON).</string>
<string id="SettingsCacheConfig">Vai lietojumprogrammai vajadzētu saglabāt izvēlnes konfigurāciju kešatmiņā?</string>
<string id="SettingsClearCache">Ja lietojumprogramma nākamreiz notīra esošo kešatmiņu
sākās?</string>
<string id="SettingsAppTimeout">Taimauts sekundēs. Izejiet no lietojumprogrammas pēc šī perioda
neaktivitāte, lai taupītu ierīces akumulatoru.</string>
<string id="SettingsConfirmTimeout">Pēc šī laika (sekundēs) tiek parādīts apstiprinājuma dialoglodziņš
darbība tiek automātiski aizvērta un darbība tiek atcelta. Iestatiet uz 0, lai atspējotu taimautu.</string>
<string id="SettingsClearCache">Vai lietojumprogrammai nākamajā startēšanas reizē vajadzētu notīrīt esošo kešatmiņu?</string>
<string id="SettingsVibration">Vai lietojumprogrammai ir jāsniedz atgriezeniskā saite, izmantojot vibrācijas?</string>
<string id="SettingsAppTimeout">Taimauts sekundēs. Pēc šī neaktivitātes perioda izejiet no lietojumprogrammas, lai taupītu ierīces akumulatoru.</string>
<string id="SettingsPollDelay">Papildu aptaujas aizkave (sekundēs). Pievieno aizkavi starp visu izvēlnes vienumu statusa atjaunināšanu.</string>
<string id="SettingsConfirmTimeout">Pēc šī laika (sekundēs) tiek automātiski aizvērts darbības apstiprinājuma dialoglodziņš un darbība tiek atcelta. Iestatiet uz 0, lai atspējotu taimautu.</string>
<string id="SettingsPin">4 ciparu PIN, kas jāizmanto visām darbībām, kurām nepieciešams apstiprinājums (0000-9999).</string>
<string id="SettingsPinError">Lūdzu, konfigurējiet derīgu 4 ciparu ciparu PIN kodu no 0000 līdz 9999 lietojumprogrammas iestatījumos.</string>
<string id="SettingsTextAlign">Kreisā (izslēgta) vai labā (ieslēgta) izvēlnes izlīdzināšana.</string>
<string id="LeftToRight">No kreisās uz labo</string>
<string id="RightToLeft">No labās uz kreiso</string>
<string id="SettingsWidgetStart">(tikai logrīkam) Automātiski startējiet lietojumprogrammu no logrīka
negaidot pieskārienu.</string>
<string id="SettingsEnableBatteryLevel">Iespējojiet fona pakalpojumu, lai nosūtītu pulksteņa akumulatoru
Mājas palīga līmenī.</string>
<string id="SettingsBatteryLevelRefreshRate">Atsvaidzes intensitāte (minūtēs), ar kādu fons
pakalpojumam ir jāatkārto akumulatora līmeņa nosūtīšana.</string>
<string id="WebhookId">(Tikai lasāms) Web aizķeres ID, ko pulkstenis izveidojis akumulatora uzlādes līmeņa atjauninājumiem.
Tas var būt nepieciešams atkļūdošanai.</string>
<string id="SettingsWidgetStart">(tikai logrīkam) Automātiski startējiet lietojumprogrammu no logrīka, negaidot pieskārienu.</string>
<string id="SettingsEnableBatteryLevel">Iespējojiet fona pakalpojumu, lai Home Assistant nosūtītu ierīces akumulatora uzlādes līmeni, atrašanās vietu un (ja tiek atbalstīts) darbības datus.</string>
<string id="SettingsBatteryLevelRefreshRate">Atsvaidzes biežums (minūtēs), ar kādu fona pakalpojumam ir jāatkārto datu sūtīšana.</string>
<string id="WebhookId">(Tikai lasāms) Web aizķeres ID, ko ierīce izveidojusi fona pakalpojumu atjauninājumiem. Tas var būt nepieciešams atkļūdošanai.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Žinoma?</string>
<string id="Executed" scope="glance">Patvirtinta</string>
<string id="NoPhone" scope="glance">Nėra telefono ryšio</string>
<string id="NoInternet">Nėra interneto ryšio</string>
<string id="NoResponse">Neatsako, patikrinkite interneto ryšį</string>
<string id="NoAPIKey" scope="glance">Programos nustatymuose nėra API rakto</string>
<string id="NoApiUrl" scope="glance">Programos nustatymuose nėra API URL</string>
<string id="NoConfigUrl" scope="glance">Programos nustatymuose nėra konfigūracijos URL</string>
<string id="ApiFlood">API skambučiai per greiti. Sulėtinkite prašymų vykdymą.</string>
<string id="ApiUrlNotFound">URL nerastas. Galima API URL klaida nustatymuose.</string>
<string id="ConfigUrlNotFound">URL nerastas. Galima konfigūracijos URL klaida nustatymuose.</string>
<string id="NoJson">Joks JSON negrąžintas iš HTTP užklausos.</string>
<string id="UnhandledHttpErr">HTTP užklausa grąžino klaidos kodą =</string>
<string id="TrailingSlashErr">API URL pabaigoje negali būti pasvirojo brūkšnio „/“</string>
<string id="WebhookFailed">Nepavyko užregistruoti Webhook</string>
<string id="TemplateError">Nepavyko pateikti šablono</string>
<string id="Available" scope="glance">Yra</string>
<string id="Checking" scope="glance">Tikrinama...</string>
<string id="Unavailable" scope="glance">Nepasiekiamas</string>
<string id="Unconfigured" scope="glance">Nesukonfigūruotas</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Galima</string>
<string id="Cached" scope="glance">Talpykloje</string>
<string id="Checking" scope="glance">Tikrinama...</string>
<string id="ConfigUrlNotFound">URL nerastas. Galima konfigūracijos URL klaida nustatymuose.</string>
<string id="Confirm">Žinoma?</string>
<string id="Empty">Tuščia</string>
<string id="Executed" scope="glance">Patvirtinta</string>
<string id="GlanceMenu" scope="glance">Meniu</string>
<string id="Memory" scope="glance">Atmintis</string>
<!-- Dėl nustatymų GUI -->
<string id="NoAPIKey" scope="glance">Programos nustatymuose nėra API rakto.</string>
<string id="NoApiUrl" scope="glance">Programos nustatymuose nėra API URL.</string>
<string id="NoConfigUrl" scope="glance">Programos nustatymuose nėra konfigūracijos URL.</string>
<string id="NoInternet">Nėra interneto ryšio.</string>
<string id="NoJson">Joks JSON negrąžintas iš HTTP užklausos.</string>
<string id="NoPhone" scope="glance">Nėra telefono ryšio.</string>
<string id="NoResponse">Neatsako, patikrinkite interneto ryšį</string>
<string id="PinInputLocked">PIN įvestis užrakinta</string>
<string id="PotentialError">Galima klaida</string>
<string id="Seconds">sekundžių</string>
<string id="TemplateError">Šablono klaida</string>
<string id="TrailingSlashErr">API URL pabaigoje negali būti pasvirojo brūkšnio „/“.</string>
<string id="Unavailable" scope="glance">Nepasiekiamas</string>
<string id="Unconfigured" scope="glance">Nesukonfigūruotas</string>
<string id="UnhandledHttpErr">HTTP užklausa grąžino klaidos kodą =</string>
<string id="WebhookFailed">Nepavyko užregistruoti Webhook</string>
<string id="WrongPin">Neteisingas PIN kodas</string>
<!-- Nustatymų GUI eilutės turi būti tokia tvarka, kokia jos naudojamos. -->
<string id="SettingsSelect">Pasirinkite...</string>
<string id="SettingsApiKey">API raktas, skirtas „HomeAssistant“.</string>
<string id="SettingsApiKeyPrompt">Ilgalaikis prieigos raktas.</string>
<string id="SettingsApiUrl">„HomeAssistant“ API URL.</string>
<string id="SettingsConfigUrl">Meniu konfigūravimo URL (JSON).</string>
<string id="SettingsCacheConfig">Ar programa turėtų talpykloje išsaugoti meniu konfigūraciją?</string>
<string id="SettingsClearCache">Ar programa kitą kartą išvalys esamą talpyklą
prasidėjo?</string>
<string id="SettingsAppTimeout">Skirtasis laikas sekundėmis. Išeikite iš programos pasibaigus šiam laikotarpiui
neaktyvumas, kad taupytų įrenginio akumuliatorių.</string>
<string id="SettingsConfirmTimeout">Po šio laiko (sekundėmis) atsiras patvirtinimo dialogo langas
veiksmas automatiškai uždaromas ir veiksmas atšaukiamas. Nustatykite 0, kad išjungtumėte skirtąjį laiką.</string>
<string id="SettingsClearCache">Ar programa turėtų išvalyti esamą talpyklą kitą kartą paleidus?</string>
<string id="SettingsVibration">Ar programa turėtų teikti grįžtamąjį ryšį per vibraciją?</string>
<string id="SettingsAppTimeout">Skirtasis laikas sekundėmis. Po šio neveiklumo laikotarpio išeikite iš programos, kad taupytumėte įrenginio akumuliatorių.</string>
<string id="SettingsPollDelay">Papildoma apklausos delsa (sekundėmis). Prideda delsą tarp visų meniu elementų būsenos atnaujinimo.</string>
<string id="SettingsConfirmTimeout">Praėjus šiam laikui (sekundėmis), veiksmo patvirtinimo dialogo langas automatiškai uždaromas ir veiksmas atšaukiamas. Nustatykite 0, kad išjungtumėte skirtąjį laiką.</string>
<string id="SettingsPin">4 skaitmenų PIN kodas, naudojamas visiems veiksmams, kuriuos reikia patvirtinti (0000-9999).</string>
<string id="SettingsPinError">Programos nustatymuose sukonfigūruokite galiojantį 4 skaitmenų skaitmeninį PIN kodą nuo 0000 iki 9999.</string>
<string id="SettingsTextAlign">Kairysis (išjungtas) arba dešinysis (įjungtas) meniu lygiavimas.</string>
<string id="LeftToRight">Iš kairės į dešinę</string>
<string id="RightToLeft">Iš dešinės į kairę</string>
<string id="SettingsWidgetStart">(Tik valdiklis) Automatiškai paleiskite programą iš valdiklio
nelaukdamas bakstelėjimo.</string>
<string id="SettingsEnableBatteryLevel">Įgalinkite foninę paslaugą, kad išsiųstumėte laikrodžio bateriją
lygiu iki namų asistento.</string>
<string id="SettingsBatteryLevelRefreshRate">Fono atnaujinimo dažnis (minutėmis).
paslauga turėtų pakartoti baterijos lygio siuntimą.</string>
<string id="WebhookId">(Tik skaitoma) Laikrodžio sukurtas „Webhook“ ID, kad būtų galima atnaujinti akumuliatoriaus lygį.
Jums gali prireikti derinimo.</string>
<string id="SettingsWidgetStart">(Tik valdikliui) Automatiškai paleiskite programą iš valdiklio, nelaukdami, kol bus palietus.</string>
<string id="SettingsEnableBatteryLevel">Įgalinkite foninę paslaugą, kad į „Home Assistant“ būtų išsiųsti įrenginio akumuliatoriaus lygio, vietos ir (jei palaikoma) veiklos duomenys.</string>
<string id="SettingsBatteryLevelRefreshRate">Atnaujinimo dažnis (minutėmis), kuriuo foninė paslauga turėtų pakartoti duomenų siuntimą.</string>
<string id="WebhookId">(Tik skaitoma) Įrenginio sukurtas „Webhook“ ID, skirtas foninėms paslaugoms atnaujinti. Jums gali prireikti derinimo.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Sikker?</string>
<string id="Executed" scope="glance">Bekreftet</string>
<string id="NoPhone" scope="glance">Ingen telefonforbindelse</string>
<string id="NoInternet">Ingen Internett-tilkobling</string>
<string id="NoResponse">Ingen svar, sjekk Internett-tilkoblingen</string>
<string id="NoAPIKey" scope="glance">Ingen API-nøkkel i applikasjonsinnstillingene</string>
<string id="NoApiUrl" scope="glance">Ingen API-URL i applikasjonsinnstillingene</string>
<string id="NoConfigUrl" scope="glance">Ingen konfigurasjons-URL i applikasjonsinnstillingene</string>
<string id="ApiFlood">API-kall for raske. Vennligst senke forespørslene dine.</string>
<string id="ApiUrlNotFound">Finner ikke URL. Potensiell API URL-feil i innstillingene.</string>
<string id="ConfigUrlNotFound">Finner ikke URL. Potensiell konfigurasjons-URL-feil i innstillingene.</string>
<string id="NoJson">Ingen JSON returnert fra HTTP-forespørsel.</string>
<string id="UnhandledHttpErr">HTTP-forespørsel returnerte feilkode =</string>
<string id="TrailingSlashErr">API URL må ikke ha en etterfølgende skråstrek '/'</string>
<string id="WebhookFailed">Kunne ikke registrere Webhook</string>
<string id="TemplateError">Kunne ikke gjengi malen</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Tilgjengelig</string>
<string id="Checking" scope="glance">Sjekker...</string>
<string id="Unavailable" scope="glance">Utilgjengelig</string>
<string id="Unconfigured" scope="glance">Ukonfigurert</string>
<string id="Cached" scope="glance">Bufret</string>
<string id="Checking" scope="glance">Sjekker...</string>
<string id="ConfigUrlNotFound">Finner ikke URL. Potensiell konfigurasjons-URL-feil i innstillingene.</string>
<string id="Confirm">Sikker?</string>
<string id="Empty">Tømme</string>
<string id="Executed" scope="glance">Bekreftet</string>
<string id="GlanceMenu" scope="glance">Meny</string>
<string id="Memory" scope="glance">Hukommelse</string>
<!-- For innstillingene GUI -->
<string id="SettingsSelect">Plukke ut...</string>
<string id="NoAPIKey" scope="glance">Ingen API-nøkkel i applikasjonsinnstillingene.</string>
<string id="NoApiUrl" scope="glance">Ingen API-URL i applikasjonsinnstillingene.</string>
<string id="NoConfigUrl" scope="glance">Ingen konfigurasjons-URL i applikasjonsinnstillingene.</string>
<string id="NoInternet">Ingen Internett-tilkobling.</string>
<string id="NoJson">Ingen JSON returnert fra HTTP-forespørsel.</string>
<string id="NoPhone" scope="glance">Ingen telefonforbindelse.</string>
<string id="NoResponse">Ingen svar, sjekk Internett-tilkoblingen</string>
<string id="PinInputLocked">PIN-inntasting låst for</string>
<string id="PotentialError">Potensiell feil</string>
<string id="Seconds">sekunder</string>
<string id="TemplateError">Malfeil</string>
<string id="TrailingSlashErr">API URL må ikke ha en etterfølgende skråstrek '/'.</string>
<string id="Unavailable" scope="glance">Utilgjengelig</string>
<string id="Unconfigured" scope="glance">Ukonfigurert</string>
<string id="UnhandledHttpErr">HTTP-forespørsel returnerte feilkode =</string>
<string id="WebhookFailed">Kunne ikke registrere Webhook</string>
<string id="WrongPin">Feil PIN-kode</string>
<!-- For innstillingene GUI, bør strenger være i den rekkefølgen de brukes. -->
<string id="SettingsSelect">Velge...</string>
<string id="SettingsApiKey">API-nøkkel for HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Langlevd tilgangstoken.</string>
<string id="SettingsApiUrl">URL for HomeAssistant API.</string>
<string id="SettingsConfigUrl">URL for menykonfigurasjon (JSON).</string>
<string id="SettingsCacheConfig">Skal applikasjonen bufre menykonfigurasjonen?</string>
<string id="SettingsClearCache">Skal applikasjonen tømme den eksisterende cachen neste gang den er det
startet?</string>
<string id="SettingsAppTimeout">Tidsavbrudd i sekunder. Avslutt søknaden etter denne perioden
inaktivitet for å spare enhetens batteri.</string>
<string id="SettingsConfirmTimeout">Etter denne tiden (i sekunder), vises en bekreftelsesdialog for en
handlingen lukkes automatisk og handlingen avbrytes. Sett til 0 for å deaktivere tidsavbruddet.</string>
<string id="SettingsClearCache">Bør applikasjonen tømme den eksisterende cachen neste gang den startes?</string>
<string id="SettingsVibration">Skal applikasjonen gi tilbakemelding via vibrasjoner?</string>
<string id="SettingsAppTimeout">Tidsavbrudd i sekunder. Avslutt applikasjonen etter denne perioden med inaktivitet for å spare enhetens batteri.</string>
<string id="SettingsPollDelay">Ytterligere avstemningsforsinkelse (i sekunder). Legger til en forsinkelse mellom statusoppdatering av alle menyelementer.</string>
<string id="SettingsConfirmTimeout">Etter denne tiden (i sekunder), lukkes en bekreftelsesdialog for en handling automatisk og handlingen avbrytes. Sett til 0 for å deaktivere tidsavbruddet.</string>
<string id="SettingsPin">4-sifret PIN-kode som skal brukes for alle handlinger som krever bekreftelse (0000-9999).</string>
<string id="SettingsPinError">Konfigurer en gyldig 4-sifret numerisk PIN-kode mellom 0000 og 9999 i applikasjonsinnstillingene.</string>
<string id="SettingsTextAlign">Venstre (av) eller Høyre (på) Menyjustering.</string>
<string id="LeftToRight">Venstre til høyre</string>
<string id="RightToLeft">Høyre til venstre</string>
<string id="SettingsWidgetStart">(Kun widget) Start applikasjonen automatisk fra widgeten
uten å vente på et trykk.</string>
<string id="SettingsEnableBatteryLevel">Aktiver bakgrunnstjenesten for å sende klokkebatteriet
nivå til Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Oppdateringshastigheten (i minutter) som bakgrunnen
tjenesten skal gjenta sendingen av batterinivået.</string>
<string id="WebhookId">(Skrivebeskyttet) Webhook-IDen opprettet av klokken for oppdateringer av batterinivå.
Du kan kreve dette for feilsøking.</string>
<string id="SettingsWidgetStart">(Kun widget) Start applikasjonen automatisk fra widgeten uten å vente på et trykk.</string>
<string id="SettingsEnableBatteryLevel">Aktiver bakgrunnstjenesten for å sende enhetens batterinivå, plassering og (hvis støttet) aktivitetsdata til Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Oppdateringshastigheten (i minutter) som bakgrunnstjenesten skal gjenta sending av data med.</string>
<string id="WebhookId">(Skrivebeskyttet) Webhook-IDen opprettet av enheten for bakgrunnstjenesteoppdateringer. Du kan kreve dette for feilsøking.</string>
</strings>

View File

@ -15,56 +15,58 @@
<!--
Generated by Google Translate: English to Polish
Wygenerowane przez Tłumacz Google z języka angielskiego
Wygenerowano przez Google Tłumacz z języka angielskiego
-->
<strings>
<string id="ApiFlood">Wywołania API są zbyt szybkie. Proszę zwolnić żądania.</string>
<string id="ApiUrlNotFound">Nie znaleziono adresu URL. Potencjalny błąd adresu URL API w ustawieniach.</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Jasne?</string>
<string id="Executed" scope="glance">Potwierdzony</string>
<string id="NoPhone" scope="glance">Brak połączenia telefonicznego</string>
<string id="NoInternet">Brak połączenia z internetem</string>
<string id="NoResponse">Brak odpowiedzi, sprawdź połączenie internetowe</string>
<string id="NoAPIKey" scope="glance">Brak klucza API w ustawieniach aplikacji</string>
<string id="NoApiUrl" scope="glance">Brak adresu API w ustawieniach aplikacji</string>
<string id="NoConfigUrl" scope="glance">Brak adresu URL konfiguracji w ustawieniach aplikacji</string>
<string id="ApiFlood">Wywołania API są zbyt szybkie. Proszę spowolnić swoje żądania.</string>
<string id="ApiUrlNotFound">Nie znaleziono adresu URL. Potencjalny błąd adresu URL interfejsu API w ustawieniach.</string>
<string id="ConfigUrlNotFound">Nie znaleziono adresu URL. Potencjalny błąd adresu URL konfiguracji w ustawieniach.</string>
<string id="NoJson">Z żądania HTTP nie zwrócono żadnego kodu JSON.</string>
<string id="UnhandledHttpErr">Żądanie HTTP zwróciło kod błędu =</string>
<string id="TrailingSlashErr">Adres URL interfejsu API nie może zawierać końcowego ukośnika „/”</string>
<string id="WebhookFailed">Nie udało się zarejestrować webhooka</string>
<string id="TemplateError">Nie udało się wyrenderować szablonu</string>
<string id="Available" scope="glance">Dostępny</string>
<string id="Cached" scope="glance">Zapisane w pamięci podręcznej</string>
<string id="Checking" scope="glance">Kontrola...</string>
<string id="Unavailable" scope="glance">Niedostępne</string>
<string id="Unconfigured" scope="glance">Nieskonfigurowane</string>
<string id="Cached" scope="glance">Buforowane</string>
<string id="ConfigUrlNotFound">Nie znaleziono adresu URL. Potencjalny błąd adresu URL konfiguracji w ustawieniach.</string>
<string id="Confirm">Jasne?</string>
<string id="Empty">Pusty</string>
<string id="Executed" scope="glance">Potwierdzony</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Pamięć</string>
<!-- Dla ustawień GUI -->
<string id="NoAPIKey" scope="glance">Brak klucza API w ustawieniach aplikacji.</string>
<string id="NoApiUrl" scope="glance">Brak adresu URL API w ustawieniach aplikacji.</string>
<string id="NoConfigUrl" scope="glance">Brak adresu URL konfiguracji w ustawieniach aplikacji.</string>
<string id="NoInternet">Brak połączenia z Internetem.</string>
<string id="NoJson">Żądanie HTTP nie zwróciło żadnego JSON-a.</string>
<string id="NoPhone" scope="glance">Brak połączenia telefonicznego.</string>
<string id="NoResponse">Brak odpowiedzi, sprawdź połączenie internetowe</string>
<string id="PinInputLocked">Wprowadzanie kodu PIN zablokowane</string>
<string id="PotentialError">Potencjalny błąd</string>
<string id="Seconds">towary drugiej jakości</string>
<string id="TemplateError">Błąd szablonu</string>
<string id="TrailingSlashErr">Adres URL interfejsu API nie może mieć ukośnika „/”.</string>
<string id="Unavailable" scope="glance">Nie płynny</string>
<string id="Unconfigured" scope="glance">Nieskonfigurowany</string>
<string id="UnhandledHttpErr">Żądanie HTTP zwróciło kod błędu =</string>
<string id="WebhookFailed">Nie udało się zarejestrować Webhook</string>
<string id="WrongPin">Zły PIN</string>
<!-- W przypadku interfejsu graficznego ustawień ciągi znaków powinny być w kolejności, w jakiej są używane. -->
<string id="SettingsSelect">Wybierać...</string>
<string id="SettingsApiKey">Klucz API dla HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Długowieczny token dostępu.</string>
<string id="SettingsApiUrl">Adres URL interfejsu API HomeAssistant.</string>
<string id="SettingsConfigUrl">Adres URL konfiguracji menu (JSON).</string>
<string id="SettingsApiKeyPrompt">Długoterminowy token dostępu.</string>
<string id="SettingsApiUrl">Adres URL dla API HomeAssistant.</string>
<string id="SettingsConfigUrl">Adres URL do konfiguracji menu (JSON).</string>
<string id="SettingsCacheConfig">Czy aplikacja powinna buforować konfigurację menu?</string>
<string id="SettingsClearCache">Czy następnym razem aplikacja powinna wyczyścić istniejącą pamięć podręczną
Rozpoczęty?</string>
<string id="SettingsAppTimeout">Limit czasu w sekundach. Wyjdź z aplikacji po upływie tego okresu
bezczynności, aby oszczędzać baterię urządzenia.</string>
<string id="SettingsConfirmTimeout">Po tym czasie (w sekundach) pojawi się okno dialogowe z potwierdzeniem
akcja zostaje automatycznie zamknięta, a akcja anulowana. Ustaw na 0, aby wyłączyć limit czasu.</string>
<string id="SettingsTextAlign">Wyrównanie menu do lewej (wyłączone) lub do prawej (włączone).</string>
<string id="SettingsClearCache">Czy aplikacja powinna wyczyścić pamięć podręczną przy następnym uruchomieniu?</string>
<string id="SettingsVibration">Czy aplikacja powinna przekazywać informacje zwrotne za pomocą wibracji?</string>
<string id="SettingsAppTimeout">Limit czasu w sekundach. Wyjdź z aplikacji po tym okresie bezczynności, aby oszczędzać baterię urządzenia.</string>
<string id="SettingsPollDelay">Dodatkowe opóźnienie sondowania (w sekundach). Dodaje opóźnienie między aktualizacją statusu wszystkich elementów menu.</string>
<string id="SettingsConfirmTimeout">Po tym czasie (w sekundach) okno dialogowe potwierdzenia akcji jest automatycznie zamykane, a akcja jest anulowana. Ustaw na 0, aby wyłączyć limit czasu.</string>
<string id="SettingsPin">4-cyfrowy kod PIN, który należy stosować do wszystkich czynności wymagających potwierdzenia (0000-9999).</string>
<string id="SettingsPinError">Proszę skonfigurować prawidłowy 4-cyfrowy kod PIN z zakresu od 0000 do 9999 w ustawieniach aplikacji.</string>
<string id="SettingsTextAlign">Wyrównanie menu do lewej (wyłączone) lub prawej (włączone).</string>
<string id="LeftToRight">Od lewej do prawej</string>
<string id="RightToLeft">Od prawej do lewej</string>
<string id="SettingsWidgetStart">(Tylko widget) Automatycznie uruchamiaj aplikację z poziomu widgetu
bez czekania na dotknięcie.</string>
<string id="SettingsEnableBatteryLevel">Włącz usługę w tle, aby wysłać baterię zegara
poziom do Asystenta Domowego.</string>
<string id="SettingsBatteryLevelRefreshRate">Częstotliwość odświeżania (w minutach), z jaką tło
serwis powinien powtórzyć wysyłanie poziomu naładowania baterii.</string>
<string id="WebhookId">(Tylko do odczytu) Identyfikator webhooka utworzony przez zegarek w celu aktualizacji poziomu baterii.
Możesz tego potrzebować do debugowania.</string>
<string id="SettingsWidgetStart">(Tylko widżet) Automatyczne uruchamianie aplikacji z widżetu bez czekania na dotknięcie.</string>
<string id="SettingsEnableBatteryLevel">Włącz usługę działającą w tle, aby wysyłać do Home Assistant dane dotyczące poziomu naładowania baterii urządzenia, jego lokalizacji i aktywności (jeśli jest obsługiwana).</string>
<string id="SettingsBatteryLevelRefreshRate">Częstotliwość odświeżania (w minutach), z jaką usługa działająca w tle powinna powtarzać wysyłanie danych.</string>
<string id="WebhookId">(Tylko do odczytu) Identyfikator webhooka utworzony przez urządzenie do aktualizacji usług w tle. Może być potrzebny do debugowania.</string>
</strings>

View File

@ -15,56 +15,58 @@
<!--
Generated by Google Translate: English to Portuguese
Gerado pelo Google Translate do inglês
Gerado pelo Google Tradutor do Inglês
-->
<strings>
<string id="ApiFlood">Chamadas de API muito rápidas. Por favor, diminua a velocidade de suas solicitações.</string>
<string id="ApiUrlNotFound">URL não encontrada. Possível erro de URL de API nas configurações.</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Claro?</string>
<string id="Executed" scope="glance">Confirmado</string>
<string id="NoPhone" scope="glance">Sem conexão telefônica</string>
<string id="NoInternet">Sem conexão com a Internet</string>
<string id="NoResponse">Sem resposta, verifique a conexão com a Internet</string>
<string id="NoAPIKey" scope="glance">Nenhuma chave de API nas configurações do aplicativo</string>
<string id="NoApiUrl" scope="glance">Nenhum URL de API nas configurações do aplicativo</string>
<string id="NoConfigUrl" scope="glance">Nenhum URL de configuração nas configurações do aplicativo</string>
<string id="ApiFlood">Chamadas de API muito rápidas. Por favor, diminua a velocidade de seus pedidos.</string>
<string id="ApiUrlNotFound">URL não encontrado. Possível erro de URL da API nas configurações.</string>
<string id="ConfigUrlNotFound">URL não encontrado. Possível erro de URL de configuração nas configurações.</string>
<string id="NoJson">Nenhum JSON foi retornado da solicitação HTTP.</string>
<string id="UnhandledHttpErr">Solicitação HTTP retornou código de erro =</string>
<string id="TrailingSlashErr">O URL da API não deve ter uma barra final '/'</string>
<string id="WebhookFailed">Falha ao registrar o Webhook</string>
<string id="TemplateError">Falha ao renderizar o modelo</string>
<string id="Available" scope="glance">Disponível</string>
<string id="Cached" scope="glance">Em cache</string>
<string id="Checking" scope="glance">Verificando...</string>
<string id="ConfigUrlNotFound">URL não encontrada. Possível erro de URL de configuração nas configurações.</string>
<string id="Confirm">Claro?</string>
<string id="Empty">Vazio</string>
<string id="Executed" scope="glance">Confirmado</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Memória</string>
<string id="NoAPIKey" scope="glance">Nenhuma chave de API nas configurações do aplicativo.</string>
<string id="NoApiUrl" scope="glance">Nenhuma URL de API nas configurações do aplicativo.</string>
<string id="NoConfigUrl" scope="glance">Nenhuma URL de configuração nas configurações do aplicativo.</string>
<string id="NoInternet">Sem conexão com a Internet.</string>
<string id="NoJson">Nenhum JSON foi retornado da solicitação HTTP.</string>
<string id="NoPhone" scope="glance">Sem conexão telefônica.</string>
<string id="NoResponse">Nenhuma resposta, verifique a conexão com a Internet</string>
<string id="PinInputLocked">Entrada de PIN bloqueada para</string>
<string id="PotentialError">Erro potencial</string>
<string id="Seconds">segundos</string>
<string id="TemplateError">Erro de modelo</string>
<string id="TrailingSlashErr">A URL da API não deve ter uma barra final '/'.</string>
<string id="Unavailable" scope="glance">Indisponível</string>
<string id="Unconfigured" scope="glance">Não configurado</string>
<string id="Cached" scope="glance">Em cache</string>
<string id="GlanceMenu" scope="glance">Cardápio</string>
<string id="Memory" scope="glance">Memória</string>
<!-- Para a GUI de configurações -->
<string id="UnhandledHttpErr">A solicitação HTTP retornou o código de erro =</string>
<string id="WebhookFailed">Falha ao registrar o Webhook</string>
<string id="WrongPin">PIN errado</string>
<!-- Para a GUI de configurações, as strings devem estar na ordem em que são usadas. -->
<string id="SettingsSelect">Selecione...</string>
<string id="SettingsApiKey">Chave de API para HomeAssistant.</string>
<string id="SettingsApiKey">Chave API para HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Token de acesso de longa duração.</string>
<string id="SettingsApiUrl">URL para API HomeAssistant.</string>
<string id="SettingsConfigUrl">URL para configuração do menu (JSON).</string>
<string id="SettingsApiUrl">URL para a API do HomeAssistant.</string>
<string id="SettingsConfigUrl">URL para configuração de menu (JSON).</string>
<string id="SettingsCacheConfig">O aplicativo deve armazenar em cache a configuração do menu?</string>
<string id="SettingsClearCache">O aplicativo deve limpar o cache existente na próxima vez que for
iniciado?</string>
<string id="SettingsAppTimeout">Tempo limite em segundos. Saia do aplicativo após esse período de
inatividade para economizar bateria do dispositivo.</string>
<string id="SettingsConfirmTimeout">Após este tempo (em segundos), uma caixa de diálogo de confirmação para um
a ação é automaticamente fechada e a ação é cancelada. Defina como 0 para desativar o tempo limite.</string>
<string id="SettingsClearCache">O aplicativo deve limpar o cache existente na próxima vez que for iniciado?</string>
<string id="SettingsVibration">O aplicativo deve fornecer feedback por meio de vibrações?</string>
<string id="SettingsAppTimeout">Tempo limite em segundos. Saia do aplicativo após esse período de inatividade para economizar a bateria do dispositivo.</string>
<string id="SettingsPollDelay">Atraso adicional de pesquisa (em segundos). Adiciona um atraso entre a atualização de status de todos os itens do menu.</string>
<string id="SettingsConfirmTimeout">Após esse tempo (em segundos), um diálogo de confirmação para uma ação é fechado automaticamente e a ação é cancelada. Defina como 0 para desabilitar o tempo limite.</string>
<string id="SettingsPin">PIN de 4 dígitos a ser usado para todas as ações que exigem confirmação (0000-9999).</string>
<string id="SettingsPinError">Configure um PIN numérico válido de 4 dígitos entre 0000 e 9999 nas configurações do aplicativo.</string>
<string id="SettingsTextAlign">Alinhamento do menu à esquerda (desligado) ou à direita (ligado).</string>
<string id="LeftToRight">Da esquerda para direita</string>
<string id="RightToLeft">Direita para esquerda</string>
<string id="SettingsWidgetStart">(Somente widget) Iniciar automaticamente o aplicativo a partir do widget
sem esperar por um toque.</string>
<string id="SettingsEnableBatteryLevel">Habilite o serviço em segundo plano para enviar a bateria do relógio
nível para Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">A taxa de atualização (em minutos) na qual o plano de fundo
o serviço deve repetir o envio do nível da bateria.</string>
<string id="WebhookId">(Somente leitura) O ID do Webhook criado pelo relógio para atualizações do nível da bateria.
Você pode precisar disso para depuração.</string>
<string id="LeftToRight">Da esquerda para a direita</string>
<string id="RightToLeft">Da direita para a esquerda</string>
<string id="SettingsWidgetStart">(Somente widget) Inicie o aplicativo automaticamente a partir do widget sem esperar por um toque.</string>
<string id="SettingsEnableBatteryLevel">Habilite o serviço em segundo plano para enviar o nível da bateria do dispositivo, a localização e (se compatível) dados de atividade para o Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">A taxa de atualização (em minutos) na qual o serviço em segundo plano deve repetir o envio de dados.</string>
<string id="WebhookId">(Somente leitura) O ID do Webhook criado pelo dispositivo para atualizações de serviço em segundo plano. Você pode precisar disso para depuração.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Sigur?</string>
<string id="Executed" scope="glance">Confirmat</string>
<string id="NoPhone" scope="glance">Fără conexiune telefonică</string>
<string id="NoInternet">Fără conexiune internet</string>
<string id="NoResponse">Niciun răspuns, verificați conexiunea la internet</string>
<string id="NoAPIKey" scope="glance">Nicio cheie API în setările aplicației</string>
<string id="NoApiUrl" scope="glance">Nicio adresă URL API în setările aplicației</string>
<string id="NoConfigUrl" scope="glance">Nicio adresă URL de configurare în setările aplicației</string>
<string id="ApiFlood">Apeluri API prea rapide. Vă rugăm să încetiniți cererile dvs.</string>
<string id="ApiUrlNotFound">Adresa URL nu a fost găsită. Potențială eroare URL API în setări.</string>
<string id="ConfigUrlNotFound">Adresa URL nu a fost găsită. Potențială eroare URL de configurare în setări.</string>
<string id="NoJson">Niciun JSON nu a fost returnat de la solicitarea HTTP.</string>
<string id="UnhandledHttpErr">Solicitarea HTTP a returnat codul de eroare =</string>
<string id="TrailingSlashErr">Adresa URL API nu trebuie să aibă o bară oblică „/”</string>
<string id="WebhookFailed">Nu s-a putut înregistra Webhook</string>
<string id="TemplateError">Șablonul a eșuat</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Disponibil</string>
<string id="Cached" scope="glance">În cache</string>
<string id="Checking" scope="glance">Control...</string>
<string id="ConfigUrlNotFound">Adresa URL nu a fost găsită. Potențială eroare URL de configurare în setări.</string>
<string id="Confirm">Sigur?</string>
<string id="Empty">Gol</string>
<string id="Executed" scope="glance">Confirmat</string>
<string id="GlanceMenu" scope="glance">Meniu</string>
<string id="Memory" scope="glance">Memorie</string>
<string id="NoAPIKey" scope="glance">Nicio cheie API în setările aplicației.</string>
<string id="NoApiUrl" scope="glance">Nicio adresă URL API în setările aplicației.</string>
<string id="NoConfigUrl" scope="glance">Nicio adresă URL de configurare în setările aplicației.</string>
<string id="NoInternet">Fără conexiune la internet.</string>
<string id="NoJson">Niciun JSON nu a fost returnat de la solicitarea HTTP.</string>
<string id="NoPhone" scope="glance">Fără conexiune telefonică.</string>
<string id="NoResponse">Niciun răspuns, verificați conexiunea la internet</string>
<string id="PinInputLocked">Introducerea PIN blocată pentru</string>
<string id="PotentialError">Eroare potențială</string>
<string id="Seconds">secunde</string>
<string id="TemplateError">Eroare de șablon</string>
<string id="TrailingSlashErr">Adresa URL API nu trebuie să aibă o bară oblică finală „/”.</string>
<string id="Unavailable" scope="glance">Indisponibil</string>
<string id="Unconfigured" scope="glance">Neconfigurat</string>
<string id="Cached" scope="glance">În cache</string>
<string id="GlanceMenu" scope="glance">Meniul</string>
<string id="Memory" scope="glance">Memorie</string>
<!-- Pentru GUI de setări -->
<string id="SettingsSelect">Selectați...</string>
<string id="UnhandledHttpErr">Solicitarea HTTP a returnat codul de eroare =</string>
<string id="WebhookFailed">Nu s-a putut înregistra Webhook</string>
<string id="WrongPin">PIN greșit</string>
<!-- Pentru GUI de setări, șirurile ar trebui să fie în ordinea în care sunt utilizate. -->
<string id="SettingsSelect">Selecta...</string>
<string id="SettingsApiKey">Cheie API pentru HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Token de acces cu viață lungă.</string>
<string id="SettingsApiUrl">Adresa URL pentru API-ul HomeAssistant.</string>
<string id="SettingsConfigUrl">URL pentru configurarea meniului (JSON).</string>
<string id="SettingsCacheConfig">Ar trebui aplicația să memoreze în cache configurația meniului?</string>
<string id="SettingsClearCache">Dacă aplicația șterge memoria cache existentă data viitoare
început?</string>
<string id="SettingsAppTimeout">Timeout în secunde. Ieșiți din aplicație după această perioadă de
inactivitate pentru a economisi bateria dispozitivului.</string>
<string id="SettingsConfirmTimeout">După acest timp (în secunde), un dialog de confirmare pentru un
acțiunea este închisă automat și acțiunea este anulată. Setați la 0 pentru a dezactiva timeout-ul.</string>
<string id="SettingsClearCache">Ar trebui aplicația să golească memoria cache existentă data viitoare când este pornită?</string>
<string id="SettingsVibration">Ar trebui aplicația să ofere feedback prin vibrații?</string>
<string id="SettingsAppTimeout">Timeout în secunde. Ieșiți din aplicație după această perioadă de inactivitate pentru a economisi bateria dispozitivului.</string>
<string id="SettingsPollDelay">Întârziere suplimentară a sondajului (în secunde). Adaugă o întârziere între actualizarea stării tuturor elementelor de meniu.</string>
<string id="SettingsConfirmTimeout">După acest timp (în secunde), un dialog de confirmare pentru o acțiune este închis automat și acțiunea este anulată. Setați la 0 pentru a dezactiva timeout-ul.</string>
<string id="SettingsPin">PIN din 4 cifre care va fi utilizat pentru toate acțiunile care necesită confirmare (0000-9999).</string>
<string id="SettingsPinError">Vă rugăm să configurați un PIN numeric valid din 4 cifre între 0000 și 9999 în setările aplicației.</string>
<string id="SettingsTextAlign">Alinierea meniului la stânga (dezactivată) sau la dreapta (activată).</string>
<string id="LeftToRight">De la stânga la dreapta</string>
<string id="RightToLeft">De la dreapta la stanga</string>
<string id="SettingsWidgetStart">(Numai widget) Porniți automat aplicația din widget
fără să aștepte o atingere.</string>
<string id="SettingsEnableBatteryLevel">Activați serviciul de fundal pentru a trimite bateria ceasului
nivel la Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Rata de reîmprospătare (în minute) la care fundalul
serviciul ar trebui să repete trimiterea nivelului bateriei.</string>
<string id="WebhookId">(Numai citire) ID-ul Webhook creat de ceas pentru actualizările nivelului bateriei.
Este posibil să aveți nevoie de acest lucru pentru depanare.</string>
<string id="RightToLeft">De la dreapta la stânga</string>
<string id="SettingsWidgetStart">(Numai widget) Porniți automat aplicația din widget fără a aștepta o atingere.</string>
<string id="SettingsEnableBatteryLevel">Activați serviciul de fundal pentru a trimite datele despre nivelul bateriei dispozitivului, locația și (dacă este acceptat) datele de activitate către Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Rata de reîmprospătare (în minute) la care serviciul de fundal ar trebui să repete trimiterea datelor.</string>
<string id="WebhookId">(Numai pentru citire) ID-ul Webhook creat de dispozitiv pentru actualizările serviciului de fundal. Este posibil să aveți nevoie de acest lucru pentru depanare.</string>
</strings>

View File

@ -20,5 +20,11 @@
<strings>
<string id="Confirm">Potvrďte</string>
<string id="Executed" scope="glance">Spustený</string>
<string id="Executed">Spustený</string>
<string id="NoAPIKey">V nastaveniach aplikácie chýba kľúč API</string>
<string id="NoApiUrl">V nastaveniach aplikácie chýba adresa URL rozhrania API</string>
<string id="NoConfigUrl">V nastaveniach aplikácie chýba konfiguračná adresa URL</string>
<string id="Unavailable">Nedostupné</string>
<string id="RightToLeft">Sprava doľava</string>
<string id="SettingsEnableBatteryLevel">Povoľte službu na pozadí, ktorá bude do Home Assistenta odosielať údaje o stave batérie zariadenia, polohe a (ak je podporované) o aktivite.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Potvrďte</string>
<string id="Executed" scope="glance">Spustený</string>
<string id="NoPhone" scope="glance">Žiadne telefónne spojenie</string>
<string id="NoInternet">Žiadne internetové pripojenie</string>
<string id="NoResponse">Žiadna odpoveď, skontrolujte internetové pripojenie</string>
<string id="NoAPIKey" scope="glance">V nastaveniach aplikácie nie je žiadny kľúč API</string>
<string id="NoApiUrl" scope="glance">V nastaveniach aplikácie nie je žiadna adresa URL rozhrania API</string>
<string id="NoConfigUrl" scope="glance">V nastaveniach aplikácie nie je žiadna konfiguračná URL</string>
<string id="ApiFlood">Volania API sú príliš rýchle. Spomaľte svoje požiadavky.</string>
<string id="ApiUrlNotFound">Adresa URL sa nenašla. Potenciálna chyba webovej adresy rozhrania API v nastaveniach.</string>
<string id="ConfigUrlNotFound">Adresa URL sa nenašla. Potenciálna chyba konfiguračnej adresy URL v nastaveniach.</string>
<string id="NoJson">Z požiadavky HTTP sa nevrátil žiadny JSON.</string>
<string id="UnhandledHttpErr">Požiadavka HTTP vrátila kód chyby =</string>
<string id="TrailingSlashErr">Adresa URL rozhrania API nesmie obsahovať koncovú lomku „/“</string>
<string id="WebhookFailed">Registrácia Webhooku zlyhala</string>
<string id="TemplateError">Vykreslenie šablóny zlyhalo</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Dostupné</string>
<string id="Checking" scope="glance">Prebieha kontrola...</string>
<string id="Unavailable" scope="glance">nedostupné</string>
<string id="Unconfigured" scope="glance">Nekonfigurované</string>
<string id="Cached" scope="glance">Vo vyrovnávacej pamäti</string>
<string id="GlanceMenu" scope="glance">Ponuka</string>
<string id="Memory" scope="glance">Pamäť</string>
<!-- Pre nastavenia GUI -->
<string id="Checking" scope="glance">Prebieha kontrola...</string>
<string id="ConfigUrlNotFound">Adresa URL sa nenašla. Potenciálna chyba konfiguračnej adresy URL v nastaveniach.</string>
<string id="Confirm">Potvrďte</string>
<string id="Empty">Prázdny</string>
<string id="Executed" scope="glance">Spustený</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">pamäť</string>
<string id="NoAPIKey" scope="glance">V nastaveniach aplikácie chýba kľúč API</string>
<string id="NoApiUrl" scope="glance">V nastaveniach aplikácie chýba adresa URL rozhrania API</string>
<string id="NoConfigUrl" scope="glance">V nastaveniach aplikácie chýba konfiguračná adresa URL</string>
<string id="NoInternet">Žiadne internetové pripojenie.</string>
<string id="NoJson">Z požiadavky HTTP sa nevrátil žiadny JSON.</string>
<string id="NoPhone" scope="glance">Žiadne telefónne spojenie.</string>
<string id="NoResponse">Žiadna odpoveď, skontrolujte internetové pripojenie</string>
<string id="PinInputLocked">Vstup PIN zablokovaný pre</string>
<string id="PotentialError">Potenciálna chyba</string>
<string id="Seconds">sekúnd</string>
<string id="TemplateError">Chyba šablóny</string>
<string id="TrailingSlashErr">Adresa URL rozhrania API nesmie obsahovať koncovú lomku „/“.</string>
<string id="Unavailable" scope="glance">Nedostupné</string>
<string id="Unconfigured" scope="glance">Nekonfigurované</string>
<string id="UnhandledHttpErr">Požiadavka HTTP vrátila kód chyby =</string>
<string id="WebhookFailed">Registrácia Webhooku zlyhala</string>
<string id="WrongPin">Nesprávny PIN</string>
<!-- Pre nastavenia GUI by reťazce mali byť v poradí, v akom sa používajú. -->
<string id="SettingsSelect">Vybrať...</string>
<string id="SettingsApiKey">Kľúč API pre HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Dlhotrvajúci prístupový token.</string>
<string id="SettingsApiKeyPrompt">Prístupový token s dlhou životnosťou.</string>
<string id="SettingsApiUrl">URL pre HomeAssistant API.</string>
<string id="SettingsConfigUrl">Webová adresa pre konfiguráciu ponuky (JSON).</string>
<string id="SettingsCacheConfig">Má aplikácia uložiť do vyrovnávacej pamäte konfiguráciu ponuky?</string>
<string id="SettingsClearCache">Mala by aplikácia nabudúce vymazať existujúcu vyrovnávaciu pamäť
začal?</string>
<string id="SettingsAppTimeout">Časový limit v sekundách. Po uplynutí tejto doby aplikáciu ukončite
nečinnosti, aby sa šetrila batéria zariadenia.</string>
<string id="SettingsConfirmTimeout">Po uplynutí tejto doby (v sekundách) sa zobrazí dialógové okno s potvrdením
akcia sa automaticky uzavrie a akcia sa zruší. Ak chcete časový limit deaktivovať, nastavte na 0.</string>
<string id="SettingsClearCache">Mala by aplikácia pri ďalšom spustení vymazať existujúcu vyrovnávaciu pamäť?</string>
<string id="SettingsVibration">Mala by aplikácia poskytovať spätnú väzbu prostredníctvom vibrácií?</string>
<string id="SettingsAppTimeout">Časový limit v sekundách. Po tejto dobe nečinnosti ukončite aplikáciu, aby ste šetrili batériu zariadenia.</string>
<string id="SettingsPollDelay">Dodatočné oneskorenie hlasovania (v sekundách). Pridáva oneskorenie medzi aktualizáciou stavu všetkých položiek ponuky.</string>
<string id="SettingsConfirmTimeout">Po tomto čase (v sekundách) sa dialógové okno s potvrdením akcie automaticky zatvorí a akcia sa zruší. Ak chcete časový limit deaktivovať, nastavte na 0.</string>
<string id="SettingsPin">4-ciferný PIN, ktorý sa má použiť pre všetky akcie, ktoré vyžadujú potvrdenie (0000-9999).</string>
<string id="SettingsPinError">V nastaveniach aplikácie nakonfigurujte platný 4-miestny číselný kód PIN medzi 0000 a 9999.</string>
<string id="SettingsTextAlign">Zarovnanie ponuky vľavo (vypnuté) alebo vpravo (zapnuté).</string>
<string id="LeftToRight">Zľava doprava</string>
<string id="RightToLeft">Zprava doľava</string>
<string id="SettingsWidgetStart">(Len miniaplikácia) Automaticky spustiť aplikáciu z miniaplikácie
bez čakania na klepnutie.</string>
<string id="SettingsEnableBatteryLevel">Povoľte službu na pozadí na odoslanie batérie hodín
úroveň na Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Obnovovacia frekvencia (v minútach), pri ktorej je pozadie
servis by mal zopakovať odoslanie úrovne batérie.</string>
<string id="WebhookId">(Iba na čítanie) Webhook ID vytvorený hodinkami na aktualizáciu úrovne batérie.
Možno to budete potrebovať na ladenie.</string>
<string id="RightToLeft">Sprava doľava</string>
<string id="SettingsWidgetStart">(Len miniaplikácia) Automaticky spustite aplikáciu z miniaplikácie bez čakania na klepnutie.</string>
<string id="SettingsEnableBatteryLevel">Povoľte službu na pozadí, ktorá bude do Home Assistenta odosielať údaje o stave batérie zariadenia, polohe a (ak je podporované) o aktivite.</string>
<string id="SettingsBatteryLevelRefreshRate">Obnovovacia frekvencia (v minútach), pri ktorej by služba na pozadí mala opakovať odosielanie údajov.</string>
<string id="WebhookId">(Len na čítanie) Webhook ID vytvorené zariadením pre aktualizácie služby na pozadí. Možno to budete potrebovať na ladenie.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Seveda?</string>
<string id="Executed" scope="glance">Potrjeno</string>
<string id="NoPhone" scope="glance">Ni telefonske povezave</string>
<string id="NoInternet">Ni internetne povezave</string>
<string id="NoResponse">Ni odgovora, preverite internetno povezavo</string>
<string id="NoAPIKey" scope="glance">V nastavitvah aplikacije ni ključa API</string>
<string id="NoApiUrl" scope="glance">V nastavitvah aplikacije ni URL-ja API-ja</string>
<string id="NoConfigUrl" scope="glance">V nastavitvah aplikacije ni konfiguracijskega URL-ja</string>
<string id="ApiFlood">API klici so prehitri. Prosim, upočasnite svoje zahteve.</string>
<string id="ApiUrlNotFound">URL-ja ni bilo mogoče najti. Morebitna napaka URL-ja API-ja v nastavitvah.</string>
<string id="ConfigUrlNotFound">URL-ja ni bilo mogoče najti. Morebitna napaka URL-ja konfiguracije v nastavitvah.</string>
<string id="NoJson">Zahteva HTTP ni vrnila JSON.</string>
<string id="UnhandledHttpErr">Zahteva HTTP je vrnila kodo napake =</string>
<string id="TrailingSlashErr">URL API-ja ne sme imeti končne poševnice '/'</string>
<string id="WebhookFailed">Webhooka ni bilo mogoče registrirati</string>
<string id="TemplateError">Upodabljanje predloge ni uspelo</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Na voljo</string>
<string id="Checking" scope="glance">Preverjanje ...</string>
<string id="Unavailable" scope="glance">Ni na voljo</string>
<string id="Unconfigured" scope="glance">Nekonfigurirano</string>
<string id="Cached" scope="glance">Predpomnjeno</string>
<string id="Checking" scope="glance">Preverjanje ...</string>
<string id="ConfigUrlNotFound">URL-ja ni bilo mogoče najti. Morebitna napaka URL-ja konfiguracije v nastavitvah.</string>
<string id="Confirm">Seveda?</string>
<string id="Empty">prazno</string>
<string id="Executed" scope="glance">Potrjeno</string>
<string id="GlanceMenu" scope="glance">meni</string>
<string id="Memory" scope="glance">Spomin</string>
<!-- Za nastavitve GUI -->
<string id="NoAPIKey" scope="glance">V nastavitvah aplikacije ni ključa API.</string>
<string id="NoApiUrl" scope="glance">V nastavitvah aplikacije ni URL-ja API-ja.</string>
<string id="NoConfigUrl" scope="glance">V nastavitvah aplikacije ni konfiguracijskega URL-ja.</string>
<string id="NoInternet">Ni internetne povezave.</string>
<string id="NoJson">Zahteva HTTP ni vrnila JSON.</string>
<string id="NoPhone" scope="glance">Ni telefonske povezave.</string>
<string id="NoResponse">Ni odgovora, preverite internetno povezavo</string>
<string id="PinInputLocked">Vnos PIN zaklenjen za</string>
<string id="PotentialError">Potencialna napaka</string>
<string id="Seconds">sekund</string>
<string id="TemplateError">Napaka predloge</string>
<string id="TrailingSlashErr">URL API-ja ne sme imeti končne poševnice '/'.</string>
<string id="Unavailable" scope="glance">Ni na voljo</string>
<string id="Unconfigured" scope="glance">Nekonfigurirano</string>
<string id="UnhandledHttpErr">Zahteva HTTP je vrnila kodo napake =</string>
<string id="WebhookFailed">Webhooka ni bilo mogoče registrirati</string>
<string id="WrongPin">Napačen PIN</string>
<!-- Za GUI nastavitev morajo biti nizi v vrstnem redu, kot so uporabljeni. -->
<string id="SettingsSelect">Izberite ...</string>
<string id="SettingsApiKey">API ključ za HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Dolgoživ dostopni žeton.</string>
<string id="SettingsApiUrl">URL za API HomeAssistant.</string>
<string id="SettingsConfigUrl">URL za konfiguracijo menija (JSON).</string>
<string id="SettingsCacheConfig">Ali naj aplikacija predpomni konfiguracijo menija?</string>
<string id="SettingsClearCache">Ali naj aplikacija naslednj počisti obstoječi predpomnilnik
začelo?</string>
<string id="SettingsAppTimeout">Časovna omejitev v sekundah. Po tem obdobju zaprite aplikacijo
nedejavnosti, da prihranite baterijo naprave.</string>
<string id="SettingsConfirmTimeout">Po tem času (v sekundah) se prikaže potrditveno pogovorno okno za an
dejanje se samodejno zapre in dejanje preklicano. Nastavite na 0, da onemogočite časovno omejitev.</string>
<string id="SettingsClearCache">Ali naj aplikacija ob naslednjem zagonu počisti obstoječi predpomnilnik?</string>
<string id="SettingsVibration">Ali naj aplikacija posreduje povratne informacije prek vibriranja?</string>
<string id="SettingsAppTimeout">Časovna omejitev v sekundah. Po tem obdobju nedejavnosti zaprite aplikacijo, da prihranite baterijo naprave.</string>
<string id="SettingsPollDelay">Dodatna zakasnitev ankete (v sekundah). Doda zakasnitev med posodobitvijo stanja vseh elementov menija.</string>
<string id="SettingsConfirmTimeout">Po tem času (v sekundah) se potrditveno pogovorno okno za dejanje samodejno zapre in dejanje je preklicano. Nastavite na 0, da onemogočite časovno omejitev.</string>
<string id="SettingsPin">4-mestni PIN, ki se uporablja za vsa dejanja, ki zahtevajo potrditev (0000-9999).</string>
<string id="SettingsPinError">V nastavitvah aplikacije konfigurirajte veljavno 4-mestno številčno kodo PIN med 0000 in 9999.</string>
<string id="SettingsTextAlign">Leva (izklopljena) ali desna (vklopljena) poravnava menija.</string>
<string id="LeftToRight">Od leve proti desni</string>
<string id="RightToLeft">Od desne proti levi</string>
<string id="SettingsWidgetStart">(Samo pripomoček) Samodejni zagon aplikacije iz pripomočka
brez čakanja na pipo.</string>
<string id="SettingsEnableBatteryLevel">Omogočite storitev v ozadju za pošiljanje baterije ure
stopnje do domačega pomočnika.</string>
<string id="SettingsBatteryLevelRefreshRate">Hitrost osveževanja (v minutah), pri kateri je ozadje
servis bi moral ponoviti pošiljanje stanja baterije.</string>
<string id="WebhookId">(Samo za branje) ID Webhook, ki ga ustvari ura za posodobitve ravni baterije.
To boste morda potrebovali za odpravljanje napak.</string>
<string id="SettingsWidgetStart">(Samo pripomoček) Samodejno zaženite aplikacijo iz pripomočka, ne da bi čakali na dotik.</string>
<string id="SettingsEnableBatteryLevel">Omogočite storitev v ozadju za pošiljanje podatkov o ravni baterije naprave, lokaciji in (če je podprto) dejavnosti domačemu pomočniku.</string>
<string id="SettingsBatteryLevelRefreshRate">Hitrost osveževanja (v minutah), pri kateri naj storitev v ozadju ponavlja pošiljanje podatkov.</string>
<string id="WebhookId">(Samo za branje) ID Webhook, ki ga ustvari naprava za posodobitve storitev v ozadju. To boste morda potrebovali za odpravljanje napak.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">¿Seguro?</string>
<string id="Executed" scope="glance">Confirmado</string>
<string id="NoPhone" scope="glance">Sin conexión telefónica</string>
<string id="NoInternet">Sin conexión a Internet</string>
<string id="NoResponse">No hay respuesta, verifique la conexión a Internet</string>
<string id="NoAPIKey" scope="glance">Sin clave API en la configuración de la aplicación</string>
<string id="NoApiUrl" scope="glance">No hay URL de API en la configuración de la aplicación</string>
<string id="NoConfigUrl" scope="glance">No hay URL de configuración en la configuración de la aplicación.</string>
<string id="ApiFlood">Llamadas API demasiado rápidas. Por favor, ralentice sus solicitudes.</string>
<string id="ApiFlood">Las llamadas a la API son demasiado rápidas. Reduzca la velocidad de sus solicitudes.</string>
<string id="ApiUrlNotFound">URL no encontrada. Posible error de URL de API en la configuración.</string>
<string id="ConfigUrlNotFound">URL no encontrada. Posible error de URL de configuración en la configuración.</string>
<string id="NoJson">No se devolvió ningún JSON de la solicitud HTTP.</string>
<string id="UnhandledHttpErr">La solicitud HTTP devolvió el código de error =</string>
<string id="TrailingSlashErr">La URL de API no debe tener una barra diagonal '/'</string>
<string id="WebhookFailed">No se pudo registrar el webhook</string>
<string id="TemplateError">No se pudo renderizar la plantilla</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Disponible</string>
<string id="Checking" scope="glance">Comprobación...</string>
<string id="Unavailable" scope="glance">Indisponible</string>
<string id="Unconfigured" scope="glance">Desconfigurado</string>
<string id="Cached" scope="glance">En caché</string>
<string id="Checking" scope="glance">De cheques...</string>
<string id="ConfigUrlNotFound">URL no encontrada. Posible error de configuración de URL en los ajustes.</string>
<string id="Confirm">¿Seguro?</string>
<string id="Empty">Vacío</string>
<string id="Executed" scope="glance">Confirmado</string>
<string id="GlanceMenu" scope="glance">Menú</string>
<string id="Memory" scope="glance">Memoria</string>
<!-- Para la configuración GUI -->
<string id="NoAPIKey" scope="glance">No hay clave API en la configuración de la aplicación.</string>
<string id="NoApiUrl" scope="glance">No hay URL de API en la configuración de la aplicación.</string>
<string id="NoConfigUrl" scope="glance">No hay URL de configuración en la configuración de la aplicación.</string>
<string id="NoInternet">Sin conexión a Internet.</string>
<string id="NoJson">No se devolvió JSON de la solicitud HTTP.</string>
<string id="NoPhone" scope="glance">Sin conexión telefónica.</string>
<string id="NoResponse">Sin respuesta, verifique la conexión a Internet</string>
<string id="PinInputLocked">Entrada de PIN bloqueada para</string>
<string id="PotentialError">Error potencial</string>
<string id="Seconds">artículos de segunda clase</string>
<string id="TemplateError">Error de plantilla</string>
<string id="TrailingSlashErr">La URL de la API no debe tener una barra diagonal final '/'.</string>
<string id="Unavailable" scope="glance">Indisponible</string>
<string id="Unconfigured" scope="glance">Sin configurar</string>
<string id="UnhandledHttpErr">La solicitud HTTP devolvió el código de error =</string>
<string id="WebhookFailed">Error al registrar el Webhook</string>
<string id="WrongPin">PIN incorrecto</string>
<!-- Para la configuración GUI, las cadenas deben estar en el orden en que se utilizan. -->
<string id="SettingsSelect">Seleccionar...</string>
<string id="SettingsApiKey">Clave API para HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Token de acceso de larga duración.</string>
<string id="SettingsApiUrl">URL para la API de HomeAssistant.</string>
<string id="SettingsConfigUrl">URL para configuración del menú (JSON).</string>
<string id="SettingsCacheConfig">¿La aplicación debería almacenar en caché la configuración del menú?</string>
<string id="SettingsClearCache">¿Debería la aplicación borrar el caché existente la próxima vez?
¿comenzó?</string>
<string id="SettingsAppTimeout">Tiempo de espera en segundos. Salga de la aplicación después de este período de
inactividad para ahorrar batería del dispositivo.</string>
<string id="SettingsConfirmTimeout">Después de este tiempo (en segundos), aparecerá un cuadro de diálogo de confirmación para una
La acción se cierra automáticamente y la acción se cancela. Establezca en 0 para desactivar el tiempo de espera.</string>
<string id="SettingsConfigUrl">URL para la configuración del menú (JSON).</string>
<string id="SettingsCacheConfig">¿Debe la aplicación almacenar en caché la configuración del menú?</string>
<string id="SettingsClearCache">¿La aplicación debe borrar el caché existente la próxima vez que se inicie?</string>
<string id="SettingsVibration">¿La aplicación debería proporcionar retroalimentación mediante vibraciones?</string>
<string id="SettingsAppTimeout">Tiempo de espera en segundos. Salga de la aplicación después de este período de inactividad para ahorrar batería del dispositivo.</string>
<string id="SettingsPollDelay">Retraso de sondeo adicional (en segundos). Agrega un retraso entre la actualización de estado de todos los elementos del menú.</string>
<string id="SettingsConfirmTimeout">Después de este tiempo (en segundos), se cierra automáticamente un cuadro de diálogo de confirmación de una acción y se cancela la acción. Establezca en 0 para desactivar el tiempo de espera.</string>
<string id="SettingsPin">PIN de 4 dígitos a utilizar para todas las acciones que requieran confirmación (0000-9999).</string>
<string id="SettingsPinError">Configure un PIN numérico válido de 4 dígitos entre 0000 y 9999 en la configuración de la aplicación.</string>
<string id="SettingsTextAlign">Alineación del menú izquierda (desactivada) o derecha (activada).</string>
<string id="LeftToRight">De izquierda a derecha</string>
<string id="RightToLeft">De derecha a izquierda</string>
<string id="SettingsWidgetStart">(Solo widget) Inicia automáticamente la aplicación desde el widget
sin esperar un toque.</string>
<string id="SettingsEnableBatteryLevel">Habilite el servicio en segundo plano para enviar la batería del reloj.
nivel a Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">La frecuencia de actualización (en minutos) a la que se reproduce el fondo.
El servicio debe repetir enviando el nivel de batería.</string>
<string id="WebhookId">(Solo lectura) El ID de Webhook creado por el reloj para actualizaciones del nivel de batería.
Es posible que necesite esto para la depuración.</string>
<string id="SettingsWidgetStart">(Solo widget) Inicia automáticamente la aplicación desde el widget sin esperar un toque.</string>
<string id="SettingsEnableBatteryLevel">Habilite el servicio en segundo plano para enviar el nivel de batería del dispositivo, la ubicación y (si es compatible) los datos de actividad a Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">La frecuencia de actualización (en minutos) con la que el servicio en segundo plano debe repetir el envío de datos.</string>
<string id="WebhookId">(Solo lectura) El ID del webhook creado por el dispositivo para las actualizaciones del servicio en segundo plano. Es posible que lo necesites para la depuración.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Säker?</string>
<string id="Executed" scope="glance">Bekräftad</string>
<string id="NoPhone" scope="glance">Ingen telefonanslutning</string>
<string id="NoInternet">Ingen internetanslutning</string>
<string id="NoResponse">Inget svar, kontrollera internetanslutningen</string>
<string id="NoAPIKey" scope="glance">Ingen API-nyckel i applikationsinställningarna</string>
<string id="NoApiUrl" scope="glance">Ingen API-URL i programinställningarna</string>
<string id="NoConfigUrl" scope="glance">Ingen konfigurations-URL i programinställningarna</string>
<string id="ApiFlood">API-anrop för snabba. Vänligen sakta ner dina förfrågningar.</string>
<string id="ApiUrlNotFound">Webbadressen hittades inte. Potentiellt API-URL-fel i inställningarna.</string>
<string id="ConfigUrlNotFound">Webbadressen hittades inte. Potentiellt konfigurations-URL-fel i inställningarna.</string>
<string id="NoJson">Ingen JSON returnerades från HTTP-begäran.</string>
<string id="UnhandledHttpErr">HTTP-begäran returnerade felkod =</string>
<string id="TrailingSlashErr">API-URL får inte ha ett snedstreck '/'</string>
<string id="WebhookFailed">Det gick inte att registrera Webhook</string>
<string id="TemplateError">Det gick inte att rendera mallen</string>
<string id="Available" scope="glance">Tillgängliga</string>
<string id="Checking" scope="glance">Kontroll...</string>
<string id="Unavailable" scope="glance">Inte tillgänglig</string>
<string id="Unconfigured" scope="glance">Okonfigurerad</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Tillgänglig</string>
<string id="Cached" scope="glance">Cachad</string>
<string id="Checking" scope="glance">Kontroll...</string>
<string id="ConfigUrlNotFound">Webbadressen hittades inte. Potentiellt konfigurations-URL-fel i inställningarna.</string>
<string id="Confirm">Säker?</string>
<string id="Empty">Tömma</string>
<string id="Executed" scope="glance">Bekräftad</string>
<string id="GlanceMenu" scope="glance">Meny</string>
<string id="Memory" scope="glance">Minne</string>
<!-- För inställningar GUI -->
<string id="SettingsSelect">Välj...</string>
<string id="NoAPIKey" scope="glance">Ingen API-nyckel i applikationsinställningarna.</string>
<string id="NoApiUrl" scope="glance">Ingen API-URL i applikationsinställningarna.</string>
<string id="NoConfigUrl" scope="glance">Ingen konfigurations-URL i programinställningarna.</string>
<string id="NoInternet">Ingen internetanslutning.</string>
<string id="NoJson">Ingen JSON returnerades från HTTP-begäran.</string>
<string id="NoPhone" scope="glance">Ingen telefonanslutning.</string>
<string id="NoResponse">Inget svar, kontrollera internetanslutningen</string>
<string id="PinInputLocked">PIN-inmatning låst för</string>
<string id="PotentialError">Potentiellt fel</string>
<string id="Seconds">sekunder</string>
<string id="TemplateError">Mallfel</string>
<string id="TrailingSlashErr">API-URL får inte ha ett snedstreck '/'.</string>
<string id="Unavailable" scope="glance">Inte tillgänglig</string>
<string id="Unconfigured" scope="glance">Okonfigurerad</string>
<string id="UnhandledHttpErr">HTTP-begäran returnerade felkod =</string>
<string id="WebhookFailed">Det gick inte att registrera Webhook</string>
<string id="WrongPin">Fel PIN-kod</string>
<!-- För inställningarna GUI, bör strängar vara i den ordning de används. -->
<string id="SettingsSelect">Välja...</string>
<string id="SettingsApiKey">API-nyckel för HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Långlivad åtkomsttoken.</string>
<string id="SettingsApiUrl">URL för HomeAssistant API.</string>
<string id="SettingsConfigUrl">URL för menykonfiguration (JSON).</string>
<string id="SettingsCacheConfig">Ska programmet cachelagra menykonfigurationen?</string>
<string id="SettingsClearCache">Ska applikationen rensa den befintliga cachen nästa gång
satte igång?</string>
<string id="SettingsAppTimeout">Timeout sekunder. Avsluta ansökan efter denna period av
inaktivitet för att spara enhetens batteri.</string>
<string id="SettingsConfirmTimeout">Efter denna tid (i sekunder) visas en bekräftelsedialog för en
åtgärden stängs automatiskt och åtgärden avbryts. Ställ in på 0 för att inaktivera timeout.</string>
<string id="SettingsClearCache">Ska programmet rensa den befintliga cachen nästa gång den startas?</string>
<string id="SettingsVibration">Ska applikationen ge feedback via vibrationer?</string>
<string id="SettingsAppTimeout">Timeout i sekunder. Avsluta programmet efter denna period av inaktivitet för att spara enhetens batteri.</string>
<string id="SettingsPollDelay">Ytterligare fördröjning (i sekunder). Lägger till en fördröjning mellan statusuppdateringen av alla menyalternativ.</string>
<string id="SettingsConfirmTimeout">Efter denna tid (i sekunder) stängs en bekräftelsedialog för en åtgärd automatiskt och åtgärden avbryts. Ställ in på 0 för att inaktivera timeout.</string>
<string id="SettingsPin">4-siffrig PIN-kod som ska användas för alla åtgärder som kräver bekräftelse (0000-9999).</string>
<string id="SettingsPinError">Vänligen konfigurera en giltig 4-siffrig numerisk PIN-kod mellan 0000 och 9999 i programinställningarna.</string>
<string id="SettingsTextAlign">Vänster (av) eller höger (på) menyjustering.</string>
<string id="LeftToRight">Vänster till höger</string>
<string id="RightToLeft">Höger till vänster</string>
<string id="SettingsWidgetStart">(Endast widget) Starta programmet automatiskt från widgeten
utan att vänta på ett tryck.</string>
<string id="SettingsEnableBatteryLevel">Aktivera bakgrundstjänsten för att skicka klockbatteriet
nivå till Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Uppdateringshastigheten (i minuter) med vilken bakgrunden
tjänsten bör upprepa sändningen av batterinivån.</string>
<string id="WebhookId">(Endast läs) Webhook-ID som skapats av klockan för uppdateringar av batterinivån.
Du kan behöva detta för felsökning.</string>
<string id="SettingsWidgetStart">(Endast widget) Starta programmet automatiskt från widgeten utan att vänta på ett tryck.</string>
<string id="SettingsEnableBatteryLevel">Aktivera bakgrundstjänsten för att skicka enhetens batterinivå, plats och (om stöds) aktivitetsdata till Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Uppdateringshastigheten (i minuter) med vilken bakgrundstjänsten ska upprepa sändning av data.</string>
<string id="WebhookId">(Endast läs) Webhook-ID som skapats av enheten för uppdateringar av bakgrundstjänster. Du kan behöva detta för felsökning.</string>
</strings>

View File

@ -15,56 +15,58 @@
<!--
Generated by Google Translate: English to Thai
สร้างโดย Google Translate จากภาษาอังกฤษ
สร้างโดย Google แปลจากภาษาอังกฤษ
-->
<strings>
<string id="ApiFlood">การเรียก API เร็วเกินไป กรุณาลดความเร็วคำขอของคุณลง</string>
<string id="ApiUrlNotFound">ไม่พบ URL อาจมีข้อผิดพลาด URL API ในการตั้งค่า</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">มีอยู่</string>
<string id="Cached" scope="glance">แคช</string>
<string id="Checking" scope="glance">กำลังตรวจสอบ...</string>
<string id="ConfigUrlNotFound">ไม่พบ URL อาจมีข้อผิดพลาดเกี่ยวกับ URL การกำหนดค่าในการตั้งค่า</string>
<string id="Confirm">แน่นอน?</string>
<string id="Executed" scope="glance">ยืนยันแล้ว</string>
<string id="NoPhone" scope="glance">ม่มีการเชื่อมต่อโทรศัพท์</string>
<string id="NoInternet">ไม่มีการเชื่อมต่ออินเทอร์เน็ต</string>
<string id="NoResponse">ไม่มีการตอบสนอง ตรวจสอบการเชื่อมต่ออินเทอร์เน็ต</string>
<string id="Empty">ว่างเปล่า</string>
<string id="Executed" scope="glance">ด้รับการยืนยันแล้ว</string>
<string id="GlanceMenu" scope="glance">เมนู</string>
<string id="Memory" scope="glance">หน่วยความจำ</string>
<string id="NoAPIKey" scope="glance">ไม่มีคีย์ API ในการตั้งค่าแอปพลิเคชัน</string>
<string id="NoApiUrl" scope="glance">ไม่มี URL API ในการตั้งค่าแอปพลิเคชัน</string>
<string id="NoConfigUrl" scope="glance">ไม่มี URL การกำหนดค่าในการตั้งค่าแอปพลิเคชัน</string>
<string id="ApiFlood">การเรียก API เร็วเกินไป กรุณาชะลอคำขอของคุณ</string>
<string id="ApiUrlNotFound">ไม่พบ URL ข้อผิดพลาด URL API ที่อาจเกิดขึ้นในการตั้งค่า</string>
<string id="ConfigUrlNotFound">ไม่พบ URL ข้อผิดพลาด URL การกำหนดค่าที่อาจเกิดขึ้นในการตั้งค่า</string>
<string id="NoInternet">ไม่มีการเชื่อมต่ออินเตอร์เน็ต</string>
<string id="NoJson">ไม่มี JSON ที่ส่งคืนจากคำขอ HTTP</string>
<string id="UnhandledHttpErr">คำขอ HTTP ส่งคืนรหัสข้อผิดพลาด =</string>
<string id="TrailingSlashErr">URL ของ API ต้องไม่มีเครื่องหมายทับต่อท้าย '/'</string>
<string id="WebhookFailed">ลงทะเบียน Webhook.dll ไม่สำเร็จ</string>
<string id="TemplateError">ไม่สามารถแสดงเทมเพลตได้</string>
<string id="Available" scope="glance">มีอยู่</string>
<string id="Checking" scope="glance">กำลังตรวจสอบ...</string>
<string id="Unavailable" scope="glance">ไม่พร้อมใช้งาน</string>
<string id="NoPhone" scope="glance">ไม่มีการเชื่อมต่อโทรศัพท์</string>
<string id="NoResponse">ไม่มีการตอบสนอง กรุณาตรวจสอบการเชื่อมต่ออินเตอร์เน็ต</string>
<string id="PinInputLocked">ล็อคอินพุต PIN สำหรับ</string>
<string id="PotentialError">ข้อผิดพลาดที่อาจเกิดขึ้น</string>
<string id="Seconds">วินาที</string>
<string id="TemplateError">ข้อผิดพลาดเทมเพลต</string>
<string id="TrailingSlashErr">URL ของ API จะต้องไม่มีเครื่องหมายทับต่อท้าย '/'</string>
<string id="Unavailable" scope="glance">ไม่สามารถใช้งานได้</string>
<string id="Unconfigured" scope="glance">ไม่ได้กำหนดค่า</string>
<string id="Cached" scope="glance">แคช</string>
<string id="GlanceMenu" scope="glance">เมนู</string>
<string id="Memory" scope="glance">หน่วยความจำ</string>
<!-- สำหรับการตั้งค่า GUI -->
<string id="UnhandledHttpErr">คำขอ HTTP ส่งกลับรหัสข้อผิดพลาด =</string>
<string id="WebhookFailed">ไม่สามารถลงทะเบียน Webhook ได้</string>
<string id="WrongPin">รหัส PIN ผิด</string>
<!-- สำหรับ GUI การตั้งค่า สตริงควรอยู่ในลำดับที่ใช้ -->
<string id="SettingsSelect">เลือก...</string>
<string id="SettingsApiKey">คีย์ API สำหรับ HomeAssistant</string>
<string id="SettingsApiKeyPrompt">โทเค็นการเข้าถึงที่มีอายุการใช้งานยาวนาน</string>
<string id="SettingsApiKey">API Key สำหรับ HomeAssistant</string>
<string id="SettingsApiKeyPrompt">โทเค็นการเข้าถึงที่มีอายุยืนยาว</string>
<string id="SettingsApiUrl">URL สำหรับ HomeAssistant API</string>
<string id="SettingsConfigUrl">URL สำหรับการกำหนดค่าเมนู (JSON)</string>
<string id="SettingsCacheConfig">แอปพลิเคชันควรแคชการกำหนดค่าเมนูหรือไม่</string>
<string id="SettingsClearCache">หากแอปพลิเคชันล้างแคชที่มีอยู่ในครั้งต่อไป
เริ่ม?</string>
<string id="SettingsAppTimeout">หมดเวลาเป็นวินาที ออกจากแอปพลิเคชันหลังจากช่วงเวลานี้
ไม่มีการใช้งานเพื่อประหยัดแบตเตอรี่ของอุปกรณ์</string>
<string id="SettingsConfirmTimeout">หลังจากเวลานี้ (เป็นวินาที) กล่องโต้ตอบการยืนยันสำหรับ
การดำเนินการจะปิดโดยอัตโนมัติและการดำเนินการจะถูกยกเลิก ตั้งค่าเป็น 0 เพื่อปิดใช้งานการหมดเวลา</string>
<string id="SettingsTextAlign">การจัดตำแหน่งเมนูซ้าย (ปิด) หรือขวา (เปิด)</string>
<string id="SettingsClearCache">แอปพลิเคชันควรจะล้างแคชที่มีอยู่บนสุดในครั้งต่อไปที่เริ่มต้นใช้งานหรือไม่</string>
<string id="SettingsVibration">แอปพลิเคชันควรให้ข้อเสนอแนะผ่านการสั่นสะเทือนหรือไม่?</string>
<string id="SettingsAppTimeout">หมดเวลาในไม่กี่วินาที ออกจากแอปพลิเคชันหลังจากช่วงเวลาที่ไม่ได้ใช้งานเพื่อประหยัดแบตเตอรี่ของอุปกรณ์</string>
<string id="SettingsPollDelay">การหน่วงเวลาการสำรวจเพิ่มเติม (เป็นวินาที) เพิ่มการหน่วงเวลาระหว่างการอัปเดตสถานะของรายการเมนูทั้งหมด</string>
<string id="SettingsConfirmTimeout">หลังจากเวลาที่กำหนด (เป็นวินาที) กล่องโต้ตอบยืนยันการดำเนินการจะถูกปิดโดยอัตโนมัติและการดำเนินการจะถูกยกเลิก ตั้งค่าเป็น 0 เพื่อปิดใช้งานการหมดเวลา</string>
<string id="SettingsPin">รหัส PIN 4 หลักที่จะใช้สำหรับทุกการกระทำที่ต้องได้รับการยืนยัน (0000-9999)</string>
<string id="SettingsPinError">กรุณาตั้งค่ารหัส PIN ตัวเลข 4 หลักที่ถูกต้องระหว่าง 0000 ถึง 9999 ในการตั้งค่าแอปพลิเคชัน</string>
<string id="SettingsTextAlign">การจัดตำแหน่งเมนูด้านซ้าย (ปิด) หรือด้านขวา (เปิด)</string>
<string id="LeftToRight">จากซ้ายไปขวา</string>
<string id="RightToLeft">จากขวาไปซ้าย</string>
<string id="SettingsWidgetStart">(วิดเจ็ตเท่านั้น) เริ่มแอปพลิเคชันจากวิดเจ็ตโดยอัตโนมัติ
โดยไม่ต้องรอการแตะ</string>
<string id="SettingsEnableBatteryLevel">เปิดใช้งานบริการพื้นหลังเพื่อส่งแบตเตอรี่นาฬิกา
ระดับผู้ช่วยที่บ้าน</string>
<string id="SettingsBatteryLevelRefreshRate">อัตรารีเฟรช (เป็นนาที) ที่พื้นหลัง
บริการควรส่งระดับแบตเตอรี่ซ้ำ</string>
<string id="WebhookId">(อ่านอย่างเดียว) Webhook ID ที่สร้างโดยนาฬิกาสำหรับการอัปเดตระดับแบตเตอรี่
คุณอาจต้องการสิ่งนี้สำหรับการดีบัก</string>
<string id="SettingsWidgetStart">(เฉพาะวิดเจ็ต) เริ่มแอปพลิเคชันจากวิดเจ็ตโดยอัตโนมัติโดยไม่ต้องรอแตะ</string>
<string id="SettingsEnableBatteryLevel">เปิดใช้งานบริการพื้นหลังเพื่อส่งระดับแบตเตอรี่ของอุปกรณ์ ตำแหน่ง และข้อมูลกิจกรรม (ถ้ารองรับ) ไปยัง Home Assistant</string>
<string id="SettingsBatteryLevelRefreshRate">อัตราการรีเฟรช (เป็นนาที) ที่บริการพื้นหลังควรจะส่งข้อมูลซ้ำ</string>
<string id="WebhookId">(อ่านอย่างเดียว) ID เว็บฮุกที่สร้างโดยอุปกรณ์สำหรับการอัปเดตบริการเบื้องหลัง คุณอาจต้องใช้สิ่งนี้เพื่อแก้ไขข้อบกพร่อง</string>
</strings>

View File

@ -15,56 +15,58 @@
<!--
Generated by Google Translate: English to Turkish
Google Translate tarafından İngilizce'den oluşturulmuştur
Google Translate tarafından İngilizce'den oluşturuldu
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Elbette?</string>
<string id="Executed" scope="glance">Onaylanmış</string>
<string id="NoPhone" scope="glance">Telefon bağlantısı yok</string>
<string id="NoInternet">İnternet bağlantısı yok</string>
<string id="NoResponse">Yanıt Yok, İnternet bağlantısını kontrol edin</string>
<string id="NoAPIKey" scope="glance">Uygulama ayarlarında API anahtarı yok</string>
<string id="NoApiUrl" scope="glance">Uygulama ayarlarında API URL'si yok</string>
<string id="NoConfigUrl" scope="glance">Uygulama ayarlarında yapılandırma URL'si yok</string>
<string id="ApiFlood">API çağrıları çok hızlı. Lütfen isteklerinizi yavaşlatın.</string>
<string id="ApiUrlNotFound">URL bulunamadı. Ayarlarda olası API URL hatası.</string>
<string id="ConfigUrlNotFound">URL bulunamadı. Ayarlarda Olası Yapılandırma URL'si hatası.</string>
<string id="NoJson">HTTP isteğinden JSON döndürülmedi.</string>
<string id="UnhandledHttpErr">HTTP isteği hata kodunu döndürdü =</string>
<string id="TrailingSlashErr">API URL'sinin sonunda eğik çizgi '/' olmamalıdır</string>
<string id="WebhookFailed">Webhook kaydedilemedi</string>
<string id="TemplateError">Şablon oluşturulamadı</string>
<string id="ApiUrlNotFound">URL bulunamadı. Ayarlarda potansiyel API URL hatası.</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Mevcut</string>
<string id="Checking" scope="glance">Kontrol etme...</string>
<string id="Unavailable" scope="glance">Kullanım dışı</string>
<string id="Unconfigured" scope="glance">Yapılandırılmamış</string>
<string id="Cached" scope="glance">Önbelleğe alındı</string>
<string id="Checking" scope="glance">Kontrol ediliyor...</string>
<string id="ConfigUrlNotFound">URL bulunamadı. Ayarlarda potansiyel Yapılandırma URL hatası.</string>
<string id="Confirm">Elbette?</string>
<string id="Empty">Boş</string>
<string id="Executed" scope="glance">Onaylandı</string>
<string id="GlanceMenu" scope="glance">Menü</string>
<string id="Memory" scope="glance">Hafıza</string>
<!-- Ayarlar GUI'si için -->
<string id="NoAPIKey" scope="glance">Uygulama ayarlarında API anahtarı yok.</string>
<string id="NoApiUrl" scope="glance">Uygulama ayarlarında API URL'si yok.</string>
<string id="NoConfigUrl" scope="glance">Uygulama ayarlarında yapılandırma URL'si yok.</string>
<string id="NoInternet">İnternet bağlantısı yok.</string>
<string id="NoJson">HTTP isteğinden JSON döndürülmedi.</string>
<string id="NoPhone" scope="glance">Telefon bağlantısı yok.</string>
<string id="NoResponse">Cevap yok, İnternet bağlantısını kontrol edin</string>
<string id="PinInputLocked">PIN girişi kilitlendi</string>
<string id="PotentialError">Potansiyel Hata</string>
<string id="Seconds">saniyeler</string>
<string id="TemplateError">Şablon Hatası</string>
<string id="TrailingSlashErr">API URL'sinin sonunda eğik çizgi '/' bulunmamalıdır.</string>
<string id="Unavailable" scope="glance">Mevcut değil</string>
<string id="Unconfigured" scope="glance">Yapılandırılmamış</string>
<string id="UnhandledHttpErr">HTTP isteği hata kodu döndürdü =</string>
<string id="WebhookFailed">Webhook'u kaydetme başarısız oldu</string>
<string id="WrongPin">Yanlış PIN</string>
<!-- Ayarlar GUI'si için dizeler kullanıldıkları sıraya göre olmalıdır. -->
<string id="SettingsSelect">Seçme...</string>
<string id="SettingsApiKey">HomeAssistant için API Anahtarı.</string>
<string id="SettingsApiKeyPrompt">Uzun Ömürlü Erişim Jetonu.</string>
<string id="SettingsApiUrl">HomeAssistant API'sinin URL'si.</string>
<string id="SettingsConfigUrl">Menü yapılandırmasının URL'si (JSON).</string>
<string id="SettingsConfigUrl">Menü yapılandırması için URL (JSON).</string>
<string id="SettingsCacheConfig">Uygulama menü yapılandırmasını önbelleğe almalı mı?</string>
<string id="SettingsClearCache">Uygulamanın bir dahaki sefere mevcut önbelleği temizlemesi gerekir mi?
başladı mı?</string>
<string id="SettingsAppTimeout">Saniye cinsinden zaman aşımı. Bu süre sonunda uygulamadan çıkın
cihazın pilinden tasarruf etmek için hareketsizlik.</string>
<string id="SettingsConfirmTimeout">Bu sürenin sonunda (saniye cinsinden), bir onay iletişim kutusu
işlem otomatik olarak kapatılır ve işlem iptal edilir. Zaman aşımını devre dışı bırakmak için 0'a ayarlayın.</string>
<string id="SettingsClearCache">Uygulama bir sonraki başlatıldığında mevcut önbelleği temizlemeli mi?</string>
<string id="SettingsVibration">Uygulama titreşim yoluyla geri bildirim sağlamalı mı?</string>
<string id="SettingsAppTimeout">Saniye cinsinden zaman aşımı. Cihaz pilini korumak için bu süre boyunca hareketsizlikten sonra uygulamadan çıkın.</string>
<string id="SettingsPollDelay">Ek anket gecikmesi (saniye cinsinden). Tüm menü öğelerinin durum güncellemesi arasına bir gecikme ekler.</string>
<string id="SettingsConfirmTimeout">Bu süreden sonra (saniye cinsinden), bir eylem için onay iletişim kutusu otomatik olarak kapatılır ve eylem iptal edilir. Zaman aşımını devre dışı bırakmak için 0 olarak ayarlayın.</string>
<string id="SettingsPin">Onay gerektiren tüm işlemlerde kullanılacak 4 haneli PIN (0000-9999).</string>
<string id="SettingsPinError">Lütfen uygulama ayarlarından 0000 ile 9999 arasında geçerli bir 4 haneli sayısal PIN yapılandırın.</string>
<string id="SettingsTextAlign">Sol (kapalı) veya Sağ (açık) Menü Hizalaması.</string>
<string id="LeftToRight">Soldan sağa</string>
<string id="RightToLeft">Sağdan sola</string>
<string id="SettingsWidgetStart">(Yalnızca Widget) Uygulamayı widget'tan otomatik olarak başlat
bir dokunuş beklemeden.</string>
<string id="SettingsEnableBatteryLevel">Saat pilini göndermek için arka plan hizmetini etkinleştirin
seviyesini Ev Asistanı'na getirin.</string>
<string id="SettingsBatteryLevelRefreshRate">Arka planın yenileme hızı (dakika cinsinden)
Servis pil seviyesini göndermeyi tekrarlamalıdır.</string>
<string id="WebhookId">(Salt okunur) Saatin pil seviyesi güncellemeleri için oluşturduğu Webhook Kimliği.
Hata ayıklama için buna ihtiyacınız olabilir.</string>
<string id="RightToLeft">Sağdan Sola</string>
<string id="SettingsWidgetStart">(Yalnızca Widget) Dokunmayı beklemeden uygulamayı widget'tan otomatik olarak başlat.</string>
<string id="SettingsEnableBatteryLevel">Cihazın pil seviyesini, konumunu ve (destekleniyorsa) etkinlik verilerini Home Assistant'a göndermek için arka plan hizmetini etkinleştirin.</string>
<string id="SettingsBatteryLevelRefreshRate">Arka plan hizmetinin veri göndermeyi tekrarlaması gereken yenileme hızı (dakika cinsinden).</string>
<string id="WebhookId">(Salt okunur) Arkaplan servis güncellemeleri için cihaz tarafından oluşturulan Webhook Kimliği. Hata ayıklama için buna ihtiyacınız olabilir.</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Зрозуміло?</string>
<string id="Executed" scope="glance">Підтверджено</string>
<string id="NoPhone" scope="glance">Немає телефонного зв'язку</string>
<string id="NoInternet">Немає підключення до Інтернету</string>
<string id="NoResponse">Немає відповіді, перевірте підключення до Інтернету</string>
<string id="NoAPIKey" scope="glance">У налаштуваннях програми немає ключа API</string>
<string id="NoApiUrl" scope="glance">У налаштуваннях програми немає URL-адреси API</string>
<string id="NoConfigUrl" scope="glance">У налаштуваннях програми немає URL-адреси конфігурації</string>
<string id="ApiFlood">Надто швидкі виклики API. Будь ласка, сповільніть свої запити.</string>
<string id="ApiUrlNotFound">URL не знайдено. Потенційна помилка URL-адреси API в налаштуваннях.</string>
<string id="ConfigUrlNotFound">URL не знайдено. Потенційна помилка URL-адреси конфігурації в налаштуваннях.</string>
<string id="NoJson">Запит HTTP не повертає JSON.</string>
<string id="UnhandledHttpErr">Запит HTTP повернув код помилки =</string>
<string id="TrailingSlashErr">URL-адреса API не повинна містити косу риску '/'</string>
<string id="WebhookFailed">Не вдалося зареєструвати Webhook</string>
<string id="TemplateError">Не вдалося відобразити шаблон</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">в наявності</string>
<string id="Checking" scope="glance">Перевірка...</string>
<string id="Unavailable" scope="glance">Недоступний</string>
<string id="Unconfigured" scope="glance">Неналаштований</string>
<string id="Cached" scope="glance">Кешовано</string>
<string id="Checking" scope="glance">Перевірка...</string>
<string id="ConfigUrlNotFound">URL не знайдено. Потенційна помилка URL-адреси конфігурації в налаштуваннях.</string>
<string id="Confirm">Зрозуміло?</string>
<string id="Empty">Порожній</string>
<string id="Executed" scope="glance">Підтверджено</string>
<string id="GlanceMenu" scope="glance">Меню</string>
<string id="Memory" scope="glance">Пам'ять</string>
<!-- Для налаштування GUI -->
<string id="NoAPIKey" scope="glance">У налаштуваннях програми немає ключа API.</string>
<string id="NoApiUrl" scope="glance">У налаштуваннях програми немає URL-адреси API.</string>
<string id="NoConfigUrl" scope="glance">У налаштуваннях програми немає URL-адреси конфігурації.</string>
<string id="NoInternet">Немає підключення до Інтернету.</string>
<string id="NoJson">Запит HTTP не повертає JSON.</string>
<string id="NoPhone" scope="glance">Немає телефонного зв'язку.</string>
<string id="NoResponse">Немає відповіді, перевірте підключення до Інтернету</string>
<string id="PinInputLocked">Введення PIN-коду заблоковано для</string>
<string id="PotentialError">Потенційна помилка</string>
<string id="Seconds">секунд</string>
<string id="TemplateError">Помилка шаблону</string>
<string id="TrailingSlashErr">URL-адреса API не повинна містити косу риску '/'.</string>
<string id="Unavailable" scope="glance">Недоступний</string>
<string id="Unconfigured" scope="glance">Неналаштований</string>
<string id="UnhandledHttpErr">Запит HTTP повернув код помилки =</string>
<string id="WebhookFailed">Не вдалося зареєструвати Webhook</string>
<string id="WrongPin">Неправильний PIN-код</string>
<!-- У графічному інтерфейсі налаштувань рядки мають бути в порядку їх використання. -->
<string id="SettingsSelect">Виберіть...</string>
<string id="SettingsApiKey">Ключ API для HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Довговічний маркер доступу.</string>
<string id="SettingsApiUrl">URL для HomeAssistant API.</string>
<string id="SettingsConfigUrl">URL для налаштування меню (JSON).</string>
<string id="SettingsCacheConfig">Чи має програма кешувати конфігурацію меню?</string>
<string id="SettingsClearCache">Чи має програма очистити наявний кеш наступного разу
почав?</string>
<string id="SettingsAppTimeout">Час очікування в секундах. Вийдіть із програми після закінчення цього періоду
бездіяльність, щоб зберегти акумулятор пристрою.</string>
<string id="SettingsConfirmTimeout">Через цей час (у секундах) з’явиться діалогове вікно підтвердження для
дія автоматично закривається, а дія скасовується. Встановіть 0, щоб вимкнути тайм-аут.</string>
<string id="SettingsClearCache">Чи слід програмі очистити наявний кеш під час наступного запуску?</string>
<string id="SettingsVibration">Чи має програма надавати зворотній зв’язок за допомогою вібрації?</string>
<string id="SettingsAppTimeout">Час очікування в секундах. Вийдіть із програми після цього періоду бездіяльності, щоб заощадити батарею пристрою.</string>
<string id="SettingsPollDelay">Додаткова затримка опитування (у секундах). Додає затримку між оновленням статусу всіх пунктів меню.</string>
<string id="SettingsConfirmTimeout">Після закінчення цього часу (у секундах) діалогове вікно підтвердження дії автоматично закривається, а дія скасовується. Встановіть 0, щоб вимкнути тайм-аут.</string>
<string id="SettingsPin">4-значний PIN-код для всіх дій, які потребують підтвердження (0000-9999).</string>
<string id="SettingsPinError">Налаштуйте дійсний 4-значний цифровий PIN-код між 0000 і 9999 у налаштуваннях програми.</string>
<string id="SettingsTextAlign">Ліворуч (вимкнено) або праворуч (увімкнено) вирівнювання меню.</string>
<string id="LeftToRight">Зліва направо</string>
<string id="RightToLeft">Справа наліво</string>
<string id="SettingsWidgetStart">(Лише віджет) Автоматично запускати програму з віджета
не чекаючи дотику.</string>
<string id="SettingsEnableBatteryLevel">Увімкніть фонову службу, щоб надіслати батарею годинника
рівень до домашнього помічника.</string>
<string id="SettingsBatteryLevelRefreshRate">Частота оновлення (у хвилинах), з якою працює фон
служба має повторити надсилання рівня заряду батареї.</string>
<string id="WebhookId">(Лише читання) Ідентифікатор Webhook, створений годинником для оновлення рівня заряду акумулятора.
Це може знадобитися для налагодження.</string>
<string id="SettingsWidgetStart">(Лише віджет) Автоматично запускайте програму з віджета, не чекаючи дотику.</string>
<string id="SettingsEnableBatteryLevel">Увімкніть фонову службу, щоб надсилати дані про рівень заряду акумулятора пристрою, місцезнаходження та (якщо підтримується) дані про активність до Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Частота оновлення (у хвилинах), з якою фонова служба має повторювати надсилання даних.</string>
<string id="WebhookId">(Лише для читання) Ідентифікатор Webhook, створений пристроєм для фонового оновлення служби. Це може знадобитися для налагодження.</string>
</strings>

View File

@ -15,56 +15,58 @@
<!--
Generated by Google Translate: English to Vietnamese
Được tạo bởi Google Dịch từ tiếng Anh
Được tạo ra bởi Google Dịch từ tiếng Anh
-->
<strings>
<string id="ApiFlood">Cuộc gọi API quá nhanh. Vui lòng làm chậm yêu cầu của bạn.</string>
<string id="ApiUrlNotFound">Không tìm thấy URL. Có thể có lỗi URL API trong cài đặt.</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Chắc chắn?</string>
<string id="Executed" scope="glance">Đã xác nhận</string>
<string id="NoPhone" scope="glance">Không có kết nối điện thoại</string>
<string id="NoInternet">Không có kết nối Internet</string>
<string id="NoResponse">Không có phản hồi, kiểm tra kết nối Internet</string>
<string id="NoAPIKey" scope="glance">Không có khóa API trong cài đặt ứng dụng</string>
<string id="NoApiUrl" scope="glance">Không có URL API trong cài đặt ứng dụng</string>
<string id="NoConfigUrl" scope="glance">Không có URL cấu hình trong cài đặt ứng dụng</string>
<string id="ApiFlood">Cuộc gọi API quá nhanh. Hãy làm chậm yêu cầu của bạn.</string>
<string id="ApiUrlNotFound">Không tìm thấy URL. Lỗi URL API tiềm ẩn trong cài đặt.</string>
<string id="ConfigUrlNotFound">Không tìm thấy URL. Lỗi URL cấu hình tiềm ẩn trong cài đặt.</string>
<string id="NoJson">Không có JSON nào được trả về từ yêu cầu HTTP.</string>
<string id="UnhandledHttpErr">Yêu cầu HTTP trả về mã lỗi =</string>
<string id="TrailingSlashErr">URL API không được có dấu gạch chéo ở cuối '/'</string>
<string id="WebhookFailed">Không đăng ký được Webhook</string>
<string id="TemplateError">Không thể hiển thị mẫu</string>
<string id="Available" scope="glance">Có sẵn</string>
<string id="Cached" scope="glance">Đã lưu trữ</string>
<string id="Checking" scope="glance">Đang kiểm tra...</string>
<string id="Unavailable" scope="glance">Không có sẵn</string>
<string id="Unconfigured" scope="glance">Chưa được định cấu hình</string>
<string id="Cached" scope="glance">Đã lưu vào bộ nhớ đệm</string>
<string id="ConfigUrlNotFound">Không tìm thấy URL. Có thể có lỗi URL cấu hình trong cài đặt.</string>
<string id="Confirm">Chắc chắn?</string>
<string id="Empty">Trống</string>
<string id="Executed" scope="glance">Đã xác nhận</string>
<string id="GlanceMenu" scope="glance">Thực đơn</string>
<string id="Memory" scope="glance">Ký ức</string>
<!-- Đối với GUI cài đặt -->
<string id="NoAPIKey" scope="glance">Không có khóa API trong cài đặt ứng dụng.</string>
<string id="NoApiUrl" scope="glance">Không có URL API trong cài đặt ứng dụng.</string>
<string id="NoConfigUrl" scope="glance">Không có URL cấu hình trong cài đặt ứng dụng.</string>
<string id="NoInternet">Không có kết nối Internet.</string>
<string id="NoJson">Không có JSON nào được trả về từ yêu cầu HTTP.</string>
<string id="NoPhone" scope="glance">Không có kết nối điện thoại.</string>
<string id="NoResponse">Không có phản hồi, hãy kiểm tra kết nối Internet</string>
<string id="PinInputLocked">Mã PIN đầu vào bị khóa</string>
<string id="PotentialError">Lỗi tiềm ẩn</string>
<string id="Seconds">giây</string>
<string id="TemplateError">Lỗi mẫu</string>
<string id="TrailingSlashErr">URL API không được có dấu gạch chéo '/' ở cuối.</string>
<string id="Unavailable" scope="glance">Không có sẵn</string>
<string id="Unconfigured" scope="glance">Chưa cấu hình</string>
<string id="UnhandledHttpErr">Yêu cầu HTTP trả về mã lỗi =</string>
<string id="WebhookFailed">Không đăng ký được Webhook</string>
<string id="WrongPin">Mã PIN sai</string>
<!-- Đối với giao diện cài đặt, các chuỗi phải được sắp xếp theo thứ tự sử dụng. -->
<string id="SettingsSelect">Lựa chọn...</string>
<string id="SettingsApiKey">Khóa API cho HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Mã thông báo truy cập tồn tại lâu dài.</string>
<string id="SettingsApiKeyPrompt">Mã thông báo truy cập lâu dài.</string>
<string id="SettingsApiUrl">URL cho API HomeAssistant.</string>
<string id="SettingsConfigUrl">URL cho cấu hình menu (JSON).</string>
<string id="SettingsCacheConfig">Ứng dụng có nên lưu trữ cấu hình menu không?</string>
<string id="SettingsClearCache">Ứng dụng có nên xóa bộ nhớ đệm hiện có vào lần tiếp theo không
đã bắt đầu?</string>
<string id="SettingsAppTimeout">Thời gian chờ tính bằng giây. Thoát khỏi ứng dụng sau khoảng thời gian này
không hoạt động để tiết kiệm pin thiết bị.</string>
<string id="SettingsConfirmTimeout">Sau thời gian này (tính bằng giây), hộp thoại xác nhận cho
hành động được tự động đóng lại và hành động bị hủy bỏ. Đặt thành 0 để tắt thời gian chờ.</string>
<string id="SettingsTextAlign">Căn chỉnh menu Trái (tắt) hoặc Phải (bật).</string>
<string id="LeftToRight">Trái sang phải</string>
<string id="RightToLeft">Phải sang trái</string>
<string id="SettingsWidgetStart">(Chỉ widget) Tự động khởi động ứng dụng từ widget
mà không cần ch một cú chạm.</string>
<string id="SettingsEnableBatteryLevel">Kích hoạt dịch vụ nền để gửi pin đng hồ
lên cấp Trợ lý tại nhà.</string>
<string id="SettingsBatteryLevelRefreshRate">Tốc độ làm mới (tính bằng phút) mà nền
dịch vụ sẽ lặp lại việc gửi mức pin.</string>
<string id="WebhookId">(Chỉ đọc) ID Webhook do đồng hồ tạo để cập nhật mức pin.
Bạn có thể yêu cầu điều này để gỡ lỗi.</string>
<string id="SettingsConfigUrl">URL để cấu hình menu (JSON).</string>
<string id="SettingsCacheConfig">Ứng dụng có nên lưu trữ cấu hình menu vào bộ nhớ đệm không?</string>
<string id="SettingsClearCache">Ứng dụng có nên xóa bộ nhớ đệm hiện có khi khởi động lần sau không?</string>
<string id="SettingsVibration">Ứng dụng có nên cung cấp phản hồi thông qua rung động không?</string>
<string id="SettingsAppTimeout">Thời gian chờ tính bằng giây. Thoát khỏi ứng dụng sau khoảng thời gian không hoạt động này để tiết kiệm pin cho thiết bị.</string>
<string id="SettingsPollDelay">Độ trễ thăm dò bổ sung (tính bằng giây). Thêm độ trễ giữa quá trình cập nhật trạng thái của tất cả các mục menu.</string>
<string id="SettingsConfirmTimeout">Sau thời gian này (tính bằng giây), hộp thoại xác nhận cho một hành động sẽ tự động đóng lại và hành động đó sẽ bị hủy. Đặt thành 0 để vô hiệu hóa thời gian chờ.</string>
<string id="SettingsPin">Mã PIN gồm 4 chữ số được sử dụng cho mọi hành động cần xác nhận (0000-9999).</string>
<string id="SettingsPinError">Vui lòng cấu hình mã PIN số 4 chữ số hợp lệ trong khoảng từ 0000 đến 9999 trong cài đặt ứng dụng.</string>
<string id="SettingsTextAlign">Căn chỉnh Menu Trái (tắt) hoặc Phải (bật).</string>
<string id="LeftToRight">Từ trái sang phải</string>
<string id="RightToLeft">Từ phải sang trái</string>
<string id="SettingsWidgetStart">(Chỉ dành cho tiện ích) Tự động khởi động ứng dụng từ tiện ích mà không cần phải chạm.</string>
<string id="SettingsEnableBatteryLevel">Bật dịch vụ nền để gửi mức pin, vị trí và dữ liệu hoạt đng (nếu được hỗ trợ) của thiết bị tới Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Tốc độ làm mới (tính bằng phút) mà dịch vụ nền sẽ lặp lại việc gửi dữ liệu.</string>
<string id="WebhookId">(Chỉ đọc) ID Webhook do thiết bị tạo ra để cập nhật dịch vụ nền. Bạn có thể cần ID này để gỡ lỗi.</string>
</strings>

View File

@ -15,56 +15,58 @@
<!--
Generated by Google Translate: English to Chinese (Simplified)
由谷歌翻译自英语生成
由谷歌翻译从英文生成
-->
<strings>
<string id="ApiFlood">API 调用速度过快。请放慢您的请求速度。</string>
<string id="ApiUrlNotFound">未找到 URL。设置中可能存在 API URL 错误。</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">当然?</string>
<string id="Executed" scope="glance">确认的</string>
<string id="NoPhone" scope="glance">没有电话连接</string>
<string id="NoInternet">没有网络连接</string>
<string id="NoResponse">无响应,请检查互联网连接</string>
<string id="NoAPIKey" scope="glance">应用程序设置中没有 API 密钥</string>
<string id="NoApiUrl" scope="glance">应用程序设置中没有 API URL</string>
<string id="NoConfigUrl" scope="glance">应用程序设置中没有配置 URL</string>
<string id="ApiFlood">API 调用速度太快。请放慢您的请求。</string>
<string id="ApiUrlNotFound">找不到网址。设置中可能存在 API URL 错误。</string>
<string id="ConfigUrlNotFound">找不到网址。设置中可能存在配置 URL 错误。</string>
<string id="NoJson">HTTP 请求未返回 JSON。</string>
<string id="UnhandledHttpErr">HTTP请求返回错误码=</string>
<string id="TrailingSlashErr">API URL 不得有尾部斜杠“/”</string>
<string id="WebhookFailed">注册Webhook失败</string>
<string id="TemplateError">渲染模板失败</string>
<string id="Available" scope="glance">可用的</string>
<string id="Cached" scope="glance">已缓存</string>
<string id="Checking" scope="glance">检查...</string>
<string id="Unavailable" scope="glance">不可用</string>
<string id="Unconfigured" scope="glance">未配置</string>
<string id="Cached" scope="glance">缓存</string>
<string id="ConfigUrlNotFound">未找到 URL。设置中可能存在配置 URL 错误。</string>
<string id="Confirm">当然?</string>
<string id="Empty">空的</string>
<string id="Executed" scope="glance">确认的</string>
<string id="GlanceMenu" scope="glance">菜单</string>
<string id="Memory" scope="glance">记忆</string>
<!-- 对于设置 GUI -->
<string id="NoAPIKey" scope="glance">应用程序设置中没有 API 密钥。</string>
<string id="NoApiUrl" scope="glance">应用程序设置中没有 API URL。</string>
<string id="NoConfigUrl" scope="glance">应用程序设置中没有配置 URL。</string>
<string id="NoInternet">没有互联网连接。</string>
<string id="NoJson">HTTP 请求未返回 JSON。</string>
<string id="NoPhone" scope="glance">没有电话连接。</string>
<string id="NoResponse">无响应,请检查互联网连接</string>
<string id="PinInputLocked">PIN 输入已锁定</string>
<string id="PotentialError">潜在错误</string>
<string id="Seconds"></string>
<string id="TemplateError">模板错误</string>
<string id="TrailingSlashErr">API URL 末尾不能有斜杠“/”。</string>
<string id="Unavailable" scope="glance">不可用</string>
<string id="Unconfigured" scope="glance">未配置</string>
<string id="UnhandledHttpErr">HTTP 请求返回错误代码 =</string>
<string id="WebhookFailed">无法注册 Webhook</string>
<string id="WrongPin">PIN 码错误</string>
<!-- 对于设置 GUI字符串应该按照其使用的顺序排列。 -->
<string id="SettingsSelect">选择...</string>
<string id="SettingsApiKey">HomeAssistant 的 API 密钥。</string>
<string id="SettingsApiKeyPrompt">访问令牌。</string>
<string id="SettingsApiKeyPrompt">寿命访问令牌。</string>
<string id="SettingsApiUrl">HomeAssistant API 的 URL。</string>
<string id="SettingsConfigUrl">菜单配置的 URL (JSON)</string>
<string id="SettingsConfigUrl">菜单配置的 URLJSON</string>
<string id="SettingsCacheConfig">应用程序是否应该缓存菜单配置?</string>
<string id="SettingsClearCache">应用程序下次是否应该清除现有缓存
开始了</string>
<string id="SettingsAppTimeout">超时(以秒为单位)。在此期限后退出应用程序
不活动以节省设备电池</string>
<string id="SettingsConfirmTimeout">在此时间(以秒为单位)之后,将出现一个确认对话框
动作自动关闭并取消动作。设置为 0 以禁用超时</string>
<string id="SettingsTextAlign">左(关)或右(开)菜单对齐</string>
<string id="LeftToRight">左到右</string>
<string id="RightToLeft">到左</string>
<string id="SettingsWidgetStart">(仅限小部件)从小部件自动启动应用程序
无需等待点击</string>
<string id="SettingsEnableBatteryLevel">启用后台服务发送时钟电池
级别为家庭助理</string>
<string id="SettingsBatteryLevelRefreshRate">背景的刷新率(以分钟为单位)
服务应重复发送电池电量。</string>
<string id="WebhookId">(只读)手表创建的用于电池电量更新的 Webhook ID。
您可能需要它来进行调试。</string>
<string id="SettingsClearCache">应用程序下次启动时是否应该清除现有缓存</string>
<string id="SettingsVibration">应用程序是否应通过振动提供反馈</string>
<string id="SettingsAppTimeout">超时时间(秒)。在这段不活动时间过后退出应用程序以节省设备电池。</string>
<string id="SettingsPollDelay">附加轮询延迟(以秒为单位)。在所有菜单项的状态更新之间添加延迟</string>
<string id="SettingsConfirmTimeout">在此时间(以秒为单位)之后,操作的确认对话框将自动关闭,并且操作将被取消。设置为 0 可禁用超时。</string>
<string id="SettingsPin">所有需要确认的操作均需使用 4 位 PIN 码0000-9999</string>
<string id="SettingsPinError">请在应用程序设置中配置一个介于 0000 和 9999 之间的有效 4 位数字 PIN 码</string>
<string id="SettingsTextAlign">左(关闭)或右(打开)菜单对齐。</string>
<string id="LeftToRight">从左到</string>
<string id="RightToLeft">从右到左</string>
<string id="SettingsWidgetStart">(仅限小部件)无需等待点击即可从小部件自动启动应用程序</string>
<string id="SettingsEnableBatteryLevel">启用后台服务将设备电池电量、位置和(如果支持)活动数据发送到 Home Assistant。</string>
<string id="SettingsBatteryLevelRefreshRate">后台服务应重复发送数据的刷新率(以分钟为单位)</string>
<string id="WebhookId">(只读)设备为后台服务更新创建的 Webhook ID。您可能需要此 ID 来进行调试。</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">當然?</string>
<string id="Executed" scope="glance">確認的</string>
<string id="NoPhone" scope="glance">沒有電話連接</string>
<string id="NoInternet">沒有網路連線</string>
<string id="NoResponse">無響應,請檢查互聯網連接</string>
<string id="NoAPIKey" scope="glance">應用程式設定中沒有 API 金鑰</string>
<string id="NoApiUrl" scope="glance">應用程式設定中沒有 API URL</string>
<string id="NoConfigUrl" scope="glance">應用程式設定中沒有配置 URL</string>
<string id="ApiFlood">API 呼叫速度太快。請放慢您的請求。</string>
<string id="ApiUrlNotFound">找不到網址。設定中可能存在 API URL 錯誤。</string>
<string id="ConfigUrlNotFound">找不到網址。設定中可能存在配置 URL 錯誤。</string>
<string id="NoJson">HTTP 請求未傳回 JSON。</string>
<string id="UnhandledHttpErr">HTTP請求回傳錯誤碼=</string>
<string id="TrailingSlashErr">API URL 不得有尾部斜線“/”</string>
<string id="WebhookFailed">註冊Webhook失敗</string>
<string id="TemplateError">渲染模板失敗</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">可用的</string>
<string id="Checking" scope="glance">檢查...</string>
<string id="Unavailable" scope="glance">不可用</string>
<string id="Unconfigured" scope="glance">未配置</string>
<string id="Cached" scope="glance">快取</string>
<string id="Checking" scope="glance">檢查...</string>
<string id="ConfigUrlNotFound">找不到網址。設定中可能存在配置 URL 錯誤。</string>
<string id="Confirm">當然?</string>
<string id="Empty">空的</string>
<string id="Executed" scope="glance">確認的</string>
<string id="GlanceMenu" scope="glance">選單</string>
<string id="Memory" scope="glance">記憶</string>
<!-- 對於設定 GUI -->
<string id="NoAPIKey" scope="glance">應用程式設定中沒有 API 金鑰。</string>
<string id="NoApiUrl" scope="glance">應用程式設定中沒有 API URL。</string>
<string id="NoConfigUrl" scope="glance">應用程式設定中沒有配置 URL。</string>
<string id="NoInternet">沒有網路連線。</string>
<string id="NoJson">HTTP 請求未傳回 JSON。</string>
<string id="NoPhone" scope="glance">沒有電話連線。</string>
<string id="NoResponse">無響應,請檢查互聯網連接</string>
<string id="PinInputLocked">PIN 輸入被鎖定</string>
<string id="PotentialError">潛在錯誤</string>
<string id="Seconds"></string>
<string id="TemplateError">模板錯誤</string>
<string id="TrailingSlashErr">API URL 不得有尾部斜線「/」。</string>
<string id="Unavailable" scope="glance">不可用</string>
<string id="Unconfigured" scope="glance">未配置</string>
<string id="UnhandledHttpErr">HTTP請求回傳錯誤碼=</string>
<string id="WebhookFailed">註冊Webhook失敗</string>
<string id="WrongPin">PIN 碼錯誤</string>
<!-- 對於設定 GUI字串應按其使用順序排列。 -->
<string id="SettingsSelect">選擇...</string>
<string id="SettingsApiKey">HomeAssistant 的 API 金鑰。</string>
<string id="SettingsApiKeyPrompt">長期訪問令牌。</string>
<string id="SettingsApiUrl">HomeAssistant API 的 URL。</string>
<string id="SettingsConfigUrl">選單配置的 URL (JSON)。</string>
<string id="SettingsCacheConfig">應用程式是否應該快取選單配置?</string>
<string id="SettingsClearCache">應用程式下次是否應該清除現有緩存
開始了</string>
<string id="SettingsAppTimeout">超時(以秒為單位)。在此期限後退出應用程式
不活動以節省設備電池</string>
<string id="SettingsConfirmTimeout">在此時間(以秒為單位)之後,將出現一個確認對話框
動作自動關閉並取消動作。設定為 0 以停用逾時</string>
<string id="SettingsClearCache">應用程式是否應該在下次啟動時清除現有快取?</string>
<string id="SettingsVibration">應用程式是否應該透過振動提供回饋</string>
<string id="SettingsAppTimeout">超時(以秒為單位)。閒置一段時間後退出應用程式以節省設備電池。</string>
<string id="SettingsPollDelay">額外的輪詢延遲(以秒為單位)。在所有選單項目的狀態更新之間新增延遲</string>
<string id="SettingsConfirmTimeout">在此時間(以秒為單位)之後,操作的確認對話方塊將自動關閉並取消該操作。設定為 0 以停用逾時。</string>
<string id="SettingsPin">用於所有需要確認的操作的 4 位元 PIN (0000-9999)</string>
<string id="SettingsPinError">請在應用程式設定中設定 0000 到 9999 之間的有效 4 位數 PIN。</string>
<string id="SettingsTextAlign">左(關)或右(開)選單對齊。</string>
<string id="LeftToRight">左至</string>
<string id="RightToLeft">右到左</string>
<string id="SettingsWidgetStart">(僅限小工具)從小部件自動啟動應用程
無需等待點擊</string>
<string id="SettingsEnableBatteryLevel">啟用後台服務發送時鐘電池
級別為家庭助理</string>
<string id="SettingsBatteryLevelRefreshRate">背景的刷新率(以分鐘為單位)
服務應重複發送電池電量。</string>
<string id="WebhookId">(唯讀)手錶創建的用於電池電量更新的 Webhook ID。
您可能需要它來進行調試。</string>
<string id="LeftToRight">從左到</string>
<string id="RightToLeft">右到左</string>
<string id="SettingsWidgetStart">(僅限小部件)從小部件自動啟動應用程序,無需等待點擊。</string>
<string id="SettingsEnableBatteryLevel">啟用後台服務將裝置電池電量、位置和(如果支援)活動資料傳送至 Home Assistant</string>
<string id="SettingsBatteryLevelRefreshRate">後台服務應重複傳送資料的更新率(以分鐘為單位)。</string>
<string id="WebhookId">(唯讀)裝置為後台服務更新所建立的 Webhook ID。您可能需要它來進行調試</string>
</strings>

View File

@ -19,52 +19,54 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">pasti?</string>
<string id="Executed" scope="glance">Disahkan</string>
<string id="NoPhone" scope="glance">Tiada sambungan Telefon</string>
<string id="NoInternet">Tiada sambungan internet</string>
<string id="NoResponse">Tiada Respons, semak sambungan Internet</string>
<string id="NoAPIKey" scope="glance">Tiada kunci API dalam tetapan aplikasi</string>
<string id="NoApiUrl" scope="glance">Tiada URL API dalam tetapan aplikasi</string>
<string id="NoConfigUrl" scope="glance">Tiada URL konfigurasi dalam tetapan aplikasi</string>
<string id="ApiFlood">Panggilan API terlalu pantas. Sila perlahankan permintaan anda.</string>
<string id="ApiUrlNotFound">URL tidak ditemui. Ralat URL API yang berpotensi dalam tetapan.</string>
<string id="ConfigUrlNotFound">URL tidak ditemui. Ralat URL Konfigurasi Potensi dalam tetapan.</string>
<string id="NoJson">Tiada JSON dikembalikan daripada permintaan HTTP.</string>
<string id="UnhandledHttpErr">Permintaan HTTP mengembalikan kod ralat =</string>
<string id="TrailingSlashErr">URL API tidak boleh mempunyai garis miring '/'</string>
<string id="WebhookFailed">Gagal mendaftar Webhook</string>
<string id="TemplateError">Gagal untuk memaparkan templat</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Tersedia</string>
<string id="Checking" scope="glance">Menyemak...</string>
<string id="Unavailable" scope="glance">Tidak ada</string>
<string id="Unconfigured" scope="glance">Tidak dikonfigurasikan</string>
<string id="Cached" scope="glance">Dicache</string>
<string id="Checking" scope="glance">Menyemak...</string>
<string id="ConfigUrlNotFound">URL tidak ditemui. Ralat URL Konfigurasi Potensi dalam tetapan.</string>
<string id="Confirm">pasti?</string>
<string id="Empty">kosong</string>
<string id="Executed" scope="glance">Disahkan</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Ingatan</string>
<!-- Untuk GUI tetapan -->
<string id="NoAPIKey" scope="glance">Tiada kunci API dalam tetapan aplikasi.</string>
<string id="NoApiUrl" scope="glance">Tiada URL API dalam tetapan aplikasi.</string>
<string id="NoConfigUrl" scope="glance">Tiada URL konfigurasi dalam tetapan aplikasi.</string>
<string id="NoInternet">Tiada sambungan Internet.</string>
<string id="NoJson">Tiada JSON dikembalikan daripada permintaan HTTP.</string>
<string id="NoPhone" scope="glance">Tiada sambungan Telefon.</string>
<string id="NoResponse">Tiada Respons, semak sambungan Internet</string>
<string id="PinInputLocked">Input PIN dikunci untuk</string>
<string id="PotentialError">Ralat Berpotensi</string>
<string id="Seconds">detik</string>
<string id="TemplateError">Ralat Templat</string>
<string id="TrailingSlashErr">URL API mestilah tidak mempunyai garis miring '/'.</string>
<string id="Unavailable" scope="glance">Tidak tersedia</string>
<string id="Unconfigured" scope="glance">Tidak dikonfigurasikan</string>
<string id="UnhandledHttpErr">Permintaan HTTP mengembalikan kod ralat =</string>
<string id="WebhookFailed">Gagal mendaftar Webhook</string>
<string id="WrongPin">PIN salah</string>
<!-- Untuk GUI tetapan, rentetan hendaklah mengikut susunan ia digunakan. -->
<string id="SettingsSelect">Pilih...</string>
<string id="SettingsApiKey">Kunci API untuk HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Token Akses Berumur Panjang.</string>
<string id="SettingsApiUrl">URL untuk API HomeAssistant.</string>
<string id="SettingsConfigUrl">URL untuk konfigurasi menu (JSON).</string>
<string id="SettingsCacheConfig">Sekiranya aplikasi cache konfigurasi menu?</string>
<string id="SettingsClearCache">Sekiranya aplikasi mengosongkan cache sedia ada pada masa akan datang
bermula?</string>
<string id="SettingsAppTimeout">Tamat masa dalam beberapa saat. Keluar dari permohonan selepas tempoh ini
tidak aktif untuk menjimatkan bateri peranti.</string>
<string id="SettingsConfirmTimeout">Selepas masa ini (dalam saat), dialog pengesahan untuk a
tindakan ditutup secara automatik dan tindakan itu dibatalkan. Tetapkan kepada 0 untuk melumpuhkan tamat masa.</string>
<string id="SettingsClearCache">Patutkah aplikasi mengosongkan cache sedia ada pada kali seterusnya ia dimulakan?</string>
<string id="SettingsVibration">Patutkah aplikasi memberikan maklum balas melalui getaran?</string>
<string id="SettingsAppTimeout">Tamat masa dalam beberapa saat. Keluar dari aplikasi selepas tempoh tidak aktif ini untuk menjimatkan bateri peranti.</string>
<string id="SettingsPollDelay">Kelewatan tinjauan pendapat tambahan (dalam beberapa saat). Menambah kelewatan antara kemas kini status semua item menu.</string>
<string id="SettingsConfirmTimeout">Selepas masa ini (dalam beberapa saat), dialog pengesahan untuk tindakan ditutup secara automatik dan tindakan itu dibatalkan. Tetapkan kepada 0 untuk melumpuhkan tamat masa.</string>
<string id="SettingsPin">PIN 4 digit untuk digunakan untuk semua tindakan yang memerlukan pengesahan (0000-9999).</string>
<string id="SettingsPinError">Sila konfigurasikan PIN berangka 4 digit yang sah antara 0000 dan 9999 dalam tetapan aplikasi.</string>
<string id="SettingsTextAlign">Penjajaran Menu Kiri (mati) atau Kanan (hidup).</string>
<string id="LeftToRight">Kiri ke kanan</string>
<string id="RightToLeft">Kanan ke kiri</string>
<string id="SettingsWidgetStart">(Widget sahaja) Mulakan aplikasi secara automatik daripada widget
tanpa menunggu ketuk.</string>
<string id="SettingsEnableBatteryLevel">Dayakan perkhidmatan latar belakang untuk menghantar bateri jam
tahap kepada Pembantu Rumah.</string>
<string id="SettingsBatteryLevelRefreshRate">Kadar muat semula (dalam minit) di mana latar belakang
perkhidmatan harus berulang menghantar paras bateri.</string>
<string id="WebhookId">(Baca sahaja) ID Webhook yang dibuat oleh jam tangan untuk kemas kini tahap bateri.
Anda mungkin memerlukan ini untuk penyahpepijatan.</string>
<string id="RightToLeft">Kanan ke Kiri</string>
<string id="SettingsWidgetStart">(Widget sahaja) Mulakan aplikasi secara automatik daripada widget tanpa menunggu satu ketikan.</string>
<string id="SettingsEnableBatteryLevel">Dayakan perkhidmatan latar belakang untuk menghantar data paras bateri peranti, lokasi dan (jika disokong) kepada Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">Kadar penyegaran semula (dalam minit) di mana perkhidmatan latar belakang harus mengulangi penghantaran data.</string>
<string id="WebhookId">(Baca sahaja) ID Webhook yang dibuat oleh peranti untuk kemas kini perkhidmatan latar belakang. Anda mungkin memerlukan ini untuk penyahpepijatan.</string>
</strings>

View File

@ -22,50 +22,63 @@
<property id="api_url" type="string"></property>
<!--
Best be a public URL in order to work away from your
home LAN and have a trusted HTTPS certificate
Best be a public URL in order to work away from your home LAN and have a
trusted HTTPS certificate.
-->
<property id="config_url" type="string"></property>
<!-- Decide if the menu configuration should be cached. -->
<!--
Decide if the menu configuration should be cached.
-->
<property id="cache_config" type="boolean">false</property>
<!--
Clear the menu configuration on next application start,
and refetch, then set this back to false
Clear the menu configuration on next application start, and refetch, then
set this back to false.
-->
<property id="clear_cache" type="boolean">false</property>
<!--
Application timeout in seconds, except 0 for no
timeout (default). After this amount of elapsed
time with no activity, exit the application.
Enable notification via vibrations, typically for confirmation of actions.
-->
<property id="enable_vibration" type="boolean">true</property>
<!--
Application timeout in seconds, except 0 for no timeout (default). After
this amount of elapsed time with no activity, exit the application.
-->
<property id="app_timeout" type="number">0</property>
<!--
After this time (in seconds), a confirmation dialog
for an action is automatically closed and the action
is cancelled. Set to 0 to disable the timeout.
The default value is 3 seconds.
Poll delay adds a user configurable delay (in seconds) to each round of
status updates of all item in the device's menu that might be amended
externally from the watch. A user has requested that it is possible to add
this delayfor an "always open" mode of operation, which then drains the
watch battery from the additional API access activity.
-->
<property id="poll_delay_combined" type="number">5</property>
<!--
After this time (in seconds), a confirmation dialog for an action is
automatically closed and the action is cancelled. Set to 0 to disable the
timeout. The default value is 3 seconds.
-->
<property id="confirm_timeout" type="number">3</property>
<!--
PIN to be used for confirmation. Used for actions with 'pin': true
which will show the PIN confirmation dialog.
-->
<property id="pin" type="string">0000</property>
<!--
Left to right or right to left text. Language dependent.
-->
<property id="menu_alignment" type="number">1</property>
<!--
Widget specific setting:
As soon as the menu has been fetched start show the menu of items.
This behaviour is inconsistent with the standard Garmin User Interface,
but has been requested by users so has been made the non-default option.
-->
<property id="widget_start_no_tap" type="boolean">false</property>
<!--
Enable the background service to send the clock battery level to Home Assistant.
Enable the background service to send the clock battery level to Home
Assistant.
-->
<property id="enable_battery_level" type="boolean">false</property>
@ -76,11 +89,10 @@
<property id="battery_level_refresh_rate" type="number">15</property>
<!--
The webhook ID is the last part of the webhook URL.
It is secret and should not be shared.
It will not be set in settings but will be
generated by the application and stored in
properties, but read only for trouble shooting.
The webhook ID is the last part of the webhook URL. It is secret and
should not be shared. It will not be set in settings but will be
generated by the application and stored in properties, but read only
for trouble shooting.
-->
<property id="webhook_id" type="string"></property>

View File

@ -51,6 +51,13 @@
<settingConfig type="boolean" />
</setting>
<setting
propertyKey="@Properties.enable_vibration"
title="@Strings.SettingsVibration"
>
<settingConfig type="boolean" />
</setting>
<setting
propertyKey="@Properties.app_timeout"
title="@Strings.SettingsAppTimeout"
@ -58,6 +65,13 @@
<settingConfig type="numeric" min="0" />
</setting>
<setting
propertyKey="@Properties.poll_delay_combined"
title="@Strings.SettingsPollDelay"
>
<settingConfig type="numeric" min="0" />
</setting>
<setting
propertyKey="@Properties.confirm_timeout"
title="@Strings.SettingsConfirmTimeout"
@ -65,6 +79,13 @@
<settingConfig type="numeric" min="0" />
</setting>
<setting
propertyKey="@Properties.pin"
title="@Strings.SettingsPin"
>
<settingConfig type="alphaNumeric" />
</setting>
<setting
propertyKey="@Properties.menu_alignment"
title="@Strings.SettingsTextAlign"
@ -75,13 +96,6 @@
</settingConfig>
</setting>
<setting
propertyKey="@Properties.widget_start_no_tap"
title="@Strings.SettingsWidgetStart"
>
<settingConfig type="boolean" />
</setting>
<setting
propertyKey="@Properties.enable_battery_level"
title="@Strings.SettingsEnableBatteryLevel"

View File

@ -13,53 +13,55 @@
-->
<strings>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Confirm">Sure?</string>
<string id="Executed" scope="glance">Confirmed</string>
<string id="NoPhone" scope="glance">No Phone connection</string>
<string id="NoInternet">No Internet connection</string>
<string id="NoResponse">No Response, check Internet connection</string>
<string id="NoAPIKey" scope="glance">No API key in the application settings</string>
<string id="NoApiUrl" scope="glance">No API URL in the application settings</string>
<string id="NoConfigUrl" scope="glance">No configuration URL in the application settings</string>
<string id="ApiFlood">API calls too rapid. Please slow down your requests.</string>
<string id="ApiUrlNotFound">URL not found. Potential API URL error in settings.</string>
<string id="ConfigUrlNotFound">URL not found. Potential Configuration URL error in settings.</string>
<string id="NoJson">No JSON returned from HTTP request.</string>
<string id="UnhandledHttpErr">HTTP request returned error code = </string>
<string id="TrailingSlashErr">API URL must not have a trailing slash '/'</string>
<string id="WebhookFailed">Failed to register Webhook</string>
<string id="TemplateError">Failed to render template</string>
<string id="AppName" scope="glance">HomeAssistant</string>
<string id="Available" scope="glance">Available</string>
<string id="Checking" scope="glance">Checking...</string>
<string id="Unavailable" scope="glance">Unavailable</string>
<string id="Unconfigured" scope="glance">Unconfigured</string>
<string id="Cached" scope="glance">Cached</string>
<string id="Checking" scope="glance">Checking...</string>
<string id="ConfigUrlNotFound">URL not found. Potential Configuration URL error in settings.</string>
<string id="Confirm">Sure?</string>
<string id="Empty">Empty</string>
<string id="Executed" scope="glance">Confirmed</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<string id="Memory" scope="glance">Memory</string>
<string id="NoAPIKey" scope="glance">No API key in the application settings.</string>
<string id="NoApiUrl" scope="glance">No API URL in the application settings.</string>
<string id="NoConfigUrl" scope="glance">No configuration URL in the application settings.</string>
<string id="NoInternet">No Internet connection.</string>
<string id="NoJson">No JSON returned from HTTP request.</string>
<string id="NoPhone" scope="glance">No Phone connection.</string>
<string id="NoResponse">No Response, check Internet connection</string>
<string id="PinInputLocked">PIN input locked for</string>
<string id="PotentialError">Potential Error</string>
<string id="Seconds">seconds</string>
<string id="TemplateError">Template Error</string>
<string id="TrailingSlashErr">API URL must not have a trailing slash '/'.</string>
<string id="Unavailable" scope="glance">Unavailable</string>
<string id="Unconfigured" scope="glance">Unconfigured</string>
<string id="UnhandledHttpErr">HTTP request returned error code = </string>
<string id="WebhookFailed">Failed to register Webhook</string>
<string id="WrongPin">Wrong PIN</string>
<!-- For the settings GUI -->
<!-- For the settings GUI, strings should be in the order they are used. -->
<string id="SettingsSelect">Select...</string>
<string id="SettingsApiKey">API Key for HomeAssistant.</string>
<string id="SettingsApiKeyPrompt">Long-Lived Access Token.</string>
<string id="SettingsApiUrl">URL for HomeAssistant API.</string>
<string id="SettingsConfigUrl">URL for menu configuration (JSON).</string>
<string id="SettingsCacheConfig">Should the application cache the menu configuration?</string>
<string id="SettingsClearCache">Should the application clear the existing cache next time it is
started?</string>
<string id="SettingsAppTimeout">Timeout in seconds. Exit the application after this period of
inactivity to save the device battery.</string>
<string id="SettingsConfirmTimeout">After this time (in seconds), a confirmation dialog for an
action is automatically closed and the action is cancelled. Set to 0 to disable the timeout.</string>
<string id="SettingsClearCache">Should the application clear the existing cache next time it is started?</string>
<string id="SettingsVibration">Should the application provide feedback via vibrations?</string>
<string id="SettingsAppTimeout">Timeout in seconds. Exit the application after this period of inactivity to save the device battery.</string>
<string id="SettingsPollDelay">Additional poll delay (in seconds). Adds a delay between the status update of all menu items.</string>
<string id="SettingsConfirmTimeout">After this time (in seconds), a confirmation dialog for an action is automatically closed and the action is cancelled. Set to 0 to disable the timeout.</string>
<string id="SettingsPin">4-digit PIN to be used for all actions that require confirmation (0000-9999).</string>
<string id="SettingsPinError">Please configure a valid 4-digit numeric PIN between 0000 and 9999 in the application settings.</string>
<string id="SettingsTextAlign">Left (off) or Right (on) Menu Alignment.</string>
<string id="LeftToRight">Left to right</string>
<string id="RightToLeft">Right to Left</string>
<string id="SettingsWidgetStart">(Widget only) Automatically start the application from the widget
without waiting for a tap.</string>
<string id="SettingsEnableBatteryLevel">Enable the background service to send the clock battery
level to Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">The refresh rate (in minutes) at which the background
service should repeat sending the battery level.</string>
<string id="WebhookId">(Read only) The Webhook ID created by the watch for battery level updates.
You might require this for debugging.</string>
<string id="SettingsWidgetStart">(Widget only) Automatically start the application from the widget without waiting for a tap.</string>
<string id="SettingsEnableBatteryLevel">Enable the background service to send the device battery level, location and (if supported) activity data to Home Assistant.</string>
<string id="SettingsBatteryLevelRefreshRate">The refresh rate (in minutes) at which the background service should repeat sending data.</string>
<string id="WebhookId">(Read only) The Webhook ID created by the device for background service updates. You might require this for debugging.</string>
</strings>

View File

@ -23,6 +23,7 @@ using Toybox.Lang;
using Toybox.Application.Properties;
using Toybox.Background;
using Toybox.System;
using Toybox.Activity;
(:background)
class BackgroundServiceDelegate extends System.ServiceDelegate {
@ -37,29 +38,96 @@ class BackgroundServiceDelegate extends System.ServiceDelegate {
Background.exit(null);
}
function onActivityCompleted(activity as { :sport as Activity.Sport, :subSport as Activity.SubSport }) as Void {
if (!System.getDeviceSettings().phoneConnected) {
// System.println("BackgroundServiceDelegate onActivityCompleted(): No Phone connection, skipping API call.");
} else if (!System.getDeviceSettings().connectionAvailable) {
// System.println("BackgroundServiceDelegate onActivityCompleted(): No Internet connection, skipping API call.");
} else {
// Ensure we're logging completion, i.e. ignore 'activity' parameter
// System.println("BackgroundServiceDelegate onActivityCompleted(): Event triggered");
doUpdate(-1, -1);
}
}
function onTemporalEvent() as Void {
if (! System.getDeviceSettings().phoneConnected) {
if (!System.getDeviceSettings().phoneConnected) {
// System.println("BackgroundServiceDelegate onTemporalEvent(): No Phone connection, skipping API call.");
} else if (! System.getDeviceSettings().connectionAvailable) {
} else if (!System.getDeviceSettings().connectionAvailable) {
// System.println("BackgroundServiceDelegate onTemporalEvent(): No Internet connection, skipping API call.");
} else {
// Don't use Settings.* here as the object lasts < 30 secs and is recreated each time the background service is run
var activity = null;
var sub_activity = null;
if ((Activity has :getActivityInfo) and (Activity has :getProfileInfo)) {
activity = Activity.getProfileInfo().sport;
sub_activity = Activity.getProfileInfo().subSport;
// We need to check if we are actually tracking any activity as the enumerated type does not include "No Sport".
if ((Activity.getActivityInfo() != null) and
((Activity.getActivityInfo().elapsedTime == null) or
(Activity.getActivityInfo().elapsedTime == 0))) {
// Indicate no activity with -1, not part of Garmin's activity codes.
// https://developer.garmin.com/connect-iq/api-docs/Toybox/Activity.html#Sport-module
activity = -1;
sub_activity = -1;
}
}
// System.println("BackgroundServiceDelegate onTemporalEvent(): Event triggered, activity = " + activity + " sub_activity = " + sub_activity);
doUpdate(activity, sub_activity);
}
}
private function doUpdate(activity as Lang.Number or Null, sub_activity as Lang.Number or Null) {
// System.println("BackgroundServiceDelegate onTemporalEvent(): Making API call.");
var position = Position.getInfo();
// System.println("BackgroundServiceDelegate onTemporalEvent(): GPS : " + position.position.toDegrees());
// System.println("BackgroundServiceDelegate onTemporalEvent(): Speed : " + position.speed);
// System.println("BackgroundServiceDelegate onTemporalEvent(): Course : " + position.heading + " radians (" + (position.heading * 180 / Math.PI) + "°)");
// System.println("BackgroundServiceDelegate onTemporalEvent(): Altitude : " + position.altitude);
// System.println("BackgroundServiceDelegate onTemporalEvent(): Battery : " + System.getSystemStats().battery);
// System.println("BackgroundServiceDelegate onTemporalEvent(): Charging : " + System.getSystemStats().charging);
// System.println("BackgroundServiceDelegate onTemporalEvent(): Activity : " + Activity.getProfileInfo().name);
// Don't use Settings.* here as the object lasts < 30 secs and is recreated each time the background service is run
if (position.accuracy != Position.QUALITY_NOT_AVAILABLE && position.accuracy != Position.QUALITY_LAST_KNOWN) {
var accuracy = 0;
switch (position.accuracy) {
case Position.QUALITY_POOR:
accuracy = 500;
break;
case Position.QUALITY_USABLE:
accuracy = 100;
break;
case Position.QUALITY_GOOD:
accuracy = 10;
break;
}
var data = { "gps_accuracy" => accuracy };
// Only add the non-null fields as all the values are optional in Home Assistant, and it avoid submitting fake values.
if (position.position != null) {
data.put("gps", position.position.toDegrees());
}
if (position.speed != null) {
data.put("speed", Math.round(position.speed));
}
if (position.heading != null) {
var heading = Math.round(position.heading * 180 / Math.PI);
while (heading < 0) {
heading += 360;
}
data.put("course", heading);
}
if (position.altitude != null) {
data.put("altitude", Math.round(position.altitude));
}
// System.println("BackgroundServiceDelegate onTemporalEvent(): data = " + data.toString());
Communications.makeWebRequest(
(Properties.getValue("api_url") as Lang.String) + "/webhook/" + (Properties.getValue("webhook_id") as Lang.String),
{
"type" => "update_sensor_states",
"data" => [
{
"state" => System.getSystemStats().battery,
"type" => "sensor",
"unique_id" => "battery_level"
},
{
"state" => System.getSystemStats().charging,
"type" => "binary_sensor",
"unique_id" => "battery_is_charging"
}
]
"type" => "update_location",
"data" => data,
},
{
:method => Communications.HTTP_REQUEST_METHOD_POST,
@ -71,6 +139,91 @@ class BackgroundServiceDelegate extends System.ServiceDelegate {
method(:onReturnBatteryUpdate)
);
}
var activityInfo = ActivityMonitor.getInfo();
var heartRate = Activity.getActivityInfo().currentHeartRate;
var data = [
{
"state" => System.getSystemStats().battery,
"type" => "sensor",
"unique_id" => "battery_level",
"icon" => "mdi:battery"
},
{
"state" => System.getSystemStats().charging,
"type" => "binary_sensor",
"unique_id" => "battery_is_charging",
"icon" => System.getSystemStats().charging ? "mdi:battery-plus" : "mdi:battery-minus"
},
{
"state" => activityInfo.steps == null ? "unknown" : activityInfo.steps,
"type" => "sensor",
"unique_id" => "steps_today",
"icon" => "mdi:walk"
},
{
"state" => heartRate == null ? "unknown" : heartRate,
"type" => "sensor",
"unique_id" => "heart_rate",
"icon" => "mdi:heart-pulse"
}
];
if (ActivityMonitor.Info has :floorsClimbed) {
data.add({
"state" => activityInfo.floorsClimbed == null ? "unknown" : activityInfo.floorsClimbed,
"type" => "sensor",
"unique_id" => "floors_climbed_today",
"icon" => "mdi:stairs-up"
});
}
if (ActivityMonitor.Info has :floorsDescended) {
data.add({
"state" => activityInfo.floorsDescended == null ? "unknown" : activityInfo.floorsDescended,
"type" => "sensor",
"unique_id" => "floors_descended_today",
"icon" => "mdi:stairs-down"
});
}
if (ActivityMonitor.Info has :respirationRate) {
data.add({
"state" => activityInfo.respirationRate == null ? "unknown" : activityInfo.respirationRate,
"type" => "sensor",
"unique_id" => "respiration_rate",
"icon" => "mdi:lungs"
});
}
if (activity != null) {
data.add({
"state" => activity,
"type" => "sensor",
"unique_id" => "activity"
});
}
if (sub_activity != null) {
data.add({
"state" => sub_activity,
"type" => "sensor",
"unique_id" => "sub_activity"
});
}
Communications.makeWebRequest(
(Properties.getValue("api_url") as Lang.String) + "/webhook/" + (Properties.getValue("webhook_id") as Lang.String),
{
"type" => "update_sensor_states",
"data" => data
},
{
:method => Communications.HTTP_REQUEST_METHOD_POST,
:headers => {
"Content-Type" => Communications.REQUEST_CONTENT_TYPE_JSON
},
:responseType => Communications.HTTP_RESPONSE_CONTENT_TYPE_JSON
},
method(:onReturnBatteryUpdate)
);
}
}

View File

@ -91,7 +91,7 @@ class ErrorView extends ScalableView {
return mDelegate;
}
static function create(text as Lang.String) as Lang.Array<ErrorView or ErrorDelegate> {
static function create(text as Lang.String) as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ] {
if (instance == null) {
instance = new ErrorView();
}
@ -116,10 +116,10 @@ class ErrorView extends ScalableView {
static function unShow() as Void {
if (mShown) {
WatchUi.popView(WatchUi.SLIDE_DOWN);
// The call to 'updateNextMenuItem()' must be on another thread so that the view is popped above.
// The call to 'updateMenuItems()' must be on another thread so that the view is popped above.
var myTimer = new Timer.Timer();
// Now this feels very "closely coupled" to the application, but it is the most reliable method instead of using a timer.
myTimer.start(getApp().method(:updateNextMenuItem), Globals.scApiResume, false);
myTimer.start(getApp().method(:updateMenuItems), Globals.scApiResume, false);
// This must be last to avoid a race condition with show(), where the
// ErrorView can't be dismissed.
mShown = false;

View File

@ -9,7 +9,7 @@
// tested on a Venu 2 device. The source code is provided at:
// https://github.com/house-of-abbey/GarminHomeAssistant.
//
// P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
// P A Abbey & J D Abbey & Someone0nEarth & moesterheld, 31 October 2023
//
//
// Description:
@ -22,14 +22,19 @@ using Toybox.Lang;
(:glance)
class Globals {
static const scAlertTimeout = 2000; // ms
static const scTapTimeout = 1000; // ms
static const scAlertTimeout = 2000; // ms
static const scTapTimeout = 1000; // ms
// Time to let the existing HTTP responses get serviced after a
// Communications.NETWORK_RESPONSE_OUT_OF_MEMORY response code.
static const scApiBackoff = 1000; // ms
static const scApiBackoff = 1000; // ms
// Needs to be long enough to enable a "double ESC" to quit the application from
// an ErrorView.
static const scApiResume = 200; // ms
static const scApiResume = 200; // ms
// Warn the user after fetching the menu if their watch is low on memory before the device crashes.
static const scLowMem = 0.90; // percent as a fraction.
static const scLowMem = 0.90; // percent as a fraction.
// Constants for PIN confirmation dialog
static const scPinMaxFailures = 5; // Maximum number of failed PIN confirmation attemps allwed in ...
static const scPinMaxFailureMinutes = 2; // ... this number of minutes before PIN confirmation is locked for ...
static const scPinLockTimeMinutes = 10; // ... this number of minutes
}

View File

@ -9,7 +9,7 @@
// tested on a Venu 2 device. The source code is provided at:
// https://github.com/house-of-abbey/GarminHomeAssistant.
//
// P A Abbey & J D Abbey & Someone0nEarth, 31 October 2023
// P A Abbey & J D Abbey & Someone0nEarth & moesterheld, 31 October 2023
//
//
// Description:
@ -27,16 +27,18 @@ using Toybox.Timer;
(:glance, :background)
class HomeAssistantApp extends Application.AppBase {
private var mApiStatus as Lang.String or Null;
private var mMenuStatus as Lang.String or Null;
private var mHaMenu as HomeAssistantView or Null;
private var mQuitTimer as QuitTimer or Null;
private var mTimer as Timer.Timer or Null;
private var mApiStatus as Lang.String or Null;
private var mMenuStatus as Lang.String or Null;
private var mHaMenu as HomeAssistantView or Null;
private var mQuitTimer as QuitTimer or Null;
private var mGlanceTimer as Timer.Timer or Null;
private var mUpdateTimer as Timer.Timer or Null;
// Array initialised by onReturnFetchMenuConfig()
private var mItemsToUpdate as Lang.Array<HomeAssistantToggleMenuItem or HomeAssistantTemplateMenuItem> or Null;
private var mNextItemToUpdate as Lang.Number = 0; // Index into the above array
private var mIsGlance as Lang.Boolean = false;
private var mIsApp as Lang.Boolean = false; // Or Widget
private var mItemsToUpdate as Lang.Array<HomeAssistantToggleMenuItem or HomeAssistantTapMenuItem or HomeAssistantGroupMenuItem> or Null;
private var mIsGlance as Lang.Boolean = false;
private var mIsApp as Lang.Boolean = false; // Or Widget
private var mUpdating as Lang.Boolean = false; // Don't start a second chain of updates
private var mTemplates as Lang.Dictionary = {};
function initialize() {
AppBase.initialize();
@ -86,44 +88,47 @@ class HomeAssistantApp extends Application.AppBase {
}
// Return the initial view of your application here
function getInitialView() as Lang.Array<WatchUi.Views or WatchUi.InputDelegates>? {
mIsApp = true;
mQuitTimer = new QuitTimer();
// RezStrings.update();
mApiStatus = WatchUi.loadResource($.Rez.Strings.Checking) as Lang.String;
mMenuStatus = WatchUi.loadResource($.Rez.Strings.Checking) as Lang.String;
function getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ] {
mIsApp = true;
mQuitTimer = new QuitTimer();
mUpdateTimer = new Timer.Timer();
mApiStatus = WatchUi.loadResource($.Rez.Strings.Checking) as Lang.String;
mMenuStatus = WatchUi.loadResource($.Rez.Strings.Checking) as Lang.String;
Settings.update();
if (Settings.getApiKey().length() == 0) {
// System.println("HomeAssistantApp getInitialView(): No API key in the application Settings.");
return ErrorView.create(WatchUi.loadResource($.Rez.Strings.NoAPIKey) as Lang.String + ".");
return ErrorView.create(WatchUi.loadResource($.Rez.Strings.NoAPIKey) as Lang.String);
} else if (Settings.getApiUrl().length() == 0) {
// System.println("HomeAssistantApp getInitialView(): No API URL in the application Settings.");
return ErrorView.create(WatchUi.loadResource($.Rez.Strings.NoApiUrl) as Lang.String + ".");
return ErrorView.create(WatchUi.loadResource($.Rez.Strings.NoApiUrl) as Lang.String);
} else if (Settings.getApiUrl().substring(-1, Settings.getApiUrl().length()).equals("/")) {
// System.println("HomeAssistantApp getInitialView(): API URL must not have a trailing slash '/'.");
return ErrorView.create(WatchUi.loadResource($.Rez.Strings.TrailingSlashErr) as Lang.String + ".");
return ErrorView.create(WatchUi.loadResource($.Rez.Strings.TrailingSlashErr) as Lang.String);
} else if (Settings.getConfigUrl().length() == 0) {
// System.println("HomeAssistantApp getInitialView(): No configuration URL in the application settings.");
return ErrorView.create(WatchUi.loadResource($.Rez.Strings.NoConfigUrl) as Lang.String + ".");
return ErrorView.create(WatchUi.loadResource($.Rez.Strings.NoConfigUrl) as Lang.String);
} else if (Settings.getPin() == null) {
// System.println("HomeAssistantApp getInitialView(): Invalid PIN in application settings.");
return ErrorView.create(WatchUi.loadResource($.Rez.Strings.SettingsPinError) as Lang.String);
} else if (! System.getDeviceSettings().phoneConnected) {
// System.println("HomeAssistantApp fetchMenuConfig(): No Phone connection, skipping API call.");
return ErrorView.create(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String + ".");
// System.println("HomeAssistantApp getInitialView(): No Phone connection, skipping API call.");
return ErrorView.create(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String);
} else if (! System.getDeviceSettings().connectionAvailable) {
// System.println("HomeAssistantApp fetchMenuConfig(): No Internet connection, skipping API call.");
return ErrorView.create(WatchUi.loadResource($.Rez.Strings.NoInternet) as Lang.String + ".");
// System.println("HomeAssistantApp getInitialView(): No Internet connection, skipping API call.");
return ErrorView.create(WatchUi.loadResource($.Rez.Strings.NoInternet) as Lang.String);
} else {
var isCached = fetchMenuConfig();
var ret = null;
fetchApiStatus();
if (WidgetApp.isWidget) {
return [new RootView(self), new RootViewDelegate(self)] as Lang.Array<WatchUi.Views or WatchUi.InputDelegates>;
if (isCached) {
ret = [mHaMenu, new HomeAssistantViewDelegate(true)];
} else {
if (isCached) {
return [mHaMenu, new HomeAssistantViewDelegate(true)] as Lang.Array<WatchUi.Views or WatchUi.InputDelegates>;
} else {
return [new WatchUi.View(), new WatchUi.BehaviorDelegate()] as Lang.Array<WatchUi.Views or WatchUi.InputDelegates>;
}
ret = [new WatchUi.View(), new WatchUi.BehaviorDelegate()];
}
// Separated from Settings.update() in order to call after fetchMenuConfig() and not call it on changes settings.
Settings.webhook();
return ret;
}
}
@ -140,7 +145,7 @@ class HomeAssistantApp extends Application.AppBase {
case Communications.BLE_CONNECTION_UNAVAILABLE:
// System.println("HomeAssistantApp onReturnFetchMenuConfig() Response Code: BLE_HOST_TIMEOUT or BLE_CONNECTION_UNAVAILABLE, Bluetooth connection severed.");
if (!mIsGlance) {
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String + ".");
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String);
}
break;
@ -173,15 +178,21 @@ class HomeAssistantApp extends Application.AppBase {
break;
case 200:
if (Settings.getCacheConfig()) {
Storage.setValue("menu", data as Lang.Dictionary);
mMenuStatus = WatchUi.loadResource($.Rez.Strings.Cached) as Lang.String;
if (data == null) {
mMenuStatus = WatchUi.loadResource($.Rez.Strings.Unavailable) as Lang.String;
} else {
mMenuStatus = WatchUi.loadResource($.Rez.Strings.Available) as Lang.String;
if (Settings.getCacheConfig()) {
Storage.setValue("menu", data as Lang.Dictionary);
mMenuStatus = WatchUi.loadResource($.Rez.Strings.Cached) as Lang.String;
} else {
mMenuStatus = WatchUi.loadResource($.Rez.Strings.Available) as Lang.String;
}
}
if (!mIsGlance) {
buildMenu(data);
if (!WidgetApp.isWidget) {
if (data == null) {
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoJson) as Lang.String);
} else {
buildMenu(data);
WatchUi.switchToView(mHaMenu, new HomeAssistantViewDelegate(false), WatchUi.SLIDE_IMMEDIATE);
}
}
@ -201,31 +212,32 @@ class HomeAssistantApp extends Application.AppBase {
// asynchronous and affects how the views are managed.
(:glance)
function fetchMenuConfig() as Lang.Boolean {
// System.println("Menu URL = " + Settings.getConfigUrl());
if (Settings.getConfigUrl().equals("")) {
mMenuStatus = WatchUi.loadResource($.Rez.Strings.Unconfigured) as Lang.String;
WatchUi.requestUpdate();
} else {
var menu = Storage.getValue("menu") as Lang.Dictionary;
if (menu != null and Settings.getClearCache()) {
if (menu != null and (Settings.getClearCache() || !Settings.getCacheConfig())) {
Storage.deleteValue("menu");
menu = null;
Settings.unsetClearCache();
}
if (menu == null) {
if (! System.getDeviceSettings().phoneConnected) {
// System.println("HomeAssistantToggleMenuItem getState(): No Phone connection, skipping API call.");
// System.println("HomeAssistantApp fetchMenuConfig(): No Phone connection, skipping API call.");
if (mIsGlance) {
WatchUi.requestUpdate();
} else {
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String + ".");
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String);
}
mMenuStatus = WatchUi.loadResource($.Rez.Strings.Unavailable) as Lang.String;
} else if (! System.getDeviceSettings().connectionAvailable) {
// System.println("HomeAssistantToggleMenuItem getState(): No Internet connection, skipping API call.");
// System.println("HomeAssistantApp fetchMenuConfig(): No Internet connection, skipping API call.");
if (mIsGlance) {
WatchUi.requestUpdate();
} else {
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoInternet) as Lang.String + ".");
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoInternet) as Lang.String);
}
mMenuStatus = WatchUi.loadResource($.Rez.Strings.Unavailable) as Lang.String;
} else {
@ -254,17 +266,139 @@ class HomeAssistantApp extends Application.AppBase {
private function buildMenu(menu as Lang.Dictionary) {
mHaMenu = new HomeAssistantView(menu, null);
mQuitTimer.begin();
if (Settings.getIsWidgetStartNoTap()) {
// As soon as the menu has been fetched start show the menu of items.
// This behaviour is inconsistent with the standard Garmin User Interface, but has been
// requested by users so has been made the non-default option.
pushHomeAssistantMenuView();
if (!Settings.getWebhookId().equals("")) {
startUpdates();
} // If not, this will be done via a chain in Settings.webhook() and mWebhookManager.requestWebhookId() that registers the sensors.
}
function startUpdates() {
if (mHaMenu != null and !mUpdating) {
// Start the continuous update process that continues for as long as the application is running.
updateMenuItems();
mUpdating = true;
}
mItemsToUpdate = mHaMenu.getItemsToUpdate();
// Start the continuous update process that continues for as long as the application is running.
// The chain of functions from 'updateNextMenuItem()' calls 'updateNextMenuItem()' on completion.
if (mItemsToUpdate.size() > 0) {
updateNextMenuItem();
}
function onReturnUpdateMenuItems(responseCode as Lang.Number, data as Null or Lang.Dictionary) as Void {
// System.println("HomeAssistantApp onReturnUpdateMenuItems() Response Code: " + responseCode);
// System.println("HomeAssistantApp onReturnUpdateMenuItems() Response Data: " + data);
var status = WatchUi.loadResource($.Rez.Strings.Unavailable) as Lang.String;
switch (responseCode) {
case Communications.BLE_HOST_TIMEOUT:
case Communications.BLE_CONNECTION_UNAVAILABLE:
// System.println("HomeAssistantApp onReturnUpdateMenuItems() Response Code: BLE_HOST_TIMEOUT or BLE_CONNECTION_UNAVAILABLE, Bluetooth connection severed.");
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String);
break;
case Communications.BLE_QUEUE_FULL:
// System.println("HomeAssistantApp onReturnUpdateMenuItems() Response Code: BLE_QUEUE_FULL, API calls too rapid.");
ErrorView.show(WatchUi.loadResource($.Rez.Strings.ApiFlood) as Lang.String);
break;
case Communications.NETWORK_REQUEST_TIMED_OUT:
// System.println("HomeAssistantApp onReturnUpdateMenuItems() Response Code: NETWORK_REQUEST_TIMED_OUT, check Internet connection.");
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoResponse) as Lang.String);
break;
case Communications.INVALID_HTTP_BODY_IN_NETWORK_RESPONSE:
// System.println("HomeAssistantApp onReturnUpdateMenuItems() Response Code: INVALID_HTTP_BODY_IN_NETWORK_RESPONSE, check JSON is returned.");
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoJson) as Lang.String);
break;
case Communications.NETWORK_RESPONSE_OUT_OF_MEMORY:
// System.println("HomeAssistantApp onReturnUpdateMenuItems() Response Code: NETWORK_RESPONSE_OUT_OF_MEMORY, are we going too fast?");
var myTimer = new Timer.Timer();
// Now this feels very "closely coupled" to the application, but it is the most reliable method instead of using a timer.
myTimer.start(method(:updateMenuItems), Globals.scApiBackoff, false);
// Revert status
status = getApiStatus();
break;
case 404:
// System.println("HomeAssistantApp onReturnUpdateMenuItems() Response Code: 404, page not found. Check API URL setting.");
ErrorView.show(WatchUi.loadResource($.Rez.Strings.ApiUrlNotFound) as Lang.String);
break;
case 400:
// System.println("HomeAssistantApp onReturnUpdateMenuItems() Response Code: 400, bad request. Template error.");
ErrorView.show(WatchUi.loadResource($.Rez.Strings.TemplateError) as Lang.String);
break;
case 200:
status = WatchUi.loadResource($.Rez.Strings.Available) as Lang.String;
// System.println("mItemsToUpdate: " + mItemsToUpdate);
if (mItemsToUpdate != null) {
for (var i = 0; i < mItemsToUpdate.size(); i++) {
var item = mItemsToUpdate[i];
var state = data.get(i.toString());
item.updateState(state);
if (item instanceof HomeAssistantToggleMenuItem) {
(item as HomeAssistantToggleMenuItem).updateToggleState(data.get(i.toString() + "t"));
}
}
var delay = Settings.getPollDelay();
if (delay > 0) {
mUpdateTimer.start(method(:updateMenuItems), delay, false);
} else {
updateMenuItems();
}
}
break;
default:
// System.println("HomeAssistantApp onReturnUpdateMenuItems(): Unhandled HTTP response code = " + responseCode);
ErrorView.show(WatchUi.loadResource($.Rez.Strings.UnhandledHttpErr) as Lang.String + responseCode);
}
setApiStatus(status);
}
function updateMenuItems() as Void {
if (! System.getDeviceSettings().phoneConnected) {
// System.println("HomeAssistantApp updateMenuItems(): No Phone connection, skipping API call.");
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String);
setApiStatus(WatchUi.loadResource($.Rez.Strings.Unavailable) as Lang.String);
} else if (! System.getDeviceSettings().connectionAvailable) {
// System.println("HomeAssistantApp updateMenuItems(): No Internet connection, skipping API call.");
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoInternet) as Lang.String);
setApiStatus(WatchUi.loadResource($.Rez.Strings.Unavailable) as Lang.String);
} else {
if (mItemsToUpdate == null or mTemplates == null) {
mItemsToUpdate = mHaMenu.getItemsToUpdate();
mTemplates = {};
for (var i = 0; i < mItemsToUpdate.size(); i++) {
var item = mItemsToUpdate[i];
var template = item.buildTemplate();
if (template != null) {
mTemplates.put(i.toString(), {
"template" => template
});
}
if (item instanceof HomeAssistantToggleMenuItem) {
mTemplates.put(i.toString() + "t", {
"template" => (item as HomeAssistantToggleMenuItem).buildToggleTemplate()
});
}
}
}
// https://developers.home-assistant.io/docs/api/native-app-integration/sending-data/#render-templates
var url = Settings.getApiUrl() + "/webhook/" + Settings.getWebhookId();
// System.println("HomeAssistantApp updateMenuItems() URL=" + url + ", Template='" + mTemplate + "'");
Communications.makeWebRequest(
url,
{
"type" => "render_template",
"data" => mTemplates
},
{
:method => Communications.HTTP_REQUEST_METHOD_POST,
:headers => {
"Content-Type" => Communications.REQUEST_CONTENT_TYPE_JSON
},
:responseType => Communications.HTTP_RESPONSE_CONTENT_TYPE_JSON
},
method(:onReturnUpdateMenuItems)
);
}
}
@ -281,7 +415,7 @@ class HomeAssistantApp extends Application.AppBase {
case Communications.BLE_CONNECTION_UNAVAILABLE:
// System.println("HomeAssistantApp onReturnFetchApiStatus() Response Code: BLE_HOST_TIMEOUT or BLE_CONNECTION_UNAVAILABLE, Bluetooth connection severed.");
if (!mIsGlance) {
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String + ".");
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String);
}
break;
@ -314,11 +448,7 @@ class HomeAssistantApp extends Application.AppBase {
break;
case 200:
var msg = null;
if (data != null) {
msg = data.get("message");
}
if (msg.equals("API running.")) {
if ((data != null) && data.get("message").equals("API running.")) {
mApiStatus = WatchUi.loadResource($.Rez.Strings.Available) as Lang.String;
} else {
if (!mIsGlance) {
@ -338,25 +468,26 @@ class HomeAssistantApp extends Application.AppBase {
(:glance)
function fetchApiStatus() as Void {
// System.println("API URL = " + Settings.getApiUrl());
if (Settings.getApiUrl().equals("")) {
mApiStatus = WatchUi.loadResource($.Rez.Strings.Unconfigured) as Lang.String;
WatchUi.requestUpdate();
} else {
if (! System.getDeviceSettings().phoneConnected) {
// System.println("HomeAssistantToggleMenuItem getState(): No Phone connection, skipping API call.");
// System.println("HomeAssistantApp fetchApiStatus(): No Phone connection, skipping API call.");
mApiStatus = WatchUi.loadResource($.Rez.Strings.Unavailable) as Lang.String;
if (mIsGlance) {
WatchUi.requestUpdate();
} else {
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String + ".");
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String);
}
} else if (! System.getDeviceSettings().connectionAvailable) {
// System.println("HomeAssistantToggleMenuItem getState(): No Internet connection, skipping API call.");
// System.println("HomeAssistantApp fetchApiStatus(): No Internet connection, skipping API call.");
mApiStatus = WatchUi.loadResource($.Rez.Strings.Unavailable) as Lang.String;
if (mIsGlance) {
WatchUi.requestUpdate();
} else {
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoInternet) as Lang.String + ".");
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoInternet) as Lang.String);
}
} else {
Communications.makeWebRequest(
@ -397,18 +528,14 @@ class HomeAssistantApp extends Application.AppBase {
WatchUi.pushView(mHaMenu, new HomeAssistantViewDelegate(true), WatchUi.SLIDE_IMMEDIATE);
}
// We need to spread out the API calls so as not to overload the results queue and cause Communications.BLE_QUEUE_FULL
// (-101) error. This function is called by a timer every Globals.menuItemUpdateInterval ms.
function updateNextMenuItem() as Void {
var itu = mItemsToUpdate as Lang.Array<HomeAssistantToggleMenuItem>;
if (itu == null) {
// System.println("HomeAssistantApp updateNextMenuItem(): No menu items to update");
if (!mIsGlance) {
ErrorView.show(WatchUi.loadResource($.Rez.Strings.ConfigUrlNotFound) as Lang.String);
}
} else {
itu[mNextItemToUpdate].getState();
mNextItemToUpdate = (mNextItemToUpdate + 1) % itu.size();
// Only call this function if Settings.getPollDelay() > 0. This must be tested locally as it is then efficient to take
// alternative action if the test fails.
function forceStatusUpdates() as Void {
// Don't mess with updates unless we are using a timer.
if (Settings.getPollDelay() > 0) {
mUpdateTimer.stop();
// For immediate updates
updateMenuItems();
}
}
@ -416,26 +543,24 @@ class HomeAssistantApp extends Application.AppBase {
return mQuitTimer;
}
function getGlanceView() as Lang.Array<WatchUi.GlanceView or WatchUi.GlanceViewDelegate> or Null {
mIsGlance = true;
// RezStrings.update_glance();
function getGlanceView() as [ WatchUi.GlanceView ] or [ WatchUi.GlanceView, WatchUi.GlanceViewDelegate ] or Null {
mIsGlance = true;
mApiStatus = WatchUi.loadResource($.Rez.Strings.Checking) as Lang.String;
mMenuStatus = WatchUi.loadResource($.Rez.Strings.Checking) as Lang.String;
updateStatus();
Settings.update();
mTimer = new Timer.Timer();
mTimer.start(method(:updateStatus), Globals.scApiBackoff, true);
updateStatus();
mGlanceTimer = new Timer.Timer();
mGlanceTimer.start(method(:updateStatus), Globals.scApiBackoff, true);
return [new HomeAssistantGlanceView(self)];
}
// Required for the Glance update timer.
function updateStatus() as Void {
mGlanceTimer = null;
fetchMenuConfig();
fetchApiStatus();
}
// Replace this functionality with a more central settings class as proposed in
// https://github.com/house-of-abbey/GarminHomeAssistant/pull/17.
function onSettingsChanged() as Void {
// System.println("HomeAssistantApp onSettingsChanged()");
Settings.update();
@ -443,7 +568,7 @@ class HomeAssistantApp extends Application.AppBase {
// Called each time the Registered Temporal Event is to be invoked. So the object is created each time on request and
// then destroyed on completion (to save resources).
function getServiceDelegate() as Lang.Array<System.ServiceDelegate> {
function getServiceDelegate() as [ System.ServiceDelegate ] {
return [new BackgroundServiceDelegate()];
}

View File

@ -14,28 +14,34 @@
//
// Description:
//
// Menu button with an icon that opens a sub-menu, i.e. group.
// Menu button with an icon that opens a sub-menu, i.e. group, and optionally renders
// a Home Assistant Template.
//
//-----------------------------------------------------------------------------------
using Toybox.Lang;
using Toybox.WatchUi;
class HomeAssistantGroupMenuItem extends WatchUi.IconMenuItem {
class HomeAssistantGroupMenuItem extends HomeAssistantMenuItem {
private var mMenu as HomeAssistantView;
function initialize(
definition as Lang.Dictionary,
template as Lang.String,
icon as WatchUi.Drawable,
options as {
:alignment as WatchUi.MenuItem.Alignment
} or Null) {
} or Null
) {
if (options != null) {
options.put(:icon, icon);
} else {
options = { :icon => icon };
}
WatchUi.IconMenuItem.initialize(
HomeAssistantMenuItem.initialize(
definition.get("name") as Lang.String,
null,
null,
icon,
template,
options
);

Some files were not shown because too many files have changed in this diff Show More