mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Add comments in homeassistant/components/recorder/migration.py (#131820)
* Add comments in homeassistant/components/recorder/migration.py * Update homeassistant/components/recorder/migration.py
This commit is contained in:
parent
3071aa2da1
commit
f7d2d06c9b
@ -2742,7 +2742,10 @@ class EventIDPostMigration(BaseRunTimeMigration):
|
||||
|
||||
|
||||
class EntityIDPostMigration(BaseMigrationWithQuery, BaseRunTimeMigration):
|
||||
"""Migration to remove old entity_id strings from states."""
|
||||
"""Migration to remove old entity_id strings from states.
|
||||
|
||||
Introduced in HA Core 2023.4 by PR #89557.
|
||||
"""
|
||||
|
||||
migration_id = "entity_id_post_migration"
|
||||
task = MigrationTask
|
||||
@ -2764,9 +2767,9 @@ NON_LIVE_DATA_MIGRATORS = (
|
||||
)
|
||||
|
||||
LIVE_DATA_MIGRATORS = (
|
||||
EventTypeIDMigration,
|
||||
EntityIDMigration,
|
||||
EventIDPostMigration,
|
||||
EventTypeIDMigration, # Introduced in HA Core 2023.4 by PR #89465
|
||||
EntityIDMigration, # Introduced in HA Core 2023.4 by PR #89557
|
||||
EventIDPostMigration, # Introduced in HA Core 2023.4 by PR #89901
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user