mirror of
				https://github.com/house-of-abbey/GarminHomeAssistant.git
				synced 2025-11-04 08:58:13 +00:00 
			
		
		
		
	Initial version with "auto quit"
Quit the application after a user settable period of time based on a timeout value from the settings.
This commit is contained in:
		@@ -24,7 +24,14 @@
 | 
			
		||||
  <!-- 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>
 | 
			
		||||
 | 
			
		||||
  <!--
 | 
			
		||||
    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>
 | 
			
		||||
 | 
			
		||||
  <property id="types_representation" type="boolean"></property>
 | 
			
		||||
 | 
			
		||||
  <property id="menu_alignment" type="boolean"></property>
 | 
			
		||||
 | 
			
		||||
</properties>
 | 
			
		||||
 
 | 
			
		||||
@@ -43,6 +43,16 @@
 | 
			
		||||
    />
 | 
			
		||||
  </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)"
 | 
			
		||||
@@ -60,4 +70,12 @@
 | 
			
		||||
      type="boolean"
 | 
			
		||||
    />
 | 
			
		||||
  </setting>
 | 
			
		||||
 | 
			
		||||
<!--
 | 
			
		||||
  <defaults>
 | 
			
		||||
    <entry>
 | 
			
		||||
      <default id="app_timeout">20</default>
 | 
			
		||||
    </entry>
 | 
			
		||||
  </defaults>
 | 
			
		||||
-->
 | 
			
		||||
</settings>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user