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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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