mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-28 21:53:48 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			311 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			311 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| as3935_i2c:
 | |
|   id: as3935_i2c_id
 | |
|   i2c_id: i2c_bus
 | |
|   irq_pin: ${irq_pin}
 | |
| 
 | |
| binary_sensor:
 | |
|   - platform: as3935
 | |
|     as3935_id: as3935_i2c_id
 | |
|     name: Storm Alert
 | |
| 
 | |
| sensor:
 | |
|   - platform: as3935
 | |
|     as3935_id: as3935_i2c_id
 | |
|     lightning_energy:
 | |
|       name: Lightning Energy
 | |
|     distance:
 | |
|       name: Distance Storm
 |