mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
[cst226] Add support for cst226 binary sensor (#8381)
This commit is contained in:
@@ -23,3 +23,9 @@ touchscreen:
|
||||
interrupt_pin: ${interrupt_pin}
|
||||
reset_pin: ${reset_pin}
|
||||
|
||||
binary_sensor:
|
||||
- id: cst226_touch
|
||||
platform: cst226
|
||||
on_press:
|
||||
then:
|
||||
- component.update: ts_cst226
|
||||
|
Reference in New Issue
Block a user