@riddix/hamh 2.1.0-alpha.441 → 2.1.0-alpha.442

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.
@@ -168641,9 +168641,9 @@ var WindowCoveringServerBase = class _WindowCoveringServerBase extends FeaturedB
168641
168641
  `handleMovement: type=${MovementType[type]}, direction=${MovementDirection[direction]}, target=${targetPercent100ths}, currentLift=${currentLift}, currentTilt=${currentTilt}, absolutePosition=${this.features.absolutePosition}`
168642
168642
  );
168643
168643
  if (type === MovementType.Lift) {
168644
- if (direction === MovementDirection.Open && (targetPercent100ths == null || targetPercent100ths === 0)) {
168644
+ if (targetPercent100ths === 0) {
168645
168645
  this.handleLiftOpen();
168646
- } else if (direction === MovementDirection.Close && (targetPercent100ths == null || targetPercent100ths === 1e4)) {
168646
+ } else if (targetPercent100ths === 1e4) {
168647
168647
  this.handleLiftClose();
168648
168648
  } else if (targetPercent100ths != null && this.features.absolutePosition) {
168649
168649
  this.handleGoToLiftPosition(targetPercent100ths);
@@ -168653,9 +168653,9 @@ var WindowCoveringServerBase = class _WindowCoveringServerBase extends FeaturedB
168653
168653
  this.handleLiftClose();
168654
168654
  }
168655
168655
  } else if (type === MovementType.Tilt) {
168656
- if (direction === MovementDirection.Open && (targetPercent100ths == null || targetPercent100ths === 0)) {
168656
+ if (targetPercent100ths === 0) {
168657
168657
  this.handleTiltOpen();
168658
- } else if (direction === MovementDirection.Close && (targetPercent100ths == null || targetPercent100ths === 1e4)) {
168658
+ } else if (targetPercent100ths === 1e4) {
168659
168659
  this.handleTiltClose();
168660
168660
  } else if (targetPercent100ths != null && this.features.absolutePosition) {
168661
168661
  this.handleGoToTiltPosition(targetPercent100ths);