From 4050ab05a90fca4d54e0b72e5c7fbf021e76cc6e 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 0e00d934..233c2e44 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 {