mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Add CS5460A power-meter component (#1474)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							bb759d52c8
						
					
				
				
					commit
					4d586b1446
				
			| @@ -914,6 +914,28 @@ sensor: | ||||
|     id: ph_ezo | ||||
|     address: 99 | ||||
|     unit_of_measurement: 'pH' | ||||
|   - platform: cs5460a | ||||
|     id: cs5460a1 | ||||
|     current: | ||||
|       name: "Socket current" | ||||
|     voltage: | ||||
|       name: "Mains voltage" | ||||
|     power: | ||||
|       name: "Socket power" | ||||
|       on_value: | ||||
|         then: | ||||
|           cs5460a.restart: cs5460a1 | ||||
|     samples: 1600 | ||||
|     pga_gain: 10X | ||||
|     current_gain: 0.01 | ||||
|     voltage_gain: 0.000573 | ||||
|     current_hpf: on | ||||
|     voltage_hpf: on | ||||
|     phase_offset: 20 | ||||
|     pulse_energy: 0.01 kWh | ||||
|     cs_pin: | ||||
|       mcp23xxx: mcp23017_hub | ||||
|       number: 14 | ||||
|  | ||||
| esp32_touch: | ||||
|   setup_mode: False | ||||
|   | ||||
		Reference in New Issue
	
	Block a user