Config automation generated errors?

I got this message after duplicating some automations:

Logger: homeassistant.components.automation
Source: helpers/entity_platform.py:520 
Integration: Automation (documentation, issues) 
First occurred: 08:34:39 (16 occurrences) 
Last logged: 08:56:47

Platform automation does not generate unique IDs. ID 1663745661645 already exists - ignoring automation.turn_on_living_room_vacuum_boolean

And i noticed when looking for the id, although there was only one, the -id prefaced with another id the looked like a garbled version of it. Should i remove these?

**- &id001** << this one
  id: '1663745661645'
  alias: Turn On and Off Living Room Vacuum Boolean
  description: Used when vacuum turned on manually
  trigger:
  - type: vibration
    platform: device
    device_id: 1eba835800974c77f531305123f84003
    entity_id: binary_sensor.living_room_vibration_sensor_1
    domain: binary_sensor
  condition: []
  action:
  - service: input_boolean.turn_on
    data: {}
    target:
      entity_id: input_boolean.living_room_vacuum
  - wait_for_trigger:
    - type: no_vibration
      platform: device
      device_id: 1eba835800974c77f531305123f84003
      entity_id: binary_sensor.living_room_vibration_sensor_1
      domain: binary_sensor
  - service: input_boolean.turn_off
    data: {}
    target:
      entity_id: input_boolean.living_room_vacuum
  mode: single
**- *id001** << and this one
- id: '1663745711947'
  alias: Turn On and Off Dining Room Vacuum Boolean
  description: Used when vacuum turned on manually
  trigger:
  - type: vibration
    platform: device
    device_id: c099eef1429932445d92ee9aedd868dd
    entity_id: binary_sensor.dining_room_vibration_sensor_1_vibration
    domain: binary_sensor
  condition: []
  action:
  - service: input_boolean.turn_on
    data: {}
    target:
      entity_id: input_boolean.dining_room_vacuum
  - wait_for_trigger:
    - type: no_vibration
      platform: device
      device_id: c099eef1429932445d92ee9aedd868dd
      entity_id: binary_sensor.dining_room_vibration_sensor_1_vibration
      domain: binary_sensor
  - service: input_boolean.turn_off
    data: {}
    target:
      entity_id: input_boolean.dining_room_vacuum
  mode: single

Yep, delete the random line. Was that created via the Automations GUI or written manually?

2 Likes

Using gui. I guess something got garbled. I think it happened actually when i duplicated it then pressed save before it saved again (not sure i recall how it went but something like that).

Cheers