mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[CI] Consolidate some tests (I, J) (#8200)
This commit is contained in:
		
							
								
								
									
										15
									
								
								tests/components/ina260/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								tests/components/ina260/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| i2c: | ||||
|   - id: i2c_ina260 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| sensor: | ||||
|   - platform: ina260 | ||||
|     address: 0x40 | ||||
|     current: | ||||
|       name: INA260 Current | ||||
|     power: | ||||
|       name: INA260 Power | ||||
|     bus_voltage: | ||||
|       name: INA260 Voltage | ||||
|     update_interval: 60s | ||||
| @@ -1,15 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_ina260 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
|  | ||||
| sensor: | ||||
|   - platform: ina260 | ||||
|     address: 0x40 | ||||
|     current: | ||||
|       name: INA260 Current | ||||
|     power: | ||||
|       name: INA260 Power | ||||
|     bus_voltage: | ||||
|       name: INA260 Voltage | ||||
|     update_interval: 60s | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,15 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_ina260 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| sensor: | ||||
|   - platform: ina260 | ||||
|     address: 0x40 | ||||
|     current: | ||||
|       name: INA260 Current | ||||
|     power: | ||||
|       name: INA260 Power | ||||
|     bus_voltage: | ||||
|       name: INA260 Voltage | ||||
|     update_interval: 60s | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,15 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_ina260 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| sensor: | ||||
|   - platform: ina260 | ||||
|     address: 0x40 | ||||
|     current: | ||||
|       name: INA260 Current | ||||
|     power: | ||||
|       name: INA260 Power | ||||
|     bus_voltage: | ||||
|       name: INA260 Voltage | ||||
|     update_interval: 60s | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,15 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_ina260 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
|  | ||||
| sensor: | ||||
|   - platform: ina260 | ||||
|     address: 0x40 | ||||
|     current: | ||||
|       name: INA260 Current | ||||
|     power: | ||||
|       name: INA260 Power | ||||
|     bus_voltage: | ||||
|       name: INA260 Voltage | ||||
|     update_interval: 60s | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,15 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_ina260 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| sensor: | ||||
|   - platform: ina260 | ||||
|     address: 0x40 | ||||
|     current: | ||||
|       name: INA260 Current | ||||
|     power: | ||||
|       name: INA260 Power | ||||
|     bus_voltage: | ||||
|       name: INA260 Voltage | ||||
|     update_interval: 60s | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,15 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_ina260 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| sensor: | ||||
|   - platform: ina260 | ||||
|     address: 0x40 | ||||
|     current: | ||||
|       name: INA260 Current | ||||
|     power: | ||||
|       name: INA260 Power | ||||
|     bus_voltage: | ||||
|       name: INA260 Voltage | ||||
|     update_interval: 60s | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user