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:
		
							
								
								
									
										12
									
								
								tests/components/pcf85063/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								tests/components/pcf85063/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     - pcf85063.read_time | ||||
|     - pcf85063.write_time | ||||
|  | ||||
| i2c: | ||||
|   - id: i2c_pcf85063 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| time: | ||||
|   - platform: pcf85063 | ||||
| @@ -1,12 +1,5 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     - pcf85063.read_time | ||||
|     - pcf85063.write_time | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
|  | ||||
| i2c: | ||||
|   - id: i2c_pcf85063 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
|  | ||||
| time: | ||||
|   - platform: pcf85063 | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,12 +1,5 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     - pcf85063.read_time | ||||
|     - pcf85063.write_time | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| i2c: | ||||
|   - id: i2c_pcf85063 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
|  | ||||
| time: | ||||
|   - platform: pcf85063 | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,12 +1,5 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     - pcf85063.read_time | ||||
|     - pcf85063.write_time | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| i2c: | ||||
|   - id: i2c_pcf85063 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
|  | ||||
| time: | ||||
|   - platform: pcf85063 | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,12 +1,5 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     - pcf85063.read_time | ||||
|     - pcf85063.write_time | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
|  | ||||
| i2c: | ||||
|   - id: i2c_pcf85063 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
|  | ||||
| time: | ||||
|   - platform: pcf85063 | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,12 +1,5 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     - pcf85063.read_time | ||||
|     - pcf85063.write_time | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| i2c: | ||||
|   - id: i2c_pcf85063 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
|  | ||||
| time: | ||||
|   - platform: pcf85063 | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,12 +1,5 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     - pcf85063.read_time | ||||
|     - pcf85063.write_time | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| i2c: | ||||
|   - id: i2c_pcf85063 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
|  | ||||
| time: | ||||
|   - platform: pcf85063 | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user