mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			253 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			253 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| i2c:
 | |
|   - id: i2c_as3935
 | |
|     scl: 5
 | |
|     sda: 4
 | |
| 
 | |
| as3935_i2c:
 | |
|   irq_pin: 6
 | |
| 
 | |
| binary_sensor:
 | |
|   - platform: as3935
 | |
|     name: Storm Alert
 | |
| 
 | |
| sensor:
 | |
|   - platform: as3935
 | |
|     lightning_energy:
 | |
|       name: Lightning Energy
 | |
|     distance:
 | |
|       name: Distance Storm
 |