mirror of
https://github.com/esphome/esphome.git
synced 2025-11-20 16:55:49 +00:00
Add HLK-LD2420 mmWave Radar module component (#4847)
Co-authored-by: descipher <120155735+GelidusResearch@users.noreply.github.com>
This commit is contained in:
16
esphome/components/ld2420/sensor/ld2420_sensor.cpp
Normal file
16
esphome/components/ld2420/sensor/ld2420_sensor.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "ld2420_sensor.h"
|
||||
#include "esphome/core/helpers.h"
|
||||
#include "esphome/core/log.h"
|
||||
|
||||
namespace esphome {
|
||||
namespace ld2420 {
|
||||
|
||||
static const char *const TAG = "LD2420.sensor";
|
||||
|
||||
void LD2420Sensor::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "LD2420 Sensor:");
|
||||
LOG_SENSOR(" ", "Distance", this->distance_sensor_);
|
||||
}
|
||||
|
||||
} // namespace ld2420
|
||||
} // namespace esphome
|
||||
Reference in New Issue
Block a user