1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 00:05:43 +00:00

dashboard: fix subprocesses blocking the event loop (#5772)

* dashboard: fix subprocesses blocking the event loop

- break apart the util module
- adds a new util to run subprocesses with asyncio

* take a list
This commit is contained in:
J. Nick Koston
2023-11-15 18:07:51 -06:00
committed by GitHub
parent 4e3170dc95
commit 3644853d38
9 changed files with 101 additions and 70 deletions

View File

@@ -10,7 +10,7 @@ from esphome.helpers import get_bool_env
from esphome.storage_json import ext_storage_path
from .entries import DashboardEntry
from .util import password_hash
from .util.password import password_hash
class DashboardSettings: