1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-28 21:53:48 +00:00

[core] Convert LOG_UPDATE_INTERVAL macro to function to reduce flash usage (#10636)

This commit is contained in:
J. Nick Koston
2025-09-07 16:09:15 -05:00
committed by GitHub
parent a8b8507ffc
commit 0c737fc4df
10 changed files with 27 additions and 16 deletions

View File

@@ -152,7 +152,7 @@ void CCS811Component::send_env_data_() {
void CCS811Component::dump_config() {
ESP_LOGCONFIG(TAG, "CCS811");
LOG_I2C_DEVICE(this)
LOG_UPDATE_INTERVAL(this)
LOG_UPDATE_INTERVAL(this);
LOG_SENSOR(" ", "CO2 Sensor", this->co2_);
LOG_SENSOR(" ", "TVOC Sensor", this->tvoc_);
LOG_TEXT_SENSOR(" ", "Firmware Version Sensor", this->version_)