Skip to content

Feature: Search & replace device/entity IDs when copying switch config #4

@macpit

Description

@macpit

Original issue: Sian-Lee-SA#397

Problem

When copying a switch config, all entity/device IDs are copied verbatim. Users who want to set up an identical switch for a different device must manually replace every entity reference.

Proposed Fix

After copying, show a find & replace dialog that lists all entity/device IDs found in the copied config and allows bulk replacement.

Affected Files

  • frontend/src/dialogs/copy-from.ts
  • custom_components/switch_manager/connections.py

Effort

Medium-High (8-16h)


Migrated from original repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions