mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			293 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			293 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| esphome:
 | |
|   on_boot:
 | |
|     then:
 | |
|       - pzemdc.reset_energy: pzemdc1
 | |
| 
 | |
| sensor:
 | |
|   - platform: pzemdc
 | |
|     modbus_id: modbus_bus
 | |
|     id: pzemdc1
 | |
|     voltage:
 | |
|       name: PZEMDC Voltage
 | |
|     current:
 | |
|       name: PZEMDC Current
 | |
|     power:
 | |
|       name: PZEMDC Power
 | |
|     energy:
 | |
|       name: PZEMDC Energy
 |