Fixed issue with Tv's turning on while using remote
This commit is contained in:
@ -222,11 +222,6 @@ class HarmonyDataProvider {
|
||||
if (this.states[controlUnitName]) {
|
||||
let commandName: string = "";
|
||||
|
||||
//Ignore commands unless the tv is already on
|
||||
if (!this.states[controlUnitName]!.currentActivity) {
|
||||
return;
|
||||
}
|
||||
|
||||
let device: IDevice = this.getDeviceFromName(this.states[controlUnitName]!.currentActivity.controlDeviceId);
|
||||
switch (key) {
|
||||
case RemoteKey.ARROW_UP: {
|
||||
|
Reference in New Issue
Block a user