mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +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):
|
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"
|
migration_id = "entity_id_post_migration"
|
||||||
task = MigrationTask
|
task = MigrationTask
|
||||||
@ -2764,9 +2767,9 @@ NON_LIVE_DATA_MIGRATORS = (
|
|||||||
)
|
)
|
||||||
|
|
||||||
LIVE_DATA_MIGRATORS = (
|
LIVE_DATA_MIGRATORS = (
|
||||||
EventTypeIDMigration,
|
EventTypeIDMigration, # Introduced in HA Core 2023.4 by PR #89465
|
||||||
EntityIDMigration,
|
EntityIDMigration, # Introduced in HA Core 2023.4 by PR #89557
|
||||||
EventIDPostMigration,
|
EventIDPostMigration, # Introduced in HA Core 2023.4 by PR #89901
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user