stateChange event brodcasts complete entity state (#6473)

This commit is contained in:
John Doe
2021-02-27 09:46:33 +01:00
committed by GitHub
parent cb7ac97f79
commit 26326f71a6
+1 -1
View File
@@ -88,7 +88,7 @@ class State {
this.state[ID] = toState;
this.eventBus.emit('stateChange', {ID, from: fromState, to: toState, reason});
this.eventBus.emit('stateChange', {ID, from: fromState, to: state, reason});
}
removeKey(ID, path) {