Fixed UseMatrix being a string instead of boolean. This fixed listen to music activity.

This commit is contained in:
watsonb8 2019-07-31 17:34:23 -04:00
parent 727c8ceba7
commit 152d73e9f9
2 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@
"DeviceSetupList": [
{
"DeviceName": "JVC AV Receiver",
"Input": "Dvd"
"Input": "CD"
}
],
"VolumeDevice": "JVC AV Receiver",

View File

@ -133,7 +133,7 @@ class HarmonyMatrixPlatform {
controlDeviceId: configActivity["ControlDevice"],
outputDeviceId: configActivity["OutputDevice"],
displayName: configActivity["DisplayName"],
useMatrix: configActivity["UseMatrix"],
useMatrix: configActivity["UseMatrix"] === "true" ? true : false,
deviceList: devices
}));
this.log(`INFO - Added activity '${configActivity["DisplayName"]}'`);