From 742adc93da1ec56c8be838393e10b6f1c38e48f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Tue, 16 Nov 2021 18:05:12 +0100 Subject: [PATCH] Fix generic simple heat pump power action --- genericthings/integrationplugingenericthings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genericthings/integrationplugingenericthings.cpp b/genericthings/integrationplugingenericthings.cpp index 0e00d93..233c2e4 100644 --- a/genericthings/integrationplugingenericthings.cpp +++ b/genericthings/integrationplugingenericthings.cpp @@ -902,7 +902,7 @@ void IntegrationPluginGenericThings::executeAction(ThingActionInfo *info) } } else if (thing->thingClassId() == simpleHeatPumpThingClassId) { if (action.actionTypeId() == simpleHeatPumpPowerActionTypeId) { - thing->setStateValue(simpleHeatPumpPowerStateTypeId, action.paramValue(simpleHeatPumpBoostActionPowerParamTypeId).toBool()); + thing->setStateValue(simpleHeatPumpPowerStateTypeId, action.paramValue(simpleHeatPumpPowerActionPowerParamTypeId).toBool()); info->finish(Thing::ThingErrorNoError); } } else {