mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-06-17 03:48:32 +00:00
Restyled by whitespace
This commit is contained in:
@ -15,10 +15,10 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<property id="api_key" type="string"></property>
|
<property id="api_key" type="string"></property>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
The webhook ID is the last part of the webhook URL.
|
The webhook ID is the last part of the webhook URL.
|
||||||
It is secret and should not be shared.
|
It is secret and should not be shared.
|
||||||
It will not be set in settings but will be
|
It will not be set in settings but will be
|
||||||
generated by the application and stored in
|
generated by the application and stored in
|
||||||
persistent storage.
|
persistent storage.
|
||||||
-->
|
-->
|
||||||
@ -84,4 +84,4 @@
|
|||||||
-->
|
-->
|
||||||
<property id="battery_level_refresh_rate" type="number">15</property>
|
<property id="battery_level_refresh_rate" type="number">15</property>
|
||||||
|
|
||||||
</properties>
|
</properties>
|
||||||
|
@ -113,4 +113,4 @@
|
|||||||
>
|
>
|
||||||
<settingConfig type="alphaNumeric" />
|
<settingConfig type="alphaNumeric" />
|
||||||
</setting>
|
</setting>
|
||||||
</settings>
|
</settings>
|
||||||
|
@ -177,7 +177,7 @@ class Settings {
|
|||||||
mWebhookManager = new WebhookManager();
|
mWebhookManager = new WebhookManager();
|
||||||
mWebhookManager.requestWebhookId();
|
mWebhookManager.requestWebhookId();
|
||||||
}
|
}
|
||||||
if (!getWebhookId().equals("") and
|
if (!getWebhookId().equals("") and
|
||||||
(System has :ServiceDelegate) and
|
(System has :ServiceDelegate) and
|
||||||
((Background.getTemporalEventRegisteredTime() == null) or
|
((Background.getTemporalEventRegisteredTime() == null) or
|
||||||
(Background.getTemporalEventRegisteredTime() != (mBatteryRefreshRate * 60)))) {
|
(Background.getTemporalEventRegisteredTime() != (mBatteryRefreshRate * 60)))) {
|
||||||
|
Reference in New Issue
Block a user