Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust signature for on_disconnect #5009

Merged
merged 2 commits into from
Jul 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion esphome/components/api/client.py
Expand Up @@ -47,7 +47,7 @@ async def on_connect():
except APIConnectionError:
cli.disconnect()

async def on_disconnect():
async def on_disconnect(expected_disconnect: bool) -> None:
_LOGGER.warning("Disconnected from API")

zc = zeroconf.Zeroconf()
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Expand Up @@ -10,7 +10,7 @@ platformio==6.1.7 # When updating platformio, also update Dockerfile
esptool==4.6
click==8.1.3
esphome-dashboard==20230621.0
aioesphomeapi==14.1.0
aioesphomeapi==15.0.0
zeroconf==0.69.0

# esp-idf requires this, but doesn't bundle it by default
Expand Down