zwave-js 14.3.2 → 14.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -293,7 +293,7 @@ let ZWaveNode = (() => {
293
293
  // Normalize to strings
294
294
  if (typeof value === "string")
295
295
  value = Duration.from(value);
296
- if (value instanceof Duration)
296
+ if (Duration.isDuration(value))
297
297
  value = value.toString();
298
298
  this.driver.cacheSet(cacheKeys.node(this.id).defaultTransitionDuration, value);
299
299
  }