Repository navigation
Releases
Device Replacer v1.3.0 — prerelease
Device Replacer 1.3.0 — prerelease
Add an initial choice: Update references to the new device and entity IDs, or Reuse the retiring entity IDs & history.
The new path assigns the retiring entities' technical IDs to their replacements. It removes only the mapped disabled old registry entries, never renames them, and uses native Home Assistant registry operations so retained old raw-history and compatible measurement-statistics identities remain at the old IDs. It provides entity disable/readiness controls, a separate review/confirmation and a durable audit. The replacement keeps its own device identity and pairing. Existing replacement history is not merged.
Read the manual-reference report: device-based bindings and references to the replacement's previous IDs still need manual repair. Areas and labels are not transferred. Cumulative counters, including Energy Dashboard kWh totals, remain blocked. No direct SQL writes or copying of historical measurements is performed.
This operation requires permanently retiring/disconnecting the old hardware, disabled/unloaded entities, and a full Home Assistant backup including the recorder database. Configuration Restore cannot undo registry/history operations. An interrupted or partially applied operation requires manual recovery; no blind retry is offered.
Testing prerelease only. Validation covers Home Assistant 2026.3.0 with SQLite; other versions/database engines and live installations require additional testing. The latest stable release remains v1.1.3.
Device Replacer v1.2.3 — prerelease
Device Replacer 1.2.3 — prerelease
The successful transfer message now gives the complete next step: open Settings → Devices & services → Entities, open the replacement sensor's settings, and turn on Enabled. It explicitly reminds you to leave the old sensor disabled. The same directions appear when Check outcome verifies a transfer that completed late, and in the README.
This is a wording update. Transfer and entity-disable behavior are unchanged. Re-enabling the replacement remains a manual action in its Home Assistant entity settings. This remains a testing prerelease; v1.1.3 is the latest stable release.
Device Replacer v1.2.2 — prerelease
Device Replacer 1.2.2 — prerelease
Clarify the statistics section's setup directions: choose Single entity, search for or enter the old sensor in Entity to replace and the new sensor in Replacement entity, then click Check statistics. The instructions also explain the Whole device mapping alternative.
This is a wording update. Statistics transfer and the sensor-disable controls are unchanged from v1.2.1. The measurement-only restrictions remain, including rejection of existing replacement statistics and cumulative counters. This remains a testing prerelease; v1.1.3 is the latest stable release.
Device Replacer v1.2.1 — prerelease
Device Replacer 1.2.1 — prerelease
Add Disable both sensor entities directly to the statistics transfer interface. After checking a pair, the panel shows whether each sensor is enabled, disabled but still loaded, or disabled and unloaded. For an otherwise eligible pair, the new action disables just those two sensor entities through Home Assistant's entity registry API; the whole devices do not need to be disabled, and existing disable reasons are preserved.
The interface checks readiness briefly after disabling and provides Refresh status. It does not force-remove states or automatically reload integrations. If an integration still has the sensors loaded, reload it or restart Home Assistant before refreshing. Statistics transfer remains a separate reviewed action and stays blocked until both entities are disabled and unloaded. After transfer, enable only the replacement through its entity settings.
The measurement-only restrictions remain: matching units/classes, recorder-owned arithmetic statistics, and no existing replacement statistics metadata. Cumulative counters, history merges, unit conversion and removed/unverifiable sources are excluded. Disabling cannot make an existing destination history eligible.
This is a prerelease for testing. A database-inclusive backup is required for statistics recovery. Configuration Restore does not undo statistics transfer or entity disabling. Other database engines and Home Assistant versions still require validation.
Device Replacer v1.2.0 — prerelease
Device Replacer 1.2.0 — prerelease
Add a separate statistics transfer workflow for compatible arithmetic measurement sensors. The source and replacement must both be disabled and unloaded, retain verifiable registry metadata, and use matching units/classes. The replacement must have no stored statistics metadata.
Transfer uses recorder's metadata API and verifies the result. Hourly and retained five-minute measurements keep their existing metadata ID; raw state history and configuration are unchanged. Cumulative counters (including Energy sensors), merges, unit conversion and removed/unverifiable sources are excluded in this first version.
A database-inclusive backup is required for recovery. Statistics operations have separate audit records and are never undone by configuration Restore. Uncertain recorder outcomes consume the preview and block further transfers involving the pair until reconciled.
This is a prerelease for testing before a stable release. Real recorder tests target Home Assistant 2026.3.0 with SQLite; other database engines and production installations still need validation.
Device Replacer v1.1.3
Device Replacer 1.1.3
Hide the duplicate hamburger menu in desktop/wide view. Retain it in Home Assistant’s mobile/narrow view so navigation remains accessible. Visibility follows the narrow layout property supplied by Home Assistant and updates when the layout changes.
The cyan icon, device replacement, single-entity replacement, backups and restore remain available. Update through HACS, restart Home Assistant, and refresh the browser/app to load the new frontend. No new integration entry is needed.
Device Replacer v1.1.2
Device Replacer 1.1.2
Public HACS packaging of the device-first editor, with the selected cyan connection-handoff icon.
- Search named devices, map their entity roles, review selected changes and apply with recoverable backups.
- Keep single-entity replacement, unavailable/removed source support and existing Entity Replacer upgrades.
- Validate compatible YAML device automation blocks and preserve manual reports with paths and line numbers.
- Skip known binary formats quietly while reporting relevant internal JSON stores.
- Read devices and entities from the installer’s Home Assistant instance; no author configuration is bundled.
Requires Home Assistant 2026.3.0 or newer. Add https://github.com/FortranFour/device-replacer to HACS as an Integration, download, restart, then add Device Replacer under Settings → Devices & services. Existing Entity Replacer users keep their existing entry.
Energy settings remain manual. Historical statistics, hardware pairing and registry identity are not transferred. Read README.md for coverage, recovery and limitations.
Automated file/transaction and frontend logic tests use mocked Home Assistant adapters. Live HACS/hassfest checks run on GitHub; actual device behavior still needs testing on the user's instance.