33cab10cef
Syncs project memory, custom agents, and commands across machines. Excludes secrets (settings.json), session state, and runtime files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
692 B
Markdown
12 lines
692 B
Markdown
---
|
|
name: Never use "new" as automation ID
|
|
description: Creating HA automations via API with id "new" overwrites existing automations that also have id "new"
|
|
type: feedback
|
|
---
|
|
|
|
When creating automations via `POST /api/config/automation/config/new`, HA assigns the literal ID "new". If you create a second automation the same way, it overwrites the first.
|
|
|
|
**Why:** The bird waterer automation got overwritten by the hail automation because both had id "new".
|
|
|
|
**How to apply:** Always use a unique numeric ID (e.g., timestamp-based like `1712800000001`) when creating automations via the REST API. After creating with `/new`, immediately re-save with a proper ID and delete the "new" entry.
|