mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00: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