diff --git a/tests/components/axs15231/common.yaml b/tests/components/axs15231/common.yaml index da9cc3c39f..8384e31353 100644 --- a/tests/components/axs15231/common.yaml +++ b/tests/components/axs15231/common.yaml @@ -10,6 +10,7 @@ display: touchscreen: - platform: axs15231 + id: axs15231_touchscreen display: ssd1306_display interrupt_pin: 20 reset_pin: 18 diff --git a/tests/components/cst816/common.yaml b/tests/components/cst816/common.yaml index 837b5dbaad..7a70fbc44a 100644 --- a/tests/components/cst816/common.yaml +++ b/tests/components/cst816/common.yaml @@ -26,6 +26,7 @@ touchscreen: binary_sensor: - platform: touchscreen + touchscreen_id: ts_cst816 name: Home Button use_raw: true x_min: 0 diff --git a/tests/components/ektf2232/common.yaml b/tests/components/ektf2232/common.yaml index 1e16dcfbd3..40e6a171d4 100644 --- a/tests/components/ektf2232/common.yaml +++ b/tests/components/ektf2232/common.yaml @@ -10,6 +10,7 @@ display: touchscreen: - platform: ektf2232 + id: ektf2232_touchscreen interrupt_pin: ${interrupt_pin} reset_pin: ${touch_reset_pin} display: ssd1306_display diff --git a/tests/components/ft5x06/common.yaml b/tests/components/ft5x06/common.yaml index 77570ca665..f6ad28ebc6 100644 --- a/tests/components/ft5x06/common.yaml +++ b/tests/components/ft5x06/common.yaml @@ -10,6 +10,7 @@ display: touchscreen: - platform: ft5x06 + id: ft5x06_touchscreen on_touch: - logger.log: format: Touch at (%d, %d) diff --git a/tests/components/gt911/common.yaml b/tests/components/gt911/common.yaml index b5997a788d..4eb3bcd3dd 100644 --- a/tests/components/gt911/common.yaml +++ b/tests/components/gt911/common.yaml @@ -10,6 +10,7 @@ display: touchscreen: - platform: gt911 + id: gt911_touchscreen display: ssd1306_display interrupt_pin: ${interrupt_pin} reset_pin: ${reset_pin} diff --git a/tests/components/tt21100/common.yaml b/tests/components/tt21100/common.yaml index c55a34b95a..dbd1d4bfdd 100644 --- a/tests/components/tt21100/common.yaml +++ b/tests/components/tt21100/common.yaml @@ -10,11 +10,13 @@ display: touchscreen: - platform: tt21100 + id: tt21100_touchscreen display: ssd1306_display interrupt_pin: ${interrupt_pin} reset_pin: ${reset_pin} binary_sensor: - platform: tt21100 + id: tt21100_touchscreen name: Home Button index: 1