mirror of
https://github.com/esphome/esphome.git
synced 2024-11-12 18:27:46 +01:00
OTA Send back acknowledgement
This commit is contained in:
parent
3594779401
commit
e3094d9689
1 changed files with 1 additions and 0 deletions
|
@ -200,6 +200,7 @@ def perform_ota(sock, password, file_handle, filename):
|
|||
|
||||
receive_exactly(sock, 1, 'receive OK', RESPONSE_RECEIVE_OK)
|
||||
receive_exactly(sock, 1, 'Update end', RESPONSE_UPDATE_END_OK)
|
||||
send_check(sock, RESPONSE_OK, 'end acknowledgement')
|
||||
|
||||
_LOGGER.info("OTA successful")
|
||||
|
||||
|
|
Loading…
Reference in a new issue