mirror of
https://github.com/esphome/esphome.git
synced 2025-11-18 15:55:46 +00:00
17 lines
331 B
C++
17 lines
331 B
C++
#include "custom_switch.h"
|
|
#include "esphome/core/log.h"
|
|
|
|
namespace esphome {
|
|
namespace custom {
|
|
|
|
static const char *const TAG = "custom.switch";
|
|
|
|
void CustomSwitchConstructor::dump_config() {
|
|
for (auto *child : this->switches_) {
|
|
LOG_SWITCH("", "Custom Switch", child);
|
|
}
|
|
}
|
|
|
|
} // namespace custom
|
|
} // namespace esphome
|