Fix state caching. #485

This commit is contained in:
Koen Kanters
2018-10-16 17:34:46 +02:00
committed by GitHub
parent b063e67e24
commit a1cf75456b
+1 -1
View File
@@ -560,7 +560,7 @@ class Controller {
// Update state cache with new state.
if (cache) {
this.state.set(deviceID, payload);
this.state.set(deviceID, messagePayload);
}
}