Inverse json import logic (#88099)

* Fix helpers and util

* Adjust components

* Move back errors

* Add report

* mypy

* mypy

* Assert deprecation messages

* Move test_json_loads_object

* Adjust tests

* Fix rebase

* Adjust pylint plugin

* Fix plugin

* Adjust references

* Adjust backup tests
This commit is contained in:
epenet 2023-02-16 11:37:57 +01:00 committed by GitHub
parent 580869a9a6
commit ba23816a0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
44 changed files with 291 additions and 197 deletions

View file

@ -29,7 +29,11 @@ from homeassistant.helpers.event import (
TrackTemplateResult,
async_track_template_result,
)
from homeassistant.helpers.json import JSON_DUMP, ExtendedJSONEncoder
from homeassistant.helpers.json import (
JSON_DUMP,
ExtendedJSONEncoder,
find_paths_unserializable_data,
)
from homeassistant.helpers.service import async_get_all_descriptions
from homeassistant.loader import (
Integration,
@ -39,10 +43,7 @@ from homeassistant.loader import (
async_get_integrations,
)
from homeassistant.setup import DATA_SETUP_TIME, async_get_loaded_integrations
from homeassistant.util.json import (
find_paths_unserializable_data,
format_unserializable_data,
)
from homeassistant.util.json import format_unserializable_data
from . import const, decorators, messages
from .connection import ActiveConnection