mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-08-15 08:08:38 +00:00
Initial attempt
Lacking an end to end test on this code presently.
This commit is contained in:
@ -94,6 +94,20 @@
|
||||
-->
|
||||
<property id="battery_level_refresh_rate" type="number">15</property>
|
||||
|
||||
<!--
|
||||
A user specified HTTP header key to be used in all HTTP requests.
|
||||
This is useful for some Home Assistant installations that require a
|
||||
custom HTTP header.
|
||||
-->
|
||||
<property id="user_http_header_key" type="string"></property>
|
||||
|
||||
<!--
|
||||
A user specified HTTP header value to be used in all HTTP requests.
|
||||
This is useful for some Home Assistant installations that require a
|
||||
custom HTTP header.
|
||||
-->
|
||||
<property id="user_http_header_value" type="string"></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
|
||||
|
@ -119,6 +119,22 @@
|
||||
<settingConfig type="numeric" min="5" />
|
||||
</setting>
|
||||
|
||||
<group id="userHttpHeader" title="@Strings.SettingsUserHttpHeader" description="@Strings.SettingsUserHttpHeaderDescription">
|
||||
<setting
|
||||
propertyKey="@Properties.user_http_header_key"
|
||||
title="@Strings.SettingsUserHttpHeaderKey"
|
||||
>
|
||||
<settingConfig type="alphaNumeric" />
|
||||
</setting>
|
||||
|
||||
<setting
|
||||
propertyKey="@Properties.user_http_header_value"
|
||||
title="@Strings.SettingsUserHttpHeaderValue"
|
||||
>
|
||||
<settingConfig type="alphaNumeric" />
|
||||
</setting>
|
||||
</group>
|
||||
|
||||
<setting
|
||||
propertyKey="@Properties.webhook_id"
|
||||
title="@Strings.WebhookId"
|
||||
|
@ -57,6 +57,9 @@
|
||||
<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="WifiLteExecution">Wi-Fi/LTE execution mode.</string>
|
||||
<string id="WifiLteExecutionEnable">Enable executing commands over Wi-Fi/LTE.</string>
|
||||
<string id="WifiLteExecutionDescription">Allows the app to start without phone connection (when menu is cached), and prompt to execute command over Wi-Fi/LTE.</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>
|
||||
@ -69,8 +72,9 @@
|
||||
<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="SettingsUserHttpHeader">User supplied HTTP header</string>
|
||||
<string id="SettingsUserHttpHeaderDescription">Some Home Assistant installations require the specification of a custom HTTP header in order to function.</string>
|
||||
<string id="SettingsUserHttpHeaderKey">User supplied HTTP header key.</string>
|
||||
<string id="SettingsUserHttpHeaderValue">User supplied HTTP header value.</string>
|
||||
<string id="WebhookId">(Read only) The Webhook ID created by the device for background service updates. You might require this for debugging.</string>
|
||||
<string id="WifiLteExecution">Wi-Fi/LTE execution mode.</string>
|
||||
<string id="WifiLteExecutionEnable">Enable executing commands over Wi-Fi/LTE.</string>
|
||||
<string id="WifiLteExecutionDescription">Allows the app to start without phone connection (when menu is cached), and prompt to execute command over Wi-Fi/LTE.</string>
|
||||
</strings>
|
||||
|
Reference in New Issue
Block a user