---
name: "openScene"
mode: "api"
versionRequirements:
  - { name: "@ray-js/lock-sdk", version: "1.0.0" }
title: "openScene - Opens the smart scene configuration page for creating and managing smart scenes related to door locks, enabling automated control."
summary: "Opens the smart scene configuration page for creating and managing smart scenes related to door locks, enabling automated control."
---

## openScene

> [VERSION] @ray-js/lock-sdk >= 1.0.0

### Description

Open the Smart Scene page

### Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `themeColor` | `string` | No | Theme color |
| `executorRange` | `"unlock" \| "lock"[]` | No | Set the scope of actions |
| `abilities` | `"backHome" \| "alarm" \| "geographyArrive" \| "geographyLeave" \| "bleGeofence" \| "siriUnlock" \| "siriLock"[]` | No | Supported scene capabilities |

### Return Value

Type: `Promise<void>`

None (navigation handled by the host)

### Examples

#### Example

```ts
import { openScene } from '@ray-js/lock-sdk';
openScene();
```
