mirror of
https://github.com/esphome/esphome.git
synced 2026-02-08 08:41:59 +00:00
[sht3xd] Combine log statements to reduce loop blocking (#12957)
This commit is contained in:
@@ -60,8 +60,10 @@ void SHT3XDComponent::dump_config() {
|
||||
ESP_LOGE(TAG, " Communication with SHT3xD failed!");
|
||||
return;
|
||||
}
|
||||
ESP_LOGD(TAG, " Serial Number: 0x%08" PRIX32, this->serial_number_);
|
||||
ESP_LOGD(TAG, " Heater Enabled: %s", this->heater_enabled_ ? "true" : "false");
|
||||
ESP_LOGD(TAG,
|
||||
" Serial Number: 0x%08" PRIX32 "\n"
|
||||
" Heater Enabled: %s",
|
||||
this->serial_number_, TRUEFALSE(this->heater_enabled_));
|
||||
|
||||
LOG_I2C_DEVICE(this);
|
||||
LOG_UPDATE_INTERVAL(this);
|
||||
|
||||
Reference in New Issue
Block a user