1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-14 15:53:48 +01:00

[api] Fix VERY_VERBOSE logging compilation error with bool arrays (#10539)

This commit is contained in:
J. Nick Koston
2025-09-03 15:07:13 -05:00
committed by GitHub
parent 5759692627
commit 23c6650902
3 changed files with 5 additions and 3 deletions

View File

@@ -1135,7 +1135,7 @@ void ExecuteServiceArgument::dump_to(std::string &out) const {
dump_field(out, "string_", this->string_);
dump_field(out, "int_", this->int_);
for (const auto it : this->bool_array) {
dump_field(out, "bool_array", it, 4);
dump_field(out, "bool_array", static_cast<bool>(it), 4);
}
for (const auto &it : this->int_array) {
dump_field(out, "int_array", it, 4);