mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			321 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			321 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| sensor:
 | |
|   - platform: nau7802
 | |
|     i2c_id: i2c_bus
 | |
|     id: test_id
 | |
|     name: weight
 | |
|     gain: 32
 | |
|     ldo_voltage: "3.0v"
 | |
|     samples_per_second: 10
 | |
|     on_value:
 | |
|       then:
 | |
|         - nau7802.calibrate_external_offset: test_id
 | |
|         - nau7802.calibrate_internal_offset: test_id
 | |
|         - nau7802.calibrate_gain: test_id
 |