ESPHome 2026.11.0-dev
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
7ESPHOME_LOG_TAG(TAG, "infrared");
8
10 ESP_LOGCONFIG(TAG,
11 "Infrared '%s'\n"
12 " Supports Transmitter: %s\n"
13 " Supports Receiver: %s",
14 LOG_STR_ARG(this->get_log_name()), YESNO(this->get_supports_transmitter()),
15 YESNO(this->get_supports_receiver()));
16}
17
18} // namespace esphome::infrared
const LogString * get_log_name() const
Get the name for a "%s" log argument (LOG_STR_ARG).
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
ESPHOME_LOG_TAG(TAG, "infrared")