ESPHome
2024.11.0
esphome
esphome
components
ld2420
binary_sensor
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
10
void
LD2420BinarySensor::dump_config
() {
11
ESP_LOGCONFIG(TAG,
"LD2420 BinarySensor:"
);
12
LOG_BINARY_SENSOR(
" "
,
"Presence"
, this->
presence_bsensor_
);
13
}
14
15
}
// namespace ld2420
16
}
// namespace esphome
ld2420_binary_sensor.h
esphome::ld2420::LD2420BinarySensor::presence_bsensor_
binary_sensor::BinarySensor * presence_bsensor_
Definition:
ld2420_binary_sensor.h:21
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
esphome::ld2420::LD2420BinarySensor::dump_config
void dump_config() override
Definition:
ld2420_binary_sensor.cpp:10
helpers.h
log.h
Generated by
1.8.13