mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 11:22:24 +01:00
Adjust signature for on_disconnect (#5009)
This commit is contained in:
@@ -47,7 +47,7 @@ async def async_run_logs(config, address):
|
|||||||
except APIConnectionError:
|
except APIConnectionError:
|
||||||
cli.disconnect()
|
cli.disconnect()
|
||||||
|
|
||||||
async def on_disconnect():
|
async def on_disconnect(expected_disconnect: bool) -> None:
|
||||||
_LOGGER.warning("Disconnected from API")
|
_LOGGER.warning("Disconnected from API")
|
||||||
|
|
||||||
zc = zeroconf.Zeroconf()
|
zc = zeroconf.Zeroconf()
|
||||||
|
Reference in New Issue
Block a user