Function getPower

  • Retrieves the power status of the device.

    Parameters

    • jwtToken: string

      The JWT token for authentication.

    • macAddress: string

      The MAC address of the device.

    Returns Promise<boolean>

    • A promise that resolves to the power status.