mirror of
https://github.com/esphome/esphome.git
synced 2024-11-16 12:08:08 +01:00
21 lines
290 B
YAML
21 lines
290 B
YAML
|
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
|