Fixing restart issue
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Brandon Watson
2022-01-04 13:24:54 -05:00
parent 128bb933bd
commit 52a259dafd
3 changed files with 3 additions and 3 deletions

View File

@@ -117,7 +117,7 @@ export class ActivityService {
let currentOtherState: IActivityState =
this._stateDataProvider.states[controlUnitKey]!;
if (!currentOtherState) {
if (!currentOtherState || !currentOtherState.currentActivity) {
return devicesToTurnOn;
}