Fix action finishing in input types mock

This commit is contained in:
Michael Zanetti 2021-05-29 00:24:16 +02:00
parent be68d925be
commit 449a092bd9

View File

@ -738,6 +738,7 @@ void IntegrationPluginMock::executeAction(ThingActionInfo *info)
} else if (info->action().actionTypeId() == inputTypeMockWritableTimestampUIntActionTypeId) {
info->thing()->setStateValue(inputTypeMockWritableTimestampUIntStateTypeId, info->action().param(inputTypeMockWritableTimestampUIntActionWritableTimestampUIntParamTypeId).value().toULongLong());
}
info->finish(Thing::ThingErrorNoError);
return;
}