mirror of
https://github.com/esphome/esphome.git
synced 2025-10-04 02:52:22 +01:00
Reduce ESP_LOGCONFIG calls (#9026)
This commit is contained in:
@@ -9,8 +9,10 @@ namespace xiaomi_cgdk2 {
|
||||
static const char *const TAG = "xiaomi_cgdk2";
|
||||
|
||||
void XiaomiCGDK2::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "Xiaomi CGDK2");
|
||||
ESP_LOGCONFIG(TAG, " Bindkey: %s", format_hex_pretty(this->bindkey_, 16).c_str());
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"Xiaomi CGDK2\n"
|
||||
" Bindkey: %s",
|
||||
format_hex_pretty(this->bindkey_, 16).c_str());
|
||||
LOG_SENSOR(" ", "Temperature", this->temperature_);
|
||||
LOG_SENSOR(" ", "Humidity", this->humidity_);
|
||||
LOG_SENSOR(" ", "Battery Level", this->battery_level_);
|
||||
|
Reference in New Issue
Block a user