[Custom Integration] Entity Duplicates Manager - Keep your entity registry clean!

Hi everyone!

How many times have you re-added a Zigbee device or reconfigured an integration only to find your registry filled with sensor.temperature_2, sensor.temperature_3, or
light.living_room_2?

I’ve created a custom integration called Entity Duplicates Manager to help you identify, manage, and clean up these pesky duplicates directly from your dashboard.

:sparkles: Main Features

  • :mag: Smart Scanning: Automatically finds entities with numerical suffixes (like _2, _3, etc.).
  • :art: Interactive Lovelace Card: A dedicated card available in the Card Picker with full Visual Editor support.
  • :shield: Permanent Exclusions: Don’t want to see certain entities? Use the Exclude button to hide them from future scans.
  • :magic_wand: Intelligent Renaming: The “Fix” action renames the entity back to its base ID and automatically cleans up the friendly_name too!
  • :zap: Bulk Actions: Select multiple entities and Fix, Delete, or Exclude them all at once.
  • :dart: Advanced Filtering: Support for the % wildcard in search filters (e.g., sensor.%_2).
  • :floppy_disk: Persistent Storage: All settings and exclusions are stored in /config/entity_duplicates_manager/, so they survive updates.
  • :earth_africa: Multilingual: Full support for English and Italian.

:camera_flash: Screenshots


:package: Installation

Via HACS (Recommended)

  1. Open HACS in your Home Assistant instance.
  2. Go to Integrations > Three dots (top right) > Custom repositories.
  3. Add GitHub - FoliniC/entity_duplicates_manager: Entity manager for home assistant to remove duplicates as an Integration.
  4. Click Download, then restart Home Assistant.

Manual

  1. Download the entity_duplicates_manager folder from the GitHub repository (GitHub - FoliniC/entity_duplicates_manager: Entity manager for home assistant to remove duplicates).
  2. Copy it into your custom_components directory.
  3. Restart Home Assistant.

:rocket: Usage
After installation, simply:

  1. Go to Settings > Devices & Services > Add Integration and search for “Entity Duplicates Manager”.
  2. Go to your Dashboard, click Add Card, and search for Entity Duplicates Manager.
  3. Hit SCAN and start cleaning!

:link: Link to Repository
Check it out here: GitHub - FoliniC/entity_duplicates_manager (GitHub - FoliniC/entity_duplicates_manager: Entity manager for home assistant to remove duplicates)

Feedback, bug reports, and suggestions are more than welcome! I hope this helps you keep your setup tidy.