mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
fix missing library (#4051)
This commit is contained in:
parent
9e516efe10
commit
ae74189fc2
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ async def to_code(config):
|
||||||
if CORE.is_esp32:
|
if CORE.is_esp32:
|
||||||
cg.add_library("WiFiClientSecure", None)
|
cg.add_library("WiFiClientSecure", None)
|
||||||
cg.add_library("HTTPClient", None)
|
cg.add_library("HTTPClient", None)
|
||||||
|
if CORE.is_esp8266:
|
||||||
|
cg.add_library("ESP8266HTTPClient", None)
|
||||||
|
|
||||||
if CONF_TOUCH_SLEEP_TIMEOUT in config:
|
if CONF_TOUCH_SLEEP_TIMEOUT in config:
|
||||||
cg.add(var.set_touch_sleep_timeout_internal(config[CONF_TOUCH_SLEEP_TIMEOUT]))
|
cg.add(var.set_touch_sleep_timeout_internal(config[CONF_TOUCH_SLEEP_TIMEOUT]))
|
||||||
|
|
Loading…
Reference in a new issue