@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.
package/dist/backend/cli.js
CHANGED
|
@@ -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 (
|
|
168644
|
+
if (targetPercent100ths === 0) {
|
|
168645
168645
|
this.handleLiftOpen();
|
|
168646
|
-
} else if (
|
|
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 (
|
|
168656
|
+
if (targetPercent100ths === 0) {
|
|
168657
168657
|
this.handleTiltOpen();
|
|
168658
|
-
} else if (
|
|
168658
|
+
} else if (targetPercent100ths === 1e4) {
|
|
168659
168659
|
this.handleTiltClose();
|
|
168660
168660
|
} else if (targetPercent100ths != null && this.features.absolutePosition) {
|
|
168661
168661
|
this.handleGoToTiltPosition(targetPercent100ths);
|