ESPHome  2024.10.2
custom_switch.cpp
Go to the documentation of this file.
1 #include "custom_switch.h"
2 #include "esphome/core/log.h"
3 
4 namespace esphome {
5 namespace custom {
6 
7 static const char *const TAG = "custom.switch";
8 
10  for (auto *child : this->switches_) {
11  LOG_SWITCH("", "Custom Switch", child);
12  }
13 }
14 
15 } // namespace custom
16 } // namespace esphome
std::vector< switch_::Switch * > switches_
Definition: custom_switch.h:20
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7