mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
Add some components to the new testing framework (A part 2) (#6162)
This commit is contained in:
20
tests/components/as3935_spi/test.esp32-c3-idf.yaml
Normal file
20
tests/components/as3935_spi/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
spi:
|
||||
- id: spi_as3935
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
as3935_spi:
|
||||
cs_pin: 2
|
||||
irq_pin: 3
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
||||
20
tests/components/as3935_spi/test.esp32-c3.yaml
Normal file
20
tests/components/as3935_spi/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
spi:
|
||||
- id: spi_as3935
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
as3935_spi:
|
||||
cs_pin: 2
|
||||
irq_pin: 3
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
||||
20
tests/components/as3935_spi/test.esp32-idf.yaml
Normal file
20
tests/components/as3935_spi/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
spi:
|
||||
- id: spi_as3935
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
as3935_spi:
|
||||
cs_pin: 12
|
||||
irq_pin: 13
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
||||
20
tests/components/as3935_spi/test.esp32.yaml
Normal file
20
tests/components/as3935_spi/test.esp32.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
spi:
|
||||
- id: spi_as3935
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
as3935_spi:
|
||||
cs_pin: 12
|
||||
irq_pin: 13
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
||||
20
tests/components/as3935_spi/test.esp8266.yaml
Normal file
20
tests/components/as3935_spi/test.esp8266.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
spi:
|
||||
- id: spi_as3935
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
miso_pin: 12
|
||||
|
||||
as3935_spi:
|
||||
cs_pin: 15
|
||||
irq_pin: 16
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
||||
20
tests/components/as3935_spi/test.rp2040.yaml
Normal file
20
tests/components/as3935_spi/test.rp2040.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
spi:
|
||||
- id: spi_as3935
|
||||
clk_pin: 2
|
||||
mosi_pin: 3
|
||||
miso_pin: 4
|
||||
|
||||
as3935_spi:
|
||||
cs_pin: 6
|
||||
irq_pin: 7
|
||||
|
||||
binary_sensor:
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
sensor:
|
||||
- platform: as3935
|
||||
lightning_energy:
|
||||
name: Lightning Energy
|
||||
distance:
|
||||
name: Distance Storm
|
||||
Reference in New Issue
Block a user