Fix generic simple heat pump power action
This commit is contained in:
parent
3cf4f4311d
commit
4050ab05a9
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user