ESPHome 2026.6.0-dev
Loading...
Searching...
No Matches
dac_output_select.cpp
Go to the documentation of this file.
1#include "dac_output_select.h"
2
3namespace esphome::es8388 {
4
5void DacOutputSelect::control(size_t index) {
6 this->publish_state(index);
7 this->parent_->set_dac_output(static_cast<DacOutputLine>(index));
8}
9
10} // namespace esphome::es8388
void control(size_t index) override
void publish_state(const std::string &state)
Definition select.cpp:11