From bd4a9208bfd952c0cfac40da1187396c0299ef93 Mon Sep 17 00:00:00 2001 From: dxdc Date: Sun, 3 May 2020 20:41:28 -0500 Subject: [PATCH] Fix typo for requestTime logging --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 4936759..fd09437 100644 --- a/index.js +++ b/index.js @@ -411,7 +411,7 @@ BlindsHTTPAccessory.prototype.setTargetPosition = function(pos, callback) { const waitDelay = Math.abs(this.currentTargetPosition - this.lastPosition) * motionTimeStep; this.log.info( - `Move request sent ({$requestTime} ms), waiting ${Math.round(waitDelay / 100) / 10}s (+ ${Math.round(this.responseLag / 100) / 10}s response lag)...` + `Move request sent (${requestTime} ms), waiting ${Math.round(waitDelay / 100) / 10}s (+ ${Math.round(this.responseLag / 100) / 10}s response lag)...` ); // Send stop command before target position is reached to account for response_lag