ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
dfrobot_sen0609_select.h
Go to the documentation of this file.
1#pragma once
2
5
7
8class OutPinLevelSelect final : public select::Select, public Parented<DFRobotSEN0609Component> {
9 public:
10 // User provided, not "= default": `new(p) OutPinLevelSelect()` would zero-fill .bss that is already zero.
12
13 protected:
14 void control(size_t index) override { this->parent_->control_out_pin_level(index); }
15};
16
17} // namespace esphome::dfrobot_sen0609
Helper class to easily give an object a parent of type T.
Definition helpers.h:1997
Base-class for all selects.
Definition select.h:29