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.
Main Features
Smart Scanning: Automatically finds entities with numerical suffixes (like _2, _3, etc.).
Interactive Lovelace Card: A dedicated card available in the Card Picker with full Visual Editor support.
Permanent Exclusions: Don’t want to see certain entities? Use the Exclude button to hide them from future scans.
Intelligent Renaming: The “Fix” action renames the entity back to its base ID and automatically cleans up the friendly_name too!
Bulk Actions: Select multiple entities and Fix, Delete, or Exclude them all at once.
Advanced Filtering: Support for the % wildcard in search filters (e.g., sensor.%_2).
Persistent Storage: All settings and exclusions are stored in /config/entity_duplicates_manager/, so they survive updates.
Multilingual: Full support for English and Italian.
Screenshots
Installation
Via HACS (Recommended)
- Open HACS in your Home Assistant instance.
- Go to Integrations > Three dots (top right) > Custom repositories.
- Add GitHub - FoliniC/entity_duplicates_manager: Entity manager for home assistant to remove duplicates as an Integration.
- Click Download, then restart Home Assistant.
Manual
- Download the entity_duplicates_manager folder from the GitHub repository (GitHub - FoliniC/entity_duplicates_manager: Entity manager for home assistant to remove duplicates).
- Copy it into your custom_components directory.
- Restart Home Assistant.
Usage
After installation, simply:
- Go to Settings > Devices & Services > Add Integration and search for “Entity Duplicates Manager”.
- Go to your Dashboard, click Add Card, and search for Entity Duplicates Manager.
- Hit SCAN and start cleaning!
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.
