This commit is contained in:
parent
128bb933bd
commit
52a259dafd
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@watsonb8/homebridge-harmony-control",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@watsonb8/homebridge-harmony-control",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"description": "Homebridge platform to control smart home equipment by room.",
|
||||
"main": "bin/index.js",
|
||||
"publishConfig": {
|
||||
|
@ -117,7 +117,7 @@ export class ActivityService {
|
||||
let currentOtherState: IActivityState =
|
||||
this._stateDataProvider.states[controlUnitKey]!;
|
||||
|
||||
if (!currentOtherState) {
|
||||
if (!currentOtherState || !currentOtherState.currentActivity) {
|
||||
return devicesToTurnOn;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user