mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	nau7802: new component (#6291)
This commit is contained in:
		
							
								
								
									
										13
									
								
								tests/components/nau7802/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								tests/components/nau7802/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| sensor: | ||||
|   - platform: nau7802 | ||||
|     id: test_id | ||||
|     name: weight | ||||
|     i2c_id: i2c_nau7802 | ||||
|     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 | ||||
							
								
								
									
										6
									
								
								tests/components/nau7802/test.esp32-ard.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								tests/components/nau7802/test.esp32-ard.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_nau7802 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
|  | ||||
| <<: !include common.yaml | ||||
							
								
								
									
										6
									
								
								tests/components/nau7802/test.esp32-c3-ard.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								tests/components/nau7802/test.esp32-c3-ard.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_nau7802 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
|  | ||||
| <<: !include common.yaml | ||||
							
								
								
									
										6
									
								
								tests/components/nau7802/test.esp32-c3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								tests/components/nau7802/test.esp32-c3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_nau7802 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
|  | ||||
| <<: !include common.yaml | ||||
							
								
								
									
										6
									
								
								tests/components/nau7802/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								tests/components/nau7802/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_nau7802 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
|  | ||||
| <<: !include common.yaml | ||||
							
								
								
									
										6
									
								
								tests/components/nau7802/test.esp8266-ard.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								tests/components/nau7802/test.esp8266-ard.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_nau7802 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
|  | ||||
| <<: !include common.yaml | ||||
							
								
								
									
										6
									
								
								tests/components/nau7802/test.rp2040-ard.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								tests/components/nau7802/test.rp2040-ard.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_nau7802 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
|  | ||||
| <<: !include common.yaml | ||||
		Reference in New Issue
	
	Block a user