mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 11:47:30 +01:00
Adjust signature for on_disconnect (#5009)
This commit is contained in:
parent
e74ab00b3e
commit
a74abb8ea8
@ -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 New Issue
Block a user