mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Consolidate test files where all tests are identical (#6690)
This commit is contained in:
13
tests/components/lightwaverf/common.yaml
Normal file
13
tests/components/lightwaverf/common.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
lightwaverf:
|
||||
read_pin: 5
|
||||
write_pin: 4
|
||||
|
||||
button:
|
||||
- platform: template
|
||||
name: "Turn off sofa"
|
||||
id: light_off_ceiling_sofa
|
||||
on_press:
|
||||
lightwaverf.send_raw:
|
||||
code: [0x04, 0x00, 0x00, 0x00, 0x0f, 0x03, 0x0d, 0x09, 0x08, 0x08]
|
||||
name: "Sofa"
|
||||
repeat: 1
|
@@ -1,13 +1 @@
|
||||
lightwaverf:
|
||||
read_pin: 5
|
||||
write_pin: 4
|
||||
|
||||
button:
|
||||
- platform: template
|
||||
name: "Turn off sofa"
|
||||
id: light_off_ceiling_sofa
|
||||
on_press:
|
||||
lightwaverf.send_raw:
|
||||
code: [0x04, 0x00, 0x00, 0x00, 0x0f, 0x03, 0x0d, 0x09, 0x08, 0x08]
|
||||
name: "Sofa"
|
||||
repeat: 1
|
||||
<<: !include common.yaml
|
||||
|
Reference in New Issue
Block a user