---
name: "SmartDevicesManager.off"
mode: "api"
versionRequirements:
  - { name: "@ray-js/panel-sdk", version: "1.16.0" }
title: "off"
---

## SmartDevicesManager.off

> [VERSION] @ray-js/panel-sdk >= 1.16.0

> 💡 Ensure the callback reference is identical; otherwise unsubscription will fail.

### Description

Unsubscribe from multi-device manager change events. Pass the same event name and callback reference used with on.

### Parameters

`Params`

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `event` | `"change"` | Yes | Event name, fixed to change |
| `handler` | `(event: { type: string; [key: string]: any }) => void` | Yes | Event callback |

### Return Value

None


### Examples

#### Unsubscribe from device change events

```ts
const handleChange = event => {
  console.log(event.type);
};

manager.on('change', handleChange);
manager.off('change', handleChange);
```
