Skip to content

Automation issue with device ID which have been changed #27915

@js406394-debug

Description

@js406394-debug

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

I changed the name of a device on the Device Information page, I then recreated the Entity ID's using the button at the top right of the page - all worked ok.

I forgot that the device already had automations attached to it under it's previous name, so I went to the automations page to update them to use the new ID. However, I was unable to find the old or new entity names under the automations in the GUI or by clicking 'edit YAML'.

I then search the Automations.yaml, Scene.yaml files for the old entity name - which showed that in the raw file the old entity name was still associated to the automations.

This confirmed that for some reason the automations page does not show 'old entity' names for you to delete or update even though they are listed under the automation in the raw file.

Describe the behavior you expected

I expected the automations page to show the entity 'greyed out' with the option to delete it.

Steps to reproduce the issue

1.Create an automation with the device as action

2.Changed the name of the device on the Device Information page, then recreated the Entity ID's using the button at the top right of the page.

  1. Go to the automation - the device will not be listed

  2. Search the Automations.yaml for the old entity name

What version of Home Assistant Core has the issue?

2025.11.1

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue?

Chrome

Which operating system are you using to run this browser?

Win11

State of relevant entities

Problem-relevant frontend configuration

JavaScript errors shown in your browser console/inspector

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions