diff --git a/esphome/components/xiaomi_mccgq02hl/xiaomi_mccgq02hl.h b/esphome/components/xiaomi_mccgq02hl/xiaomi_mccgq02hl.h index 7e5e37089e..dd48409e6f 100644 --- a/esphome/components/xiaomi_mccgq02hl/xiaomi_mccgq02hl.h +++ b/esphome/components/xiaomi_mccgq02hl/xiaomi_mccgq02hl.h @@ -6,7 +6,7 @@ #include "esphome/components/esp32_ble_tracker/esp32_ble_tracker.h" #include "esphome/components/xiaomi_ble/xiaomi_ble.h" -#ifdef ARDUINO_ARCH_ESP32 +#ifdef USE_ESP32 namespace esphome { namespace xiaomi_mccgq02hl {