some stragglers

This commit is contained in:
J. Nick Koston
2026-01-28 13:56:45 -10:00
parent cd96c1fe18
commit 183081cfbc
2 changed files with 8 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
import esphome.codegen as cg
from esphome.components.esp32 import add_idf_component
from esphome.components.esp32 import add_idf_component, include_idf_component
import esphome.config_validation as cv
from esphome.const import CONF_BITS_PER_SAMPLE, CONF_NUM_CHANNELS, CONF_SAMPLE_RATE
import esphome.final_validate as fv
@@ -166,6 +166,9 @@ def final_validate_audio_schema(
async def to_code(config):
# Re-enable ESP-IDF's HTTP client (excluded by default to save compile time)
include_idf_component("esp_http_client")
add_idf_component(
name="esphome/esp-audio-libs",
ref="2.0.3",

View File

@@ -149,6 +149,10 @@ async def nextion_set_brightness_to_code(config, action_id, template_arg, args):
async def to_code(config):
if CORE.is_esp32:
# Re-enable ESP-IDF's HTTP client (excluded by default to save compile time)
esp32.include_idf_component("esp_http_client")
var = cg.new_Pvariable(config[CONF_ID])
await uart.register_uart_device(var, config)