mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Consolidate test files where all tests are identical (#6690)
This commit is contained in:
		
							
								
								
									
										14
									
								
								tests/components/duty_time/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								tests/components/duty_time/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| binary_sensor: | ||||
|   - platform: template | ||||
|     id: bin1 | ||||
|     lambda: |- | ||||
|       if (millis() > 10000) { | ||||
|         return true; | ||||
|       } else { | ||||
|         return false; | ||||
|       } | ||||
|  | ||||
| sensor: | ||||
|   - platform: duty_time | ||||
|     name: Duty Time | ||||
|     sensor: bin1 | ||||
		Reference in New Issue
	
	Block a user