Platform automation does not generate unique IDs -- how to fix?

How do I resolve these issues with Automations?

I seem to get these Errors on many automations? I get these errors on both normal automations and ones blueprints create.

one of them in the below error is about as simple as it can get…

alias: "Close Master Bathroom Shades : Sundown"
description: ""
triggers:
  - trigger: sun
    event: sunset
    offset: "00:20:00"
conditions: []
actions:
  - action: cover.close_cover
    metadata: {}
    data: {}
    target:
      entity_id: cover.master_bathroom_shade_group
mode: single

Errors…

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

Uninstall HA. Stop there.

2 Likes

Are you hard coding unique_id in automations? Are you using the UI to create these automations?

3 of those are from this Blueprint – YAML from one of them in the error msg, posted below

1 is the super basic YAML I posted above (made using the Visual Editor).

I dont create id: for my automations and I dont see one in the YAML for master_bathroom_shade_group_sundown (the one the Visual Editor created)

alias: "Notify : Door Open Patio"
description: ""
use_blueprint:
  path: LTek/repeating-alerts-ltek.yaml
  input:
    trigger_entity:
      - binary_sensor.alarm_zone_4
    duration_from_issue_state:
      hours: 0
      minutes: 0
      seconds: 5
      days: 0
    notification_title: >-
      {{ friendly_name }} is Open - {{
      as_timestamp(states[trigger.entity_id].last_updated) |      
      timestamp_custom("%I:%M:%S %p") }}
    repeat_notification: true
    max_repeat_count: 3
    notification_color: yellow
    notification_icon_warning: door-open
    notify_services_string: notify.notify
    notification_message: " "
    bypass_entities:
      - input_boolean.bypass_patio_motion