mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
[CI] Consolidate some tests (M) (#8202)
This commit is contained in:
12
tests/components/mcp9600/common.yaml
Normal file
12
tests/components/mcp9600/common.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
i2c:
|
||||
- id: i2c_mcp9600
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
|
||||
sensor:
|
||||
- platform: mcp9600
|
||||
thermocouple_type: K
|
||||
hot_junction:
|
||||
name: Thermocouple Temperature
|
||||
cold_junction:
|
||||
name: Ambient Temperature
|
@@ -1,12 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_mcp9600
|
||||
scl: 16
|
||||
sda: 17
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
sensor:
|
||||
- platform: mcp9600
|
||||
thermocouple_type: K
|
||||
hot_junction:
|
||||
name: Thermocouple Temperature
|
||||
cold_junction:
|
||||
name: Ambient Temperature
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,12 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_mcp9600
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
sensor:
|
||||
- platform: mcp9600
|
||||
thermocouple_type: K
|
||||
hot_junction:
|
||||
name: Thermocouple Temperature
|
||||
cold_junction:
|
||||
name: Ambient Temperature
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,12 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_mcp9600
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
sensor:
|
||||
- platform: mcp9600
|
||||
thermocouple_type: K
|
||||
hot_junction:
|
||||
name: Thermocouple Temperature
|
||||
cold_junction:
|
||||
name: Ambient Temperature
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,12 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_mcp9600
|
||||
scl: 16
|
||||
sda: 17
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
sensor:
|
||||
- platform: mcp9600
|
||||
thermocouple_type: K
|
||||
hot_junction:
|
||||
name: Thermocouple Temperature
|
||||
cold_junction:
|
||||
name: Ambient Temperature
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,12 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_mcp9600
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
sensor:
|
||||
- platform: mcp9600
|
||||
thermocouple_type: K
|
||||
hot_junction:
|
||||
name: Thermocouple Temperature
|
||||
cold_junction:
|
||||
name: Ambient Temperature
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,12 +1,5 @@
|
||||
i2c:
|
||||
- id: i2c_mcp9600
|
||||
scl: 5
|
||||
sda: 4
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
sensor:
|
||||
- platform: mcp9600
|
||||
thermocouple_type: K
|
||||
hot_junction:
|
||||
name: Thermocouple Temperature
|
||||
cold_junction:
|
||||
name: Ambient Temperature
|
||||
<<: !include common.yaml
|
||||
|
Reference in New Issue
Block a user