mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 17:01:43 +01:00
20 lines
295 B
YAML
20 lines
295 B
YAML
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
|