mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-09-13 04:31:32 +00:00
Added Setting option to clear the Webhook ID
Co-Authored-By: __JosephAbbey <me@josephabbey.dev>
This commit is contained in:
@@ -108,6 +108,12 @@
|
||||
-->
|
||||
<property id="user_http_header_value" type="string"></property>
|
||||
|
||||
<!--
|
||||
Clear the Webhook ID on next application start, and reauthenticate,
|
||||
then set this back to false.
|
||||
-->
|
||||
<property id="clear_webhook_id" type="boolean">false</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
|
||||
|
@@ -53,7 +53,7 @@
|
||||
|
||||
<setting
|
||||
propertyKey="@Properties.wifi_lte_execution"
|
||||
title="@Strings.WifiLteExecutionEnable"
|
||||
title="@Strings.SettingsWifiLteExecutionEnable"
|
||||
>
|
||||
<settingConfig type="boolean" />
|
||||
</setting>
|
||||
@@ -98,8 +98,8 @@
|
||||
title="@Strings.SettingsTextAlign"
|
||||
>
|
||||
<settingConfig type="list">
|
||||
<listEntry value="1">@Strings.LeftToRight</listEntry>
|
||||
<listEntry value="0">@Strings.RightToLeft</listEntry>
|
||||
<listEntry value="1">@Strings.SettingsLeftToRight</listEntry>
|
||||
<listEntry value="0">@Strings.SettingsRightToLeft</listEntry>
|
||||
</settingConfig>
|
||||
</setting>
|
||||
|
||||
@@ -129,13 +129,17 @@
|
||||
>
|
||||
<settingConfig type="alphaNumeric" />
|
||||
</setting>
|
||||
<!--
|
||||
<group id="userHttpHeader" title="@Strings.SettingsUserHttpHeader" description="@Strings.SettingsUserHttpHeaderDescription">
|
||||
</group>
|
||||
-->
|
||||
|
||||
<setting
|
||||
propertyKey="@Properties.clear_webhook_id"
|
||||
title="@Strings.SettingsClearWebhookId"
|
||||
>
|
||||
<settingConfig type="boolean" />
|
||||
</setting>
|
||||
|
||||
<setting
|
||||
propertyKey="@Properties.webhook_id"
|
||||
title="@Strings.WebhookId"
|
||||
title="@Strings.SettingsWebhookId"
|
||||
>
|
||||
<settingConfig type="alphaNumeric" readonly="true" />
|
||||
</setting>
|
||||
|
@@ -57,7 +57,7 @@
|
||||
<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="WifiLteExecutionEnable">Enable executing commands over Wi-Fi/LTE.</string>
|
||||
<string id="SettingsWifiLteExecutionEnable">Enable executing commands 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>
|
||||
@@ -65,8 +65,8 @@
|
||||
<string id="SettingsPin">4-digit PIN to be used for all actions that require it (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="SettingsLeftToRight">Left to right</string>
|
||||
<string id="SettingsRightToLeft">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 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>
|
||||
@@ -74,5 +74,6 @@
|
||||
<string id="SettingsUserHttpHeaderDescription">Some Home Assistant installations require the specification of a custom HTTP header in order to function.</string>
|
||||
<string id="SettingsUserHttpHeaderName">User supplied HTTP-Header: Name</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="SettingsClearWebhookId">Reconnect to Home Assistant (clear Webhook ID, see Troubleshooting guide).</string>
|
||||
<string id="SettingsWebhookId">(Read only) The Webhook ID created by the device for background service updates. You might require this for debugging.</string>
|
||||
</strings>
|
||||
|
Reference in New Issue
Block a user