Fix generic simple heat pump power action

master
Simon Stürz 2021-11-16 18:05:12 +01:00
parent 3cf4f4311d
commit 4050ab05a9
1 changed files with 1 additions and 1 deletions

View File

@ -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 {