mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	[CI] Consolidate some tests (A) (#8184)
This commit is contained in:
		
							
								
								
									
										61
									
								
								tests/components/atm90e32/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										61
									
								
								tests/components/atm90e32/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,61 @@ | ||||
| spi: | ||||
|   - id: spi_atm90e32 | ||||
|     clk_pin: ${clk_pin} | ||||
|     mosi_pin: ${mosi_pin} | ||||
|     miso_pin: ${miso_pin} | ||||
|  | ||||
| sensor: | ||||
|   - platform: atm90e32 | ||||
|     cs_pin: ${cs_pin} | ||||
|     id: atm90e32_chip1 | ||||
|     phase_a: | ||||
|       voltage: | ||||
|         name: EMON Line Voltage A | ||||
|       current: | ||||
|         name: EMON CT1 Current | ||||
|       power: | ||||
|         name: EMON Active Power CT1 | ||||
|       reactive_power: | ||||
|         name: EMON Reactive Power CT1 | ||||
|       power_factor: | ||||
|         name: EMON Power Factor CT1 | ||||
|       gain_voltage: 7305 | ||||
|       gain_ct: 27961 | ||||
|     phase_b: | ||||
|       current: | ||||
|         name: EMON CT2 Current | ||||
|       power: | ||||
|         name: EMON Active Power CT2 | ||||
|       reactive_power: | ||||
|         name: EMON Reactive Power CT2 | ||||
|       power_factor: | ||||
|         name: EMON Power Factor CT2 | ||||
|       gain_voltage: 7305 | ||||
|       gain_ct: 27961 | ||||
|     phase_c: | ||||
|       current: | ||||
|         name: EMON CT3 Current | ||||
|       power: | ||||
|         name: EMON Active Power CT3 | ||||
|       reactive_power: | ||||
|         name: EMON Reactive Power CT3 | ||||
|       power_factor: | ||||
|         name: EMON Power Factor CT3 | ||||
|       gain_voltage: 7305 | ||||
|       gain_ct: 27961 | ||||
|     frequency: | ||||
|       name: EMON Line Frequency | ||||
|     chip_temperature: | ||||
|       name: EMON Chip Temp A | ||||
|     line_frequency: 60Hz | ||||
|     current_phases: 3 | ||||
|     gain_pga: 2X | ||||
|     enable_offset_calibration: True | ||||
|  | ||||
| button: | ||||
|   - platform: atm90e32 | ||||
|     id: atm90e32_chip1 | ||||
|     run_offset_calibration: | ||||
|       name: Chip1 - Run Offset Calibration | ||||
|     clear_offset_calibration: | ||||
|       name: Chip1 - Clear Offset Calibration | ||||
		Reference in New Issue
	
	Block a user