Home Assistant doesn’t maintain version history for key interface elements. Any accidental modification or error during editing can result in the loss of carefully crafted settings without the possibility of recovery.
Why is this important?
-
User Data Safety: Version history would reduce the risk of data loss due to user errors or unexpected issues.
-
Convenience and Time Saving: The ability to revert to a previous version would significantly facilitate testing new configurations without the need to manually create backups before each change.
-
Easier Experimentation: Version control would allow users to experiment more confidently with new features, knowing they can always return to a previous working configuration.
-
Standard in Modern Tools: Many automation and editing tools (e.g., code editors, content management platforms) offer versioning as a standard feature. Home Assistant, being a sophisticated platform, should provide similar functionality.
Proposed Solution
The Home Assistant interface could automatically maintain a limited number of previous versions (e.g., 10 most recent saves) for each element: dashboards, automations, scripts, and scenes. Users would have access to “Restore Previous Version” or “Change History” functions without needing to access full backups.
This feature could be optional, allowing users running Home Assistant on devices with limited resources to disable it.
What do you think?