1
0
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:
J. Nick Koston
2023-07-03 19:57:44 -05:00
committed by GitHub
parent e74ab00b3e
commit a74abb8ea8

View File

@@ -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()