ESPHome  2024.11.0
ld2420_binary_sensor.cpp
Go to the documentation of this file.
1 #include "ld2420_binary_sensor.h"
2 #include "esphome/core/helpers.h"
3 #include "esphome/core/log.h"
4 
5 namespace esphome {
6 namespace ld2420 {
7 
8 static const char *const TAG = "LD2420.binary_sensor";
9 
11  ESP_LOGCONFIG(TAG, "LD2420 BinarySensor:");
12  LOG_BINARY_SENSOR(" ", "Presence", this->presence_bsensor_);
13 }
14 
15 } // namespace ld2420
16 } // namespace esphome
binary_sensor::BinarySensor * presence_bsensor_
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7