protect_list_lights
List all lights managed by UniFi Protect, returning id, name, state, and other identity fields.
Instructions
List all lights managed by UniFi Protect. Returns array; each light includes: 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 |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Array of items returned by the list endpoint |