ESPHome 2025.6.0
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
cs226_button.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome {
8namespace cst226 {
9
11 public Component,
13 public Parented<CST226Touchscreen> {
14 public:
15 void setup() override;
16 void dump_config() override;
17
18 void update_button(bool state) override;
19};
20
21} // namespace cst226
22} // namespace esphome
Helper class to easily give an object a parent of type T.
Definition helpers.h:539
Base class for all binary_sensor-type classes.
bool state
The current reported state of the binary sensor.
void update_button(bool state) override
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7