mirror of
https://github.com/esphome/esphome.git
synced 2025-03-14 06:38:17 +00:00
lint
This commit is contained in:
parent
5dfb3585af
commit
c4d3ba3790
@ -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()
|
||||||
|
@ -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)
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user