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

@ -68,11 +68,11 @@ from homeassistant.util import (
slugify as slugify_util,
)
from homeassistant.util.async_ import run_callback_threadsafe
from homeassistant.util.json import JSON_DECODE_EXCEPTIONS, json_loads
from homeassistant.util.read_only_dict import ReadOnlyDict
from homeassistant.util.thread import ThreadWithException
from . import area_registry, device_registry, entity_registry, location as loc_helper
from .json import JSON_DECODE_EXCEPTIONS, json_loads
from .typing import TemplateVarsType
# mypy: allow-untyped-defs, no-check-untyped-defs