i2c:
- id: i2c_as3935
scl: 5
sda: 4
as3935_i2c:
irq_pin: 15
binary_sensor:
- platform: as3935
name: Storm Alert
sensor:
lightning_energy:
name: Lightning Energy
distance:
name: Distance Storm