mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Adjust signature for on_disconnect (#5009)
This commit is contained in:
parent
e74ab00b3e
commit
a74abb8ea8
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ async def async_run_logs(config, address):
|
|||
except APIConnectionError:
|
||||
cli.disconnect()
|
||||
|
||||
async def on_disconnect():
|
||||
async def on_disconnect(expected_disconnect: bool) -> None:
|
||||
_LOGGER.warning("Disconnected from API")
|
||||
|
||||
zc = zeroconf.Zeroconf()
|
||||
|
|
Loading…
Reference in a new issue