Philip Abbey 8c0540ee45 Initial version with "auto quit"
Quit the application after a user settable period of time based on a timeout value from the settings.
2023-12-02 19:04:53 +00:00

82 lines
1.7 KiB
XML

<!--
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, 31 October 2023
-->
<settings>
<setting
propertyKey="@Properties.api_key"
title="API Key for Home Assistant"
prompt="Long-Lived Access Token"
>
<settingConfig
type="alphaNumeric"
/>
</setting>
<setting
propertyKey="@Properties.api_url"
title="URL for Home Assistant API"
prompt="https://homeassistant.local/api"
>
<settingConfig
type="alphaNumeric"
/>
</setting>
<setting
propertyKey="@Properties.config_url"
title="URL for menu configuration (JSON)"
prompt="https://homeassistant.local/local/garmin/menu.json"
>
<settingConfig
type="alphaNumeric"
/>
</setting>
<setting
propertyKey="@Properties.app_timeout"
title="Timeout in seconds. Exit the application after this period of inactivity to save the device battery."
>
<settingConfig
type="numeric"
min="0"
/>
</setting>
<setting
propertyKey="@Properties.types_representation"
title="Representing types with icons (off) or with labels (on)"
>
<settingConfig
type="boolean"
/>
</setting>
<setting
propertyKey="@Properties.menu_alignment"
title="Left (off) or Right (on) Menu Alignment"
>
<settingConfig
type="boolean"
/>
</setting>
<!--
<defaults>
<entry>
<default id="app_timeout">20</default>
</entry>
</defaults>
-->
</settings>