mirror of
https://github.com/esphome/esphome.git
synced 2025-10-26 12:43:48 +00:00
Reduce ESP_LOGCONFIG calls (#9026)
This commit is contained in:
@@ -7,8 +7,10 @@ namespace uponor_smatrix {
|
||||
static const char *const TAG = "uponor_smatrix.sensor";
|
||||
|
||||
void UponorSmatrixSensor::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "Uponor Smatrix Sensor");
|
||||
ESP_LOGCONFIG(TAG, " Device address: 0x%04X", this->address_);
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"Uponor Smatrix Sensor\n"
|
||||
" Device address: 0x%04X",
|
||||
this->address_);
|
||||
LOG_SENSOR(" ", "Temperature", this->temperature_sensor_);
|
||||
LOG_SENSOR(" ", "External Temperature", this->external_temperature_sensor_);
|
||||
LOG_SENSOR(" ", "Humidity", this->humidity_sensor_);
|
||||
|
||||
Reference in New Issue
Block a user