Skip to content

Button Card "call service" tap action links to old entity ID for scripts #20826

Description

@talormanda

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 am trying to use a Tap action for a button card to call a script. When I do this, it only shows results for entity IDs that the scripts were originally setup with. This means if I changed my script and manually edited the entity ID, it will no longer be visible.

Describe the behavior you expected

I expect the entity ID to match what the script entity ID is after it is changed.

Steps to reproduce the issue

  1. Create a script, save
  2. Re-open script, manually change entity ID, save
  3. Create button card --> Tap action --> Call service --> only old entity ID of script shows up

What version of Home Assistant Core has the issue?

core-2024.5.4

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Google Chrome 125.0.6422.61 (Official Build) (64-bit)

Which operating system are you using to run this browser?

Windows 11

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions