protect_get_light
Retrieve full details for a specific UniFi Protect light by its ID, including name, MAC, and state.
Instructions
Get full details for a specific light by ID. Returns: id, modelKey, name, mac, state (universal identity fields). Protect Integration API 7.1.60 returns a thin object; additional device-specific fields are NOT verified (no instances on reference console) — inspect a live response before relying on them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Light ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Device ID | |
| modelKey | No | Resource kind | |
| name | No | Device name | |
| mac | No | MAC address | |
| state | No | CONNECTED | DISCONNECTED | ... |