mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-26 12:45:26 +01:00
Fix mypy errors (#139)
This commit is contained in:
parent
04d3ab6a93
commit
f68fc025a8
@ -10,7 +10,7 @@ from .core import APIConnectionError
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class ReconnectLogic(zeroconf.RecordUpdateListener): # type: ignore[misc,name-defined]
|
||||
class ReconnectLogic(zeroconf.RecordUpdateListener):
|
||||
"""Reconnectiong logic handler for ESPHome config entries.
|
||||
|
||||
Contains two reconnect strategies:
|
||||
@ -224,7 +224,7 @@ class ReconnectLogic(zeroconf.RecordUpdateListener): # type: ignore[misc,name-d
|
||||
self,
|
||||
zc: "zeroconf.Zeroconf", # pylint: disable=unused-argument
|
||||
now: float, # pylint: disable=unused-argument
|
||||
records: List["zeroconf.RecordUpdate"], # type: ignore[name-defined]
|
||||
records: List["zeroconf.RecordUpdate"],
|
||||
) -> None:
|
||||
"""Listen to zeroconf updated mDNS records. This must be called from the eventloop.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user