esphome/tests/components/as3935_spi/test.esp32-c3-ard.yaml

21 lines
290 B
YAML
Raw Permalink Normal View History

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