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.
@@ -317,7 +317,7 @@ let ZWaveNode = (() => {
317
317
  set defaultTransitionDuration(value) {
318
318
  if (typeof value === "string")
319
319
  value = import_core.Duration.from(value);
320
- if (value instanceof import_core.Duration)
320
+ if (import_core.Duration.isDuration(value))
321
321
  value = value.toString();
322
322
  this.driver.cacheSet(import_NetworkCache.cacheKeys.node(this.id).defaultTransitionDuration, value);
323
323
  }