Fix generic simple heat pump power action

This commit is contained in:
Simon Stürz 2021-11-16 18:05:12 +01:00
parent 3cf4f4311d
commit 4050ab05a9

View File

@ -902,7 +902,7 @@ void IntegrationPluginGenericThings::executeAction(ThingActionInfo *info)
} }
} else if (thing->thingClassId() == simpleHeatPumpThingClassId) { } else if (thing->thingClassId() == simpleHeatPumpThingClassId) {
if (action.actionTypeId() == simpleHeatPumpPowerActionTypeId) { if (action.actionTypeId() == simpleHeatPumpPowerActionTypeId) {
thing->setStateValue(simpleHeatPumpPowerStateTypeId, action.paramValue(simpleHeatPumpBoostActionPowerParamTypeId).toBool()); thing->setStateValue(simpleHeatPumpPowerStateTypeId, action.paramValue(simpleHeatPumpPowerActionPowerParamTypeId).toBool());
info->finish(Thing::ThingErrorNoError); info->finish(Thing::ThingErrorNoError);
} }
} else { } else {