ESPHome
2026.10.1
Loading...
Searching...
No Matches
esphome
components
infrared
infrared.cpp
Go to the documentation of this file.
1
#include "
infrared.h
"
2
3
#include "
esphome/core/log.h
"
4
5
namespace
esphome::infrared
{
6
7
static
const
char
*
const
TAG =
"infrared"
;
8
9
void
Infrared::dump_config
() {
10
ESP_LOGCONFIG(TAG,
11
"Infrared '%s'\n"
12
" Supports Transmitter: %s\n"
13
" Supports Receiver: %s"
,
14
this->
get_name
().c_str(), YESNO(this->
get_supports_transmitter
()),
15
YESNO(this->
get_supports_receiver
()));
16
}
17
18
}
// namespace esphome::infrared
esphome::EntityBase::get_name
const StringRef & get_name() const
Definition
entity_base.h:71
esphome::infrared::Infrared::dump_config
void dump_config() override
Definition
infrared.cpp:9
esphome::ir_rf_base::IrRfEntity::get_supports_transmitter
bool get_supports_transmitter() const
What the entity can do; platforms with their own hardware set these from their own setup(),...
Definition
ir_rf_base.h:93
esphome::ir_rf_base::IrRfEntity::get_supports_receiver
bool get_supports_receiver() const
Definition
ir_rf_base.h:95
infrared.h
log.h
esphome::infrared
Definition
infrared.cpp:5
Generated by
1.12.0