mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-08-03 02:18:34 +00:00
Initial basic application
This commit is contained in:
15
source/Globals.mc
Normal file
15
source/Globals.mc
Normal file
@ -0,0 +1,15 @@
|
||||
using Toybox.Lang;
|
||||
|
||||
class Globals {
|
||||
// Enable printing of messages to the debug console (don't make this a Property
|
||||
// as the messages can't be read from a watch!)
|
||||
static const debug = false;
|
||||
static const updateInterval = 5; // seconds
|
||||
// static hidden const apiUrl = "https://homeassistant.local/api";
|
||||
static hidden const apiUrl = "https://home.abbey1.org.uk/api";
|
||||
|
||||
static function getApiUrl() {
|
||||
return apiUrl;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user