diff --git a/esphome/core/progmem.h b/esphome/core/progmem.h index 457cc359a1..7efd875b47 100644 --- a/esphome/core/progmem.h +++ b/esphome/core/progmem.h @@ -61,7 +61,7 @@ template struct FixedString { /// template struct ProgmemStringTable { static constexpr size_t COUNT = sizeof...(Strs); - static constexpr size_t BLOB_SIZE = (... + (Strs.size() + 1)); + static constexpr size_t BLOB_SIZE = (0 + ... + (Strs.size() + 1)); /// Generate packed string blob at compile time static constexpr auto make_blob() {