Don't run automations prior to initialization .
This commit is contained in:
@@ -17,6 +17,10 @@ export class HASSManager {
|
||||
return this._hass;
|
||||
}
|
||||
|
||||
public hasHASS(): boolean {
|
||||
return !!this._hass;
|
||||
}
|
||||
|
||||
public getStateWatcher(): StateWatcherSubscriptionInterface {
|
||||
return this._stateWatcher;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user