Fix action finishing in input types mock

pull/428/head
Michael Zanetti 2021-05-29 00:24:16 +02:00
parent be68d925be
commit 449a092bd9
1 changed files with 1 additions and 0 deletions

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;
}