Fix state caching. #485

This commit is contained in:
Koen Kanters authored and GitHub committed 2018-10-16 17:34:46 +02:00
1 parent b063e67e24
commit a1cf75456b
1 file changed
+1 -1
+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);
}
}