1
0
mirror of https://github.com/esphome/esphome.git synced 2025-01-18 20:10:55 +00:00

[SM300D2] Reduce log severity for successful reads (#3955)

This commit is contained in:
Paul Nicholls 2022-10-27 19:27:17 +13:00 committed by GitHub
parent 4bcfeb6e33
commit f8640cf2cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ void SM300D2Sensor::update() {
this->status_clear_warning(); this->status_clear_warning();
ESP_LOGW(TAG, "Successfully read SM300D2 data"); ESP_LOGD(TAG, "Successfully read SM300D2 data");
const uint16_t co2 = (response[2] * 256) + response[3]; const uint16_t co2 = (response[2] * 256) + response[3];
const uint16_t formaldehyde = (response[4] * 256) + response[5]; const uint16_t formaldehyde = (response[4] * 256) + response[5];