Merge PR #299: Store state changes immediately when they change
This commit is contained in:
commit
7b60f05c64
@ -1786,6 +1786,8 @@ void ThingManagerImplementation::slotThingStateValueChanged(const StateTypeId &s
|
||||
qCWarning(dcThingManager()) << "Invalid thing id in state change. Not forwarding event. Thing setup not complete yet?";
|
||||
return;
|
||||
}
|
||||
storeThingStates(thing);
|
||||
|
||||
emit thingStateChanged(thing, stateTypeId, value);
|
||||
|
||||
Param valueParam(ParamTypeId(stateTypeId.toString()), value);
|
||||
|
||||
Reference in New Issue
Block a user