1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 06:38:17 +00:00
This commit is contained in:
J. Nick Koston 2023-11-14 22:17:03 -06:00
parent 5dfb3585af
commit c4d3ba3790
No known key found for this signature in database
3 changed files with 4 additions and 3 deletions

View File

@ -28,4 +28,4 @@ class AsyncEvent:
def async_clear(self) -> None: def async_clear(self) -> None:
"""Clear the event async.""" """Clear the event async."""
self.async_event.clear() self.async_event.clear()

View File

@ -50,6 +50,7 @@ from esphome.zeroconf import (
DashboardImportDiscovery, DashboardImportDiscovery,
DashboardStatus, DashboardStatus,
) )
from .async_adapter import AsyncEvent from .async_adapter import AsyncEvent
from .util import chunked, friendly_name_slugify, password_hash from .util import chunked, friendly_name_slugify, password_hash
@ -1581,4 +1582,4 @@ async def async_start_web_server(args):
MQTT_PING_REQUEST.set() MQTT_PING_REQUEST.set()
if args.socket is not None: if args.socket is not None:
os.remove(args.socket) os.remove(args.socket)
await asyncio.sleep(0) await asyncio.sleep(0)

View File

@ -1,9 +1,9 @@
import hashlib import hashlib
import unicodedata import unicodedata
from collections.abc import Iterable
from functools import partial from functools import partial
from itertools import islice from itertools import islice
from typing import Any from typing import Any
from collections.abc import Iterable
from esphome.const import ALLOWED_NAME_CHARS from esphome.const import ALLOWED_NAME_CHARS