ESPHome 2026.5.1
Loading...
Searching...
No Matches
cs226_button.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome::cst226 {
8
10 public Component,
12 public Parented<CST226Touchscreen> {
13 public:
14 void setup() override;
15 void dump_config() override;
16
17 void update_button(bool state) override;
18};
19
20} // namespace esphome::cst226
Helper class to easily give an object a parent of type T.
Definition helpers.h:1861
Base class for all binary_sensor-type classes.
bool state
The current state of this binary sensor. Also used as the backing storage for StatefulEntityBase.
void update_button(bool state) override