1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-17 23:35:47 +00:00

Rework OTA to be more stable (#177)

* Rework OTA to be more stable

* Lint
This commit is contained in:
Otto Winter
2018-10-14 19:14:28 +02:00
committed by GitHub
parent e34365dc7c
commit 27a77c685d
4 changed files with 245 additions and 13 deletions

View File

@@ -60,7 +60,7 @@ def validate_simple_esphomelib_version(value):
CONF_REPOSITORY: LIBRARY_URI_REPO,
CONF_TAG: 'v' + value,
}
return value
raise vol.Invalid("Only simple esphomelib versions!")
def validate_local_esphomelib_version(value):