1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-27 21:18:18 +00:00
Alexander Pohl bcdc2346a2 Revert "Add support for additional Xiaomi BLE sensors (#1027)"
This reverts commit b2723830f4ed1e29611e3688a2c9323c1071bc23.
2020-09-03 16:57:27 +02:00

21 lines
424 B
C++

#include "xiaomi_lywsd02.h"
#include "esphome/core/log.h"
#ifdef ARDUINO_ARCH_ESP32
namespace esphome {
namespace xiaomi_lywsd02 {
static const char *TAG = "xiaomi_lywsd02";
void XiaomiLYWSD02::dump_config() {
ESP_LOGCONFIG(TAG, "Xiaomi LYWSD02");
LOG_SENSOR(" ", "Temperature", this->temperature_);
LOG_SENSOR(" ", "Humidity", this->humidity_);
}
} // namespace xiaomi_lywsd02
} // namespace esphome
#endif