From ec576bf9f9df5d037ea980be11b666fa9031330c Mon Sep 17 00:00:00 2001 From: Samuel Sieb Date: Wed, 23 Nov 2022 16:22:04 -0800 Subject: [PATCH] fix missing library (#4051) --- esphome/components/nextion/display.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/esphome/components/nextion/display.py b/esphome/components/nextion/display.py index c6372fbaf0..72f56bd6f3 100644 --- a/esphome/components/nextion/display.py +++ b/esphome/components/nextion/display.py @@ -86,6 +86,8 @@ async def to_code(config): if CORE.is_esp32: cg.add_library("WiFiClientSecure", None) cg.add_library("HTTPClient", None) + if CORE.is_esp8266: + cg.add_library("ESP8266HTTPClient", None) if CONF_TOUCH_SLEEP_TIMEOUT in config: cg.add(var.set_touch_sleep_timeout_internal(config[CONF_TOUCH_SLEEP_TIMEOUT]))