[api] Fix debug asserts in production code, encode_bool bug, and reduce flash overhead (#13936)

Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2026-02-11 13:57:08 -06:00
committed by GitHub
parent c9c125aa8d
commit 483b7693e1
4 changed files with 40 additions and 62 deletions
+1
View File
@@ -197,6 +197,7 @@ async def yaml_config(request: pytest.FixtureRequest, unused_tcp_port: int) -> s
" platformio_options:\n"
" build_flags:\n"
' - "-DDEBUG" # Enable assert() statements\n'
' - "-DESPHOME_DEBUG_API" # Enable API protocol asserts\n'
' - "-g" # Add debug symbols',
)