From 3fdfa27f2015a2510d76db18341442c40540aafc Mon Sep 17 00:00:00 2001 From: Jason Date: Sat, 30 Mar 2019 22:08:51 -0700 Subject: [PATCH] fix(wait-until): fixed scope for setContextValue --- nodes/wait-until/wait-until.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/wait-until/wait-until.js b/nodes/wait-until/wait-until.js index 3bb2208292..8cde4cb9ab 100644 --- a/nodes/wait-until/wait-until.js +++ b/nodes/wait-until/wait-until.js @@ -126,7 +126,7 @@ module.exports = function(RED) { state.timeSinceChangedMs = Date.now() - new Date(state.last_changed).getTime(); - this.setContextValue( + node.setContextValue( state, config.entityLocationType, config.entityLocation,