mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-08-09 13:28:37 +00:00
Single HomeAssistantService for all Taps
1. Amended code for a single HomeAssistantService for all 'tap's 2. Removed now redundant GET request for taps without a service now that having a service is enforced. 3. Determined that migrating API code from 'toggle's to the HomeAssistantService is awkward due to the close coupling with other methods in the class.
This commit is contained in:
@ -30,12 +30,12 @@ using Toybox.Timer;
|
||||
const bRadius = 10;
|
||||
|
||||
class Alert extends WatchUi.View {
|
||||
hidden var mTimer;
|
||||
hidden var mTimeout;
|
||||
hidden var mText;
|
||||
hidden var mFont;
|
||||
hidden var mFgcolor;
|
||||
hidden var mBgcolor;
|
||||
private var mTimer;
|
||||
private var mTimeout;
|
||||
private var mText;
|
||||
private var mFont;
|
||||
private var mFgcolor;
|
||||
private var mBgcolor;
|
||||
|
||||
function initialize(params as Lang.Dictionary) {
|
||||
View.initialize();
|
||||
|
Reference in New Issue
Block a user