From 236b751bd10ca3001d8e08a4e7dd755b46267483 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Sat, 24 Jul 2021 15:12:43 +0200 Subject: [PATCH] Fix some cacheable not being cached. https://github.com/Koenkk/zigbee-herdsman-converters/pull/2814 --- lib/state.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/state.js b/lib/state.js index 3ba34770c..73b8bca0b 100644 --- a/lib/state.js +++ b/lib/state.js @@ -7,9 +7,9 @@ const objectAssignDeep = require('object-assign-deep'); const saveInterval = 1000 * 60 * 5; // 5 minutes const dontCacheProperties = [ - 'action', 'action_.*', 'button', 'button_left', 'button_right', 'click', 'forgotten', 'keyerror', - 'step_size', 'transition_time', 'group_list', 'group_capacity', 'no_occupancy_since', - 'step_mode', 'transition_time', 'duration', 'elapsed', 'from_side', 'to_side', + '^action$', '^action_.*$', '^button$', '^button_left$', '^button_right$', '^click$', '^forgotten$', '^keyerror$', + '^step_size$', '^transition_time$', '^group_list$', '^group_capacity$', '^no_occupancy_since$', + '^step_mode$', '^transition_time$', '^duration$', '^elapsed$', '^from_side$', '^to_side$', ]; class State {