mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[CI] Consolidate some tests (N, O, P) (#8204)
This commit is contained in:
		
							
								
								
									
										28
									
								
								tests/components/pzemac/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								tests/components/pzemac/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - pzemac.reset_energy: pzemac1 | ||||
|  | ||||
| uart: | ||||
|   - id: uart_pzemac | ||||
|     tx_pin: ${tx_pin} | ||||
|     rx_pin: ${rx_pin} | ||||
|     baud_rate: 9600 | ||||
|  | ||||
| modbus: | ||||
|  | ||||
| sensor: | ||||
|   - platform: pzemac | ||||
|     id: pzemac1 | ||||
|     voltage: | ||||
|       name: PZEMAC Voltage | ||||
|     current: | ||||
|       name: PZEMAC Current | ||||
|     power: | ||||
|       name: PZEMAC Power | ||||
|     energy: | ||||
|       name: PZEMAC Energy | ||||
|     frequency: | ||||
|       name: PZEMAC Frequency | ||||
|     power_factor: | ||||
|       name: PZEMAC Power Factor | ||||
		Reference in New Issue
	
	Block a user