mirror of
https://github.com/esphome/esphome.git
synced 2026-02-18 15:35:59 -07:00
fix seperator
This commit is contained in:
@@ -16,7 +16,7 @@ void XiaomiCGD1::dump_config() {
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"Xiaomi CGD1\n"
|
||||
" Bindkey: %s",
|
||||
format_hex_pretty_to(bindkey_hex, this->bindkey_, CGD1_BINDKEY_SIZE));
|
||||
format_hex_pretty_to(bindkey_hex, this->bindkey_, CGD1_BINDKEY_SIZE, '.'));
|
||||
LOG_SENSOR(" ", "Temperature", this->temperature_);
|
||||
LOG_SENSOR(" ", "Humidity", this->humidity_);
|
||||
LOG_SENSOR(" ", "Battery Level", this->battery_level_);
|
||||
|
||||
@@ -16,7 +16,7 @@ void XiaomiCGDK2::dump_config() {
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"Xiaomi CGDK2\n"
|
||||
" Bindkey: %s",
|
||||
format_hex_pretty_to(bindkey_hex, this->bindkey_, CGDK2_BINDKEY_SIZE));
|
||||
format_hex_pretty_to(bindkey_hex, this->bindkey_, CGDK2_BINDKEY_SIZE, '.'));
|
||||
LOG_SENSOR(" ", "Temperature", this->temperature_);
|
||||
LOG_SENSOR(" ", "Humidity", this->humidity_);
|
||||
LOG_SENSOR(" ", "Battery Level", this->battery_level_);
|
||||
|
||||
@@ -16,7 +16,7 @@ void XiaomiCGG1::dump_config() {
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"Xiaomi CGG1\n"
|
||||
" Bindkey: %s",
|
||||
format_hex_pretty_to(bindkey_hex, this->bindkey_, CGG1_BINDKEY_SIZE));
|
||||
format_hex_pretty_to(bindkey_hex, this->bindkey_, CGG1_BINDKEY_SIZE, '.'));
|
||||
LOG_SENSOR(" ", "Temperature", this->temperature_);
|
||||
LOG_SENSOR(" ", "Humidity", this->humidity_);
|
||||
LOG_SENSOR(" ", "Battery Level", this->battery_level_);
|
||||
|
||||
@@ -16,7 +16,7 @@ void XiaomiLYWSD02MMC::dump_config() {
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"Xiaomi LYWSD02MMC\n"
|
||||
" Bindkey: %s",
|
||||
format_hex_pretty_to(bindkey_hex, this->bindkey_, LYWSD02MMC_BINDKEY_SIZE));
|
||||
format_hex_pretty_to(bindkey_hex, this->bindkey_, LYWSD02MMC_BINDKEY_SIZE, '.'));
|
||||
LOG_SENSOR(" ", "Temperature", this->temperature_);
|
||||
LOG_SENSOR(" ", "Humidity", this->humidity_);
|
||||
LOG_SENSOR(" ", "Battery Level", this->battery_level_);
|
||||
|
||||
@@ -16,7 +16,7 @@ void XiaomiLYWSD03MMC::dump_config() {
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"Xiaomi LYWSD03MMC\n"
|
||||
" Bindkey: %s",
|
||||
format_hex_pretty_to(bindkey_hex, this->bindkey_, LYWSD03MMC_BINDKEY_SIZE));
|
||||
format_hex_pretty_to(bindkey_hex, this->bindkey_, LYWSD03MMC_BINDKEY_SIZE, '.'));
|
||||
LOG_SENSOR(" ", "Temperature", this->temperature_);
|
||||
LOG_SENSOR(" ", "Humidity", this->humidity_);
|
||||
LOG_SENSOR(" ", "Battery Level", this->battery_level_);
|
||||
|
||||
@@ -16,7 +16,7 @@ void XiaomiMHOC401::dump_config() {
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"Xiaomi MHOC401\n"
|
||||
" Bindkey: %s",
|
||||
format_hex_pretty_to(bindkey_hex, this->bindkey_, MHOC401_BINDKEY_SIZE));
|
||||
format_hex_pretty_to(bindkey_hex, this->bindkey_, MHOC401_BINDKEY_SIZE, '.'));
|
||||
LOG_SENSOR(" ", "Temperature", this->temperature_);
|
||||
LOG_SENSOR(" ", "Humidity", this->humidity_);
|
||||
LOG_SENSOR(" ", "Battery Level", this->battery_level_);
|
||||
|
||||
@@ -14,7 +14,7 @@ static constexpr size_t RTCGQ02LM_BINDKEY_SIZE = 16;
|
||||
void XiaomiRTCGQ02LM::dump_config() {
|
||||
char bindkey_hex[format_hex_pretty_size(RTCGQ02LM_BINDKEY_SIZE)];
|
||||
ESP_LOGCONFIG(TAG, "Xiaomi RTCGQ02LM");
|
||||
ESP_LOGCONFIG(TAG, " Bindkey: %s", format_hex_pretty_to(bindkey_hex, this->bindkey_, RTCGQ02LM_BINDKEY_SIZE));
|
||||
ESP_LOGCONFIG(TAG, " Bindkey: %s", format_hex_pretty_to(bindkey_hex, this->bindkey_, RTCGQ02LM_BINDKEY_SIZE, '.'));
|
||||
#ifdef USE_BINARY_SENSOR
|
||||
LOG_BINARY_SENSOR(" ", "Motion", this->motion_);
|
||||
LOG_BINARY_SENSOR(" ", "Light", this->light_);
|
||||
|
||||
@@ -14,7 +14,7 @@ static constexpr size_t XMWSDJ04MMC_BINDKEY_SIZE = 16;
|
||||
void XiaomiXMWSDJ04MMC::dump_config() {
|
||||
char bindkey_hex[format_hex_pretty_size(XMWSDJ04MMC_BINDKEY_SIZE)];
|
||||
ESP_LOGCONFIG(TAG, "Xiaomi XMWSDJ04MMC");
|
||||
ESP_LOGCONFIG(TAG, " Bindkey: %s", format_hex_pretty_to(bindkey_hex, this->bindkey_, XMWSDJ04MMC_BINDKEY_SIZE));
|
||||
ESP_LOGCONFIG(TAG, " Bindkey: %s", format_hex_pretty_to(bindkey_hex, this->bindkey_, XMWSDJ04MMC_BINDKEY_SIZE, '.'));
|
||||
LOG_SENSOR(" ", "Temperature", this->temperature_);
|
||||
LOG_SENSOR(" ", "Humidity", this->humidity_);
|
||||
LOG_SENSOR(" ", "Battery Level", this->battery_level_);
|
||||
|
||||
Reference in New Issue
Block a user