mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
[CI] Consolidate some tests (S) (#8206)
This commit is contained in:
12
tests/components/sonoff_d1/common.yaml
Normal file
12
tests/components/sonoff_d1/common.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
uart:
|
||||
- id: uart_sonoff_d1
|
||||
tx_pin: ${tx_pin}
|
||||
rx_pin: ${rx_pin}
|
||||
baud_rate: 9600
|
||||
|
||||
light:
|
||||
- platform: sonoff_d1
|
||||
id: d1_light
|
||||
name: Sonoff D1 Dimmer
|
||||
restore_mode: RESTORE_DEFAULT_OFF
|
||||
use_rm433_remote: false
|
@@ -1,12 +1,5 @@
|
||||
uart:
|
||||
- id: uart_sonoff_d1
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
substitutions:
|
||||
tx_pin: GPIO17
|
||||
rx_pin: GPIO16
|
||||
|
||||
light:
|
||||
- platform: sonoff_d1
|
||||
id: d1_light
|
||||
name: Sonoff D1 Dimmer
|
||||
restore_mode: RESTORE_DEFAULT_OFF
|
||||
use_rm433_remote: false
|
||||
<<: !include common.yaml
|
||||
|
5
tests/components/sonoff_d1/test.esp32-c3-ard.yaml
Normal file
5
tests/components/sonoff_d1/test.esp32-c3-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
tx_pin: GPIO4
|
||||
rx_pin: GPIO5
|
||||
|
||||
<<: !include common.yaml
|
5
tests/components/sonoff_d1/test.esp32-c3-idf.yaml
Normal file
5
tests/components/sonoff_d1/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
tx_pin: GPIO4
|
||||
rx_pin: GPIO5
|
||||
|
||||
<<: !include common.yaml
|
@@ -1,12 +1,5 @@
|
||||
uart:
|
||||
- id: uart_sonoff_d1
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
substitutions:
|
||||
tx_pin: GPIO17
|
||||
rx_pin: GPIO16
|
||||
|
||||
light:
|
||||
- platform: sonoff_d1
|
||||
id: d1_light
|
||||
name: Sonoff D1 Dimmer
|
||||
restore_mode: RESTORE_DEFAULT_OFF
|
||||
use_rm433_remote: false
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,12 +1,5 @@
|
||||
uart:
|
||||
- id: uart_sonoff_d1
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
substitutions:
|
||||
tx_pin: GPIO4
|
||||
rx_pin: GPIO5
|
||||
|
||||
light:
|
||||
- platform: sonoff_d1
|
||||
id: d1_light
|
||||
name: Sonoff D1 Dimmer
|
||||
restore_mode: RESTORE_DEFAULT_OFF
|
||||
use_rm433_remote: false
|
||||
<<: !include common.yaml
|
||||
|
5
tests/components/sonoff_d1/test.rp2040-ard.yaml
Normal file
5
tests/components/sonoff_d1/test.rp2040-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
tx_pin: GPIO4
|
||||
rx_pin: GPIO5
|
||||
|
||||
<<: !include common.yaml
|
Reference in New Issue
Block a user