mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-26 20:50:07 +00:00
stateChange event brodcasts complete entity state (#6473)
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user