Update esphome/components/api/__init__.py

This commit is contained in:
Jesse Hills 2025-06-30 15:23:40 +12:00 committed by GitHub
parent 9af88bd482
commit bf5f628769
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -177,11 +177,7 @@ async def to_code(config):
# and plaintext disabled. Only a factory reset can remove it.
cg.add_define("USE_API_PLAINTEXT")
cg.add_define("USE_API_NOISE")
cg.add_library(
None,
None,
"https://github.com/esphome/noise-c.git#libsodium_update",
)
cg.add_library("esphome/noise-c", "0.1.7")
else:
cg.add_define("USE_API_PLAINTEXT")