Repository navigation
Keep entities and history when switching from 0.1.9 - #167
Merged
Merged
Conversation
The Marketplace deletes the 0.1.9 entry before the new one is set up, and its entity ids, names and history stayed behind.
The check for a device already there guarded a rename the adoption no longer does. The meter mutation now breaks the meter, not the setup.
A deleted row has no device, and the migration named the sensor without one: sensor.mppt_module_0_dc_power.
Restored beside it, the old 0.1.9 meter device stayed empty until a cleanup, and a failed read postpones that.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Switching from redpomodoro 0.1.9 through the Marketplace deletes the old entry first, so the new setup started from scratch. The first setup now takes over what the deleted 0.1.9 entry left: entity ids, names, areas and history. If there is more than one deleted entry, or anything that is unclear, nothing is taken over.