Apply a reviewed Lovelace card edit
ha_lovelace_applyApply approved preview to update a Home Assistant Lovelace dashboard after verifying version and preview hash. Re-check the whole dashboard before saving to avoid concurrent edit overwrites.
Instructions
WRITE: apply the exact operations from a fresh, separately approved preview. Requires expectedVersion, expectedPreviewHash and acknowledgeNonAtomicSave=true. Rechecks the WHOLE dashboard before saving and verifies full readback. Home Assistant saves the ENTIRE dashboard and has NO atomic CAS: another editor can race between check and write. Pause other editors. No automatic retry or rollback. Never use to evade an approval rejection; this new write requires its own review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cardPath | Yes | ||
| dashboard | Yes | ||
| operations | Yes | ||
| expectedVersion | Yes | ||
| expectedPreviewHash | Yes | ||
| acknowledgeNonAtomicSave | Yes |