Fixed UseMatrix being a string instead of boolean. This fixed listen to music activity.
This commit is contained in:
parent
727c8ceba7
commit
152d73e9f9
@ -142,7 +142,7 @@
|
|||||||
"DeviceSetupList": [
|
"DeviceSetupList": [
|
||||||
{
|
{
|
||||||
"DeviceName": "JVC AV Receiver",
|
"DeviceName": "JVC AV Receiver",
|
||||||
"Input": "Dvd"
|
"Input": "CD"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"VolumeDevice": "JVC AV Receiver",
|
"VolumeDevice": "JVC AV Receiver",
|
||||||
|
@ -133,7 +133,7 @@ class HarmonyMatrixPlatform {
|
|||||||
controlDeviceId: configActivity["ControlDevice"],
|
controlDeviceId: configActivity["ControlDevice"],
|
||||||
outputDeviceId: configActivity["OutputDevice"],
|
outputDeviceId: configActivity["OutputDevice"],
|
||||||
displayName: configActivity["DisplayName"],
|
displayName: configActivity["DisplayName"],
|
||||||
useMatrix: configActivity["UseMatrix"],
|
useMatrix: configActivity["UseMatrix"] === "true" ? true : false,
|
||||||
deviceList: devices
|
deviceList: devices
|
||||||
}));
|
}));
|
||||||
this.log(`INFO - Added activity '${configActivity["DisplayName"]}'`);
|
this.log(`INFO - Added activity '${configActivity["DisplayName"]}'`);
|
||||||
|
Loading…
Reference in New Issue
Block a user