mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
moved imports to top level (#27641)
This commit is contained in:
parent
a79a9809f4
commit
6d4e3945d6
@ -1,6 +1,7 @@
|
||||
"""Http views to control the config manager."""
|
||||
import aiohttp.web_exceptions
|
||||
import voluptuous as vol
|
||||
import voluptuous_serialize
|
||||
|
||||
from homeassistant import config_entries, data_entry_flow
|
||||
from homeassistant.auth.permissions.const import CAT_CONFIG_ENTRIES
|
||||
@ -41,8 +42,6 @@ def _prepare_json(result):
|
||||
if result["type"] != data_entry_flow.RESULT_TYPE_FORM:
|
||||
return result
|
||||
|
||||
import voluptuous_serialize
|
||||
|
||||
data = result.copy()
|
||||
|
||||
schema = data["data_schema"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user