mirror of
https://github.com/esphome/esphome.git
synced 2025-09-29 08:32:26 +01:00
Also accept invalid spelling from Updater
Fixes https://github.com/esphome/issues/issues/564 partly. At least the error message will now be a better one.
This commit is contained in:
@@ -127,7 +127,8 @@ def check_error(data, expect):
|
||||
"correct 'board' option (esp01_1m always works) and then flash over USB.")
|
||||
if dat == RESPONSE_ERROR_WRONG_NEW_FLASH_CONFIG:
|
||||
raise OTAError("Error: ESP does not have the requested flash size (wrong board). Please "
|
||||
"choose the correct 'board' option (esp01_1m always works) and try again.")
|
||||
"choose the correct 'board' option (esp01_1m always works) and try "
|
||||
"uploading again.")
|
||||
if dat == RESPONSE_ERROR_ESP8266_NOT_ENOUGH_SPACE:
|
||||
raise OTAError("Error: ESP does not have enough space to store OTA file. Please try "
|
||||
"flashing a minimal firmware (remove everything except ota)")
|
||||
|
Reference in New Issue
Block a user