mirror of https://github.com/nymea/nymea.git
Merge PR #299: Store state changes immediately when they change
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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue