mirror of
https://github.com/esphome/esphome.git
synced 2025-10-28 21:53:48 +00:00
[text_sensor] Convert LOG_TEXT_SENSOR macro to function to reduce flash usage (#10884)
This commit is contained in:
@@ -155,7 +155,7 @@ void CCS811Component::dump_config() {
|
||||
LOG_UPDATE_INTERVAL(this);
|
||||
LOG_SENSOR(" ", "CO2 Sensor", this->co2_);
|
||||
LOG_SENSOR(" ", "TVOC Sensor", this->tvoc_);
|
||||
LOG_TEXT_SENSOR(" ", "Firmware Version Sensor", this->version_)
|
||||
LOG_TEXT_SENSOR(" ", "Firmware Version Sensor", this->version_);
|
||||
if (this->baseline_) {
|
||||
ESP_LOGCONFIG(TAG, " Baseline: %04X", *this->baseline_);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user