From fb1a905b454f16eb000ba19db4a2f422f5b12ab2 Mon Sep 17 00:00:00 2001 From: Andreas Hochsteger Date: Mon, 19 Oct 2020 09:33:14 +0200 Subject: [PATCH] fix: update last active on value changes (#798) --- lib/ZwaveClient.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ZwaveClient.js b/lib/ZwaveClient.js index 63c8f0afb16..935131797e2 100644 --- a/lib/ZwaveClient.js +++ b/lib/ZwaveClient.js @@ -521,6 +521,8 @@ function valueChanged (nodeid, comclass, valueId) { } // update cache ozwnode.values[value_id] = valueId + // update last active timestamp + ozwnode.lastActive = Date.now() } // check if node is added as secure node