Skip to content

Remove individual user-defined scripts from "By type" action picker #52039

@marcinbauer-ohf

Description

@marcinbauer-ohf

Summary

When selecting Script in the By type tab of the Add action dialog, every user-defined script is listed as a separate action entry alongside built-in script domain services (Reload, Toggle, Turn on, Turn off).

Problem

  1. Indistinguishable duplicates — scripts with identical or default names (e.g. "New script") appear as multiple identical entries with no way to tell them apart (see screenshot)
  2. Wrong paradigm — user-defined script instances are not action types. The "By type" tab should list action types, not specific callable instances. This creates a confusing mix of type-level services and instance-level entries in the same list

Expected behavior

Individual user-defined scripts should be removed from the "By type" list. Only the built-in script domain services (Turn on, Turn off, Toggle, Reload) should remain. Users who want to call a specific script should use the By target tab or the search field.

Screenshots

Environment

  • Home Assistant Frontend

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions