mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-15 08:08:57 +00:00
Fix state caching. #485
This commit is contained in:
+1
-1
@@ -560,7 +560,7 @@ class Controller {
|
||||
|
||||
// Update state cache with new state.
|
||||
if (cache) {
|
||||
this.state.set(deviceID, payload);
|
||||
this.state.set(deviceID, messagePayload);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user