update_speaker
Update speaker settings on a UniFi Protect device using host and speaker ID. Changes are applied only when settings differ, preventing redundant writes.
Instructions
Update speaker settings (PATCH /v1/speakers/{id}) with read-before/no-op/read-after.
host: console name, ID, or composite ID (MAC:numericId format).
speaker_id: REQUIRED. Obtain it from list_speakers (its id field).
settings: fields to change. No write when all match. Governed by
UNIFI_PROTECT_MUTATIONS_ENABLED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| settings | Yes | ||
| speaker_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||