mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 23:37:34 +00:00
The generated api messages start their encode only string fields that way. starts_with, compare and str() no longer hand a null pointer to memcmp or the std::string range constructor when there is nothing to compare or copy, the class comment states the contract, and gtest cases pin every member on a null, empty view.