mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
21 lines
295 B
YAML
21 lines
295 B
YAML
|
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
|