Skip to content

Commit

Permalink
fix: update last active on value changes (#798)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahochsteger authored Oct 19, 2020
1 parent a760246 commit fb1a905
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ZwaveClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb1a905

Please sign in to comment.