Make dout the default flash mode (#420)

This commit is contained in:
Otto Winter 2019-02-11 16:49:12 +01:00 committed by GitHub
parent a15b647d13
commit 7fecec128f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ CONFIG_SCHEMA = vol.Schema({
cv.string_strict: vol.Any([cv.string], cv.string), cv.string_strict: vol.Any([cv.string], cv.string),
}), }),
vol.Optional(CONF_BOARD_FLASH_MODE): cv.one_of(*BUILD_FLASH_MODES, lower=True), vol.Optional(CONF_BOARD_FLASH_MODE, default='dout'): cv.one_of(*BUILD_FLASH_MODES, lower=True),
vol.Optional(CONF_ON_BOOT): automation.validate_automation({ vol.Optional(CONF_ON_BOOT): automation.validate_automation({
cv.GenerateID(CONF_TRIGGER_ID): cv.declare_variable_id(StartupTrigger), cv.GenerateID(CONF_TRIGGER_ID): cv.declare_variable_id(StartupTrigger),
vol.Optional(CONF_PRIORITY): cv.float_, vol.Optional(CONF_PRIORITY): cv.float_,