From 0c0efe42d1d227237335ad8d92de0ecd35d812cc Mon Sep 17 00:00:00 2001 From: Nikolay Vasilchuk Date: Thu, 8 Aug 2019 12:16:43 +0300 Subject: [PATCH] Reverted warming up logic --- esphome/components/mhz19/mhz19.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/esphome/components/mhz19/mhz19.cpp b/esphome/components/mhz19/mhz19.cpp index 87d310c237..cbac28f9c7 100644 --- a/esphome/components/mhz19/mhz19.cpp +++ b/esphome/components/mhz19/mhz19.cpp @@ -54,12 +54,6 @@ void MHZ19Component::update() { const int temp = int(response[4]) - 40; const uint8_t status = response[5]; - if (status <= 1) { - ESP_LOGW(TAG, "MHZ19 now warming up... Status=0x%02X", status); - this->status_set_warning(); - return; - } - ESP_LOGD(TAG, "MHZ19 Received CO₂=%uppm Temperature=%d°C Status=0x%02X", ppm, temp, status); if (this->co2_sensor_ != nullptr) this->co2_sensor_->publish_state(ppm);