mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Bump entity_registry store version to 1.2 (#59912)
* Bump entity_registry store version to 1.2 * Migrate also when importing yaml * Adjust tests * Satisfy pylint * Fix typing
This commit is contained in:
@@ -223,7 +223,8 @@ def test_is_registered(registry):
|
||||
async def test_loading_extra_values(hass, hass_storage):
|
||||
"""Test we load extra data from the registry."""
|
||||
hass_storage[er.STORAGE_KEY] = {
|
||||
"version": er.STORAGE_VERSION,
|
||||
"version": er.STORAGE_VERSION_MAJOR,
|
||||
"minor_version": 1,
|
||||
"data": {
|
||||
"entities": [
|
||||
{
|
||||
@@ -387,7 +388,8 @@ async def test_migration(hass):
|
||||
async def test_loading_invalid_entity_id(hass, hass_storage):
|
||||
"""Test we autofix invalid entity IDs."""
|
||||
hass_storage[er.STORAGE_KEY] = {
|
||||
"version": er.STORAGE_VERSION,
|
||||
"version": er.STORAGE_VERSION_MAJOR,
|
||||
"minor_version": er.STORAGE_VERSION_MINOR,
|
||||
"data": {
|
||||
"entities": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user