mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 00:51:49 +00:00 
			
		
		
		
	* Initial changes to support testing of additional framework versions * Rename Arduino test files
		
			
				
	
	
		
			20 lines
		
	
	
		
			347 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			347 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
i2c:
 | 
						|
  - id: i2c_ina226
 | 
						|
    scl: 5
 | 
						|
    sda: 4
 | 
						|
 | 
						|
sensor:
 | 
						|
  - platform: ina226
 | 
						|
    address: 0x40
 | 
						|
    shunt_resistance: 0.1 ohm
 | 
						|
    current:
 | 
						|
      name: INA226 Current
 | 
						|
    power:
 | 
						|
      name: INA226 Power
 | 
						|
    bus_voltage:
 | 
						|
      name: INA226 Bus Voltage
 | 
						|
    shunt_voltage:
 | 
						|
      name: INA226 Shunt Voltage
 | 
						|
    max_current: 3.2A
 | 
						|
    update_interval: 15s
 |