ESPHome 2025.6.3
Loading...
Searching...
No Matches
demo_select.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace esphome {
7namespace demo {
8
9class DemoSelect : public select::Select, public Component {
10 protected:
11 void control(const std::string &value) override { this->publish_state(value); }
12};
13
14} // namespace demo
15} // namespace esphome
void control(const std::string &value) override
Definition demo_select.h:11
Base-class for all selects.
Definition select.h:31
void publish_state(const std::string &state)
Definition select.cpp:9
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7