mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Add some components to the new testing framework (P) (#6213)
This commit is contained in:
		
							
								
								
									
										34
									
								
								tests/components/pmsx003/test.esp32-c3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								tests/components/pmsx003/test.esp32-c3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,34 @@ | ||||
| uart: | ||||
|   - id: uart_pmsx003 | ||||
|     tx_pin: 4 | ||||
|     rx_pin: 5 | ||||
|     baud_rate: 9600 | ||||
|  | ||||
| sensor: | ||||
|   - platform: pmsx003 | ||||
|     type: PMSX003 | ||||
|     pm_1_0: | ||||
|       name: PM 1.0 Concentration | ||||
|     pm_2_5: | ||||
|       name: PM 2.5 Concentration | ||||
|     pm_10_0: | ||||
|       name: PM 10.0 Concentration | ||||
|     pm_1_0_std: | ||||
|       name: PM 1.0 Standard Atmospher Concentration | ||||
|     pm_2_5_std: | ||||
|       name: PM 2.5 Standard Atmospher Concentration | ||||
|     pm_10_0_std: | ||||
|       name: PM 10.0 Standard Atmospher Concentration | ||||
|     pm_0_3um: | ||||
|       name: Particulate Count >0.3um | ||||
|     pm_0_5um: | ||||
|       name: Particulate Count >0.5um | ||||
|     pm_1_0um: | ||||
|       name: Particulate Count >1.0um | ||||
|     pm_2_5um: | ||||
|       name: Particulate Count >2.5um | ||||
|     pm_5_0um: | ||||
|       name: Particulate Count >5.0um | ||||
|     pm_10_0um: | ||||
|       name: Particulate Count >10.0um | ||||
|     update_interval: 30s | ||||
		Reference in New Issue
	
	Block a user