Skip to content

Commit b0e58db

Browse files
committed
Support for ESPHome 2026.2.x (#60)
* Some esp-idf components excluded by default now including 'esp_http_client' esphome/esphome#13610
1 parent bd88579 commit b0e58db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/nspanel_lovelace/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,9 @@ async def to_code(config):
672672
cg.add_library("WiFiClientSecure", None)
673673
cg.add_library("HTTPClient", None)
674674
elif core.CORE.using_esp_idf:
675+
## todo: Remove this condition by esphome version 2026.6.x
676+
if hasattr(esp32, "include_builtin_idf_component"):
677+
esp32.include_builtin_idf_component("esp_http_client")
675678
esp32.add_idf_sdkconfig_option("CONFIG_ESP_TLS_INSECURE", True)
676679
esp32.add_idf_sdkconfig_option(
677680
"CONFIG_ESP_TLS_SKIP_SERVER_CERT_VERIFY", True

0 commit comments

Comments
 (0)