ESPHome 2026.10.1
Loading...
Searching...
No Matches
infrared.cpp
Go to the documentation of this file.
1#include "infrared.h"
2
3#include "esphome/core/log.h"
4
6
7static const char *const TAG = "infrared";
8
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
const StringRef & get_name() const
Definition entity_base.h:71
void dump_config() override
Definition infrared.cpp:9
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