From 45736707bdd90fa2ae4c2e32f6342e417dbce82a Mon Sep 17 00:00:00 2001 From: Alexander Leisentritt Date: Thu, 17 Oct 2019 14:02:41 +0200 Subject: [PATCH] fix CGG1 log message (#757) --- esphome/components/xiaomi_ble/xiaomi_ble.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/xiaomi_ble/xiaomi_ble.cpp b/esphome/components/xiaomi_ble/xiaomi_ble.cpp index 0ccb28667e..1172f6ee0a 100644 --- a/esphome/components/xiaomi_ble/xiaomi_ble.cpp +++ b/esphome/components/xiaomi_ble/xiaomi_ble.cpp @@ -128,7 +128,7 @@ bool XiaomiListener::parse_device(const esp32_ble_tracker::ESPBTDevice &device) } else if (res->type == XiaomiParseResult::TYPE_LYWSD02) { name = "LYWSD02"; } else if (res->type == XiaomiParseResult::TYPE_CGG1) { - name = "Cleargrass"; + name = "CGG1"; } ESP_LOGD(TAG, "Got Xiaomi %s (%s):", name, device.address_str().c_str());