1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-25 22:52:20 +01:00

more api loop reductions

This commit is contained in:
J. Nick Koston
2025-06-23 11:02:27 +02:00
parent e767f30886
commit a3a3bdc7eb

View File

@@ -831,7 +831,6 @@ APIError APIPlaintextFrameHelper::init() {
state_ = State::DATA;
return APIError::OK;
}
/// Not used for plaintext
APIError APIPlaintextFrameHelper::loop() {
if (state_ != State::DATA) {
return APIError::BAD_STATE;