diff --git a/esphome/components/nextion/nextion.cpp b/esphome/components/nextion/nextion.cpp index f3a24de30a..0bde05b305 100644 --- a/esphome/components/nextion/nextion.cpp +++ b/esphome/components/nextion/nextion.cpp @@ -411,7 +411,7 @@ void Nextion::process_serial_() { } avail -= to_read; - this->command_data_.append(reinterpret_cast(buf), to_read); + this->command_data_.append(reinterpret_cast(buf), to_read); } } // nextion.tech/instruction-set/