mirror of
https://github.com/esphome/esphome.git
synced 2024-12-23 05:54:56 +01:00
fix CGG1 log message (#757)
This commit is contained in:
parent
cdfbe5b523
commit
45736707bd
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ bool XiaomiListener::parse_device(const esp32_ble_tracker::ESPBTDevice &device)
|
||||||
} else if (res->type == XiaomiParseResult::TYPE_LYWSD02) {
|
} else if (res->type == XiaomiParseResult::TYPE_LYWSD02) {
|
||||||
name = "LYWSD02";
|
name = "LYWSD02";
|
||||||
} else if (res->type == XiaomiParseResult::TYPE_CGG1) {
|
} else if (res->type == XiaomiParseResult::TYPE_CGG1) {
|
||||||
name = "Cleargrass";
|
name = "CGG1";
|
||||||
}
|
}
|
||||||
|
|
||||||
ESP_LOGD(TAG, "Got Xiaomi %s (%s):", name, device.address_str().c_str());
|
ESP_LOGD(TAG, "Got Xiaomi %s (%s):", name, device.address_str().c_str());
|
||||||
|
|
Loading…
Reference in a new issue