@lucadiba/switchbot-client
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _deps: Deps
    _deviceId: string

    Methods

    • Set the position of the Blind Tilt to closed down (equivalent to setting position to "0 down").

      Returns Promise<any>

    • Set the position of the Blind Tilt to closed up (equivalent to setting position to "0 up").

      Returns Promise<any>

    • Set the position of the Blind Tilt to open (equivalent to setting position to "0 up" or "100 down").

      Returns Promise<any>

    • Parameters

      • position: number

        Must be a number between 0 and 100. 0 means closed, 100 means opened. Odd numbers are rounded down to the nearest even number.

      • direction: "up" | "down"

        The direction to move the blind tilt.

      Returns Promise<any>