From 1a4efa1b8cdb3e1a438e7c3210c6ac7d50dddf06 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Courteau Date: Fri, 31 May 2019 16:06:01 -0400 Subject: [PATCH] List the correct boards when building for ESP32 (#589) * List the ESP32 boards for ESP32 builds. * Sort the list of valid boards. --- esphome/core_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/core_config.py b/esphome/core_config.py index 28f2254c65..840191d39d 100644 --- a/esphome/core_config.py +++ b/esphome/core_config.py @@ -38,7 +38,7 @@ def validate_board(value): if value not in board_pins: raise cv.Invalid(u"Could not find board '{}'. Valid boards are {}".format( - value, u', '.join(pins.ESP8266_BOARD_PINS.keys()))) + value, u', '.join(sorted(board_pins.keys())))) return value