A custom integration that provides a user-friendly sidebar panel to manage which entities are excluded from Home Assistant's history/recorder database.
My History gives you a simple web interface to control what gets stored in your Home Assistant database. Instead of manually editing configuration.yaml and restarting, you can:
- Exclude entities from being recorded
- Set purge retention days
The integration generates a recorder_config.yaml file automatically and integrates seamlessly with Home Assistant's built-in recorder component.
- 🖥️ Sidebar Panel - A clean web interface accessible from your Home Assistant sidebar
- 📝 Entity Exclusion - Select which entities should NOT be recorded in history
- ⏱️ Purge Control - Set how many days of history to keep for excluded entities
- 🔧 Auto-Generated Config - Creates and updates
recorder_config.yamlautomatically - 🎯 Works with Recorder - Fully compatible with Home Assistant's native recorder component
- Ensure HACS is installed
- Open HACS → Integrations
- Click the three dots → Custom repositories
- Add
https://github.com/RadioactiveMan56/my_history(Category: Integration) - Click "Install" on My History
- Restart Home Assistant
- Download the latest release from the [releases page][releases]
- Copy the
my_historyfolder to/config/custom_components/ - Restart Home Assistant
After installation:
- Go to Settings → Devices & Services
- Click + Add Integration
- Search for "My History"
- Complete the configuration flow:
- Select entities to exclude from history (optional initially)
- Set purge retention days (default: 30)
The integration stores settings in recorder_config.yaml: