diff --git a/bose/integrationpluginbose.cpp b/bose/integrationpluginbose.cpp index 818075a0..18137854 100644 --- a/bose/integrationpluginbose.cpp +++ b/bose/integrationpluginbose.cpp @@ -59,7 +59,6 @@ void IntegrationPluginBose::init() void IntegrationPluginBose::setupThing(ThingSetupInfo *info) { - if (info->thing()->thingClassId() == soundtouchThingClassId) { QString ipAddress; @@ -298,6 +297,7 @@ void IntegrationPluginBose::executeAction(ThingActionInfo *info) PlayInfoObject playInfo; playInfo.url = alertUrl.toString(); playInfo.appKey = m_consumerKey; + playInfo.services = "nymea"; playInfo.volume = action.param(soundtouchAlertActionVolumeParamTypeId).value().toInt(); playInfo.reason = action.param(soundtouchAlertActionMessageParamTypeId).value().toString(); QUuid requestId = soundTouch->setSpeaker(playInfo); diff --git a/bose/integrationpluginbose.json b/bose/integrationpluginbose.json index 5021a90c..6854935c 100644 --- a/bose/integrationpluginbose.json +++ b/bose/integrationpluginbose.json @@ -266,9 +266,7 @@ "defaultValue": "Notification", "allowedValues": [ "Doorbell", - "Warning", - "Noification", - "Error" + "Notification" ] }, { @@ -276,7 +274,7 @@ "name": "message", "displayName": "Display message", "type": "QString", - "defaultValue": "None" + "defaultValue": "" }, { "id": "8527bff6-811f-41f5-a098-e4b356e2463c", @@ -285,7 +283,7 @@ "type": "int", "minValue": 10, "maxValue": 70, - "defaultValue": "30" + "defaultValue": "40" } ] }