Skip to content

Comments

POC: Recorder unit migration#1

Open
Sab44 wants to merge 4 commits intodevfrom
recorder-unit-migration-poc
Open

POC: Recorder unit migration#1
Sab44 wants to merge 4 commits intodevfrom
recorder-unit-migration-poc

Conversation

@Sab44
Copy link
Owner

@Sab44 Sab44 commented Feb 18, 2026

POC for detecting a unit migration when compiling 5-min aggregate statistics.

It will detect a unit migration under the following conditions:

  • unit changing exactly once
  • new unit is equal to statistics unit
  • unit class is available
  • old unit cannot be converted to new unit automatically

In that case it will drop old states that have the old unit. This is one-time only by keeping track of the entity id. If it does happen again the same warnings as before will be fired.

@Sab44 Sab44 force-pushed the recorder-unit-migration-poc branch from 512a574 to 1a4ca1b Compare February 18, 2026 21:37
@Sab44 Sab44 force-pushed the recorder-unit-migration-poc branch from 78f11e1 to 27a39ac Compare February 19, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant