diff --git a/esphome/components/api/api_frame_helper.h b/esphome/components/api/api_frame_helper.h index bc8de83071..c6c45e3959 100644 --- a/esphome/components/api/api_frame_helper.h +++ b/esphome/components/api/api_frame_helper.h @@ -143,7 +143,7 @@ class APIFrameHelper { return; } - // Log message: -1 -> 1 -> 2 -> -1 (flush) + // Log messages 1-3: state transitions -1 -> 1 -> 2 -> -1 (flush on 3rd) if (this->nodelay_state_ == NODELAY_ON) { this->set_nodelay_raw_(false); this->nodelay_state_ = 1;