Skip to content

Commit

Permalink
fix missing library (esphome#4051)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssieb authored Nov 24, 2022
1 parent 9273e37 commit ec576bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions esphome/components/nextion/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down

0 comments on commit ec576bf

Please sign in to comment.