Logger: homeassistant.components.automation
Source: helpers/entity_platform.py:824
integration: Automation (documentation, issues)
First occurred: May 9, 2025 at 9:07:14 PM (726 occurrences)
Last logged: 1:32:44 PM
Platform automation does not generate unique IDs. ID 1740797444318 already exists - ignoring automation.door_open_patio_repeating
Platform automation does not generate unique IDs. ID 1742652338893 already exists - ignoring automation.notify_door_open_mudroom_repeating
Platform automation does not generate unique IDs. ID 1742652411221 already exists - ignoring automation.notify_door_open_large_deck_repeating
Platform automation does not generate unique IDs. ID 1744154956771 already exists - ignoring automation.master_bathroom_shade_group_sundown
Platform automation does not generate unique IDs. ID front_door_and_mudroom_lock_status_updater already exists - ignoring automation.notify_door_lock_zwavejs
@petro this problem still exists… today I tried changing the IDs manually, same error just now it calls the new IDs. I used Notepad ++ to ensure these automations are not duplicated, and the IDs are not either.
I ALWAYS get an error saving automations for the first time… this has happened since Day 1 (many months ago). The automations throw the error only on the first creation save… never after that. I have well over one hundred I’ve created, and I only get the log error on these. Again, the IDs are 100% unique, even changing them make no diff; log error no matter what.
All my automations are created in the UI so I assume this a bug. Hoped it would be fixed by now.
Seems like the least the engine could do is tell you where (file and line number) it thinks the duplication occurs… then we could see why this bug occurs
Post all your automations. The error is very specific and is calling out specific IDs and automations that are causing the problem. They are not related to any of the automations you’ve posted so far.
the last log was yesterday showing the below, doing a test match search, none of them are in the YAML but they are in the system and they run so I’m not sure where the content for those automations are stored.
Platform automation does not generate unique IDs. ID 1742652338893 already exists - ignoring automation.notify_door_open_mudroom_repeating
Platform automation does not generate unique IDs. ID 1742652411221 already exists - ignoring automation.notify_door_open_large_deck_repeating
Platform automation does not generate unique IDs. ID 1744154956771 already exists - ignoring automation.master_bathroom_shade_group_sundown
Platform automation does not generate unique IDs. ID front_door_and_mudroom_lock_status_updater already exists - ignoring automation.notify_door_lock_zwavejs
Platform automation does not generate unique IDs. ID radarr_sonarr_notify already exists - ignoring automation.notify_on_radarr_sonarr_grab_or_download
You have multiple entries in that configuration that are duplicate ids.
front_door_and_mudroom_lock_status_updater:
- Notify Door Lock Activity - ZwaveJS v2 TEST
- Notify Door Lock Activity - ZwaveJS v2 TEST
- Notify Door Lock Activity - ZwaveJS v2 TEST
- Notify Door Lock Activity - ZwaveJS v2 TEST
1739477166755:
- Notify Motion : Driveway
- Notify Motion : Driveway
1740080290926:
- House Modes - Disarm when returning home
- House Modes - Disarm when returning home
- House Modes - Disarm when returning home
- House Modes - Disarm when returning home
1740797444318:
- Notify : Door Open Patio
- Notify : Door Open Patio
1742652338893:
- Notify : Door Open - Mudroom
- Notify : Door Open - Mudroom
1742652411221:
- Notify : Door Open - Large Deck
- Notify : Door Open - Large Deck
1744154956771:
- Close Master Bathroom Shades : Sundown
- Close Master Bathroom Shades : Sundown
radarr_sonarr_notify:
- Notify on Radarr/Sonarr Grab or Download
- Notify on Radarr/Sonarr Grab or Download
- Notify on Radarr/Sonarr Grab or Download
The error you’re getting is telling you that.
It looks like you are using yaml anchors to ID these automations listed above, and you duplicate them many times.
@petro
thanks for looking into this; how do I fix this?
I’m sure you will not be surprised when I tell you I have no clue what any of that means/is, or how it happened. I create all my automations using HA’s Automation Editor UI, and a few (mostly the notifications) Blueprints from long-time blueprint creators.
Compare the changes here with your file you posted above. The dpaste changes should work as a copy/past however I have no idea if you’ve added more automations in the past 5 days. So you may just want to learn what was altered.