From 11c38ca4e846c344c7af9a43ae0611595910d566 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Sun, 13 Jan 2019 16:20:28 +0100 Subject: [PATCH] Fix AsyncTCP compilation on ESP32 with Arduino breaking change (#334) --- esphomeyaml/writer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/esphomeyaml/writer.py b/esphomeyaml/writer.py index 46e3557962..c12d7fe27a 100644 --- a/esphomeyaml/writer.py +++ b/esphomeyaml/writer.py @@ -279,10 +279,11 @@ def gather_lib_deps(): if CORE.is_esp32: lib_deps |= { 'Preferences', # Preferences helper + 'AsyncTCP@1.0.1', # Pin AsyncTCP version } # Manual fix for AsyncTCP if CORE.config[CONF_ESPHOMEYAML].get(CONF_ARDUINO_VERSION) == ARDUINO_VERSION_ESP32_DEV: - lib_deps.add('https://github.com/me-no-dev/AsyncTCP.git#idf-update') + lib_deps.add('AsyncTCP@1.0.3') lib_deps.discard('AsyncTCP@1.0.1') # avoid changing build flags order return list(sorted(x for x in lib_deps if x))