mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-06-16 03:18:35 +00:00
Initial solution
This commit is contained in:
@ -24,6 +24,12 @@
|
||||
<!-- 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. -->
|
||||
<property id="cache_config" type="boolean">false</property>
|
||||
|
||||
<!-- 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.
|
||||
|
@ -37,6 +37,20 @@
|
||||
<settingConfig type="alphaNumeric" />
|
||||
</setting>
|
||||
|
||||
<setting
|
||||
propertyKey="@Properties.cache_config"
|
||||
title="@Strings.SettingsCacheConfig"
|
||||
>
|
||||
<settingConfig type="boolean" />
|
||||
</setting>
|
||||
|
||||
<setting
|
||||
propertyKey="@Properties.clear_cache"
|
||||
title="@Strings.SettingsClearCache"
|
||||
>
|
||||
<settingConfig type="boolean" />
|
||||
</setting>
|
||||
|
||||
<setting
|
||||
propertyKey="@Properties.app_timeout"
|
||||
title="@Strings.SettingsAppTimeout"
|
||||
|
@ -35,6 +35,7 @@
|
||||
<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="GlanceMenu" scope="glance">Menu</string>
|
||||
|
||||
<!-- For the settings GUI -->
|
||||
@ -43,6 +44,8 @@
|
||||
<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="SettingsMenuItemStyle">Menu item style.</string>
|
||||
|
Reference in New Issue
Block a user