From 43539f2dbf4ae211fed4720c93a6c9629857ee4c Mon Sep 17 00:00:00 2001 From: Samuel Sieb Date: Tue, 16 Aug 2022 15:35:44 -0700 Subject: [PATCH] Send CR also for commands for sim800l (#3719) --- esphome/components/sim800l/sim800l.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/sim800l/sim800l.cpp b/esphome/components/sim800l/sim800l.cpp index 709e241491..a935978747 100644 --- a/esphome/components/sim800l/sim800l.cpp +++ b/esphome/components/sim800l/sim800l.cpp @@ -44,6 +44,7 @@ void Sim800LComponent::send_cmd_(const std::string &message) { ESP_LOGV(TAG, "S: %s - %d", message.c_str(), this->state_); this->watch_dog_ = 0; this->write_str(message.c_str()); + this->write_byte(ASCII_CR); this->write_byte(ASCII_LF); }