This commit is contained in:
@@ -117,7 +117,7 @@ export class ActivityService {
|
||||
let currentOtherState: IActivityState =
|
||||
this._stateDataProvider.states[controlUnitKey]!;
|
||||
|
||||
if (!currentOtherState) {
|
||||
if (!currentOtherState || !currentOtherState.currentActivity) {
|
||||
return devicesToTurnOn;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user