[CI] Consolidate some tests (T) (#8208)

This commit is contained in:
Keith Burzinski
2025-02-09 15:43:21 -06:00
committed by GitHub
parent dc8646cda6
commit 8897a9866d
160 changed files with 1045 additions and 2640 deletions
+10
View File
@@ -0,0 +1,10 @@
uart:
- id: uart_t6615
tx_pin: ${tx_pin}
rx_pin: ${rx_pin}
baud_rate: 19200
sensor:
- platform: t6615
co2:
name: CO2 Sensor
+4 -9
View File
@@ -1,10 +1,5 @@
uart:
- id: uart_t6615
tx_pin: 17
rx_pin: 16
baud_rate: 19200
substitutions:
tx_pin: GPIO17
rx_pin: GPIO16
sensor:
- platform: t6615
co2:
name: CO2 Sensor
<<: !include common.yaml
@@ -1,10 +1,5 @@
uart:
- id: uart_t6615
tx_pin: 4
rx_pin: 5
baud_rate: 19200
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
sensor:
- platform: t6615
co2:
name: CO2 Sensor
<<: !include common.yaml
@@ -1,10 +1,5 @@
uart:
- id: uart_t6615
tx_pin: 4
rx_pin: 5
baud_rate: 19200
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
sensor:
- platform: t6615
co2:
name: CO2 Sensor
<<: !include common.yaml
+4 -9
View File
@@ -1,10 +1,5 @@
uart:
- id: uart_t6615
tx_pin: 17
rx_pin: 16
baud_rate: 19200
substitutions:
tx_pin: GPIO17
rx_pin: GPIO16
sensor:
- platform: t6615
co2:
name: CO2 Sensor
<<: !include common.yaml
+4 -9
View File
@@ -1,10 +1,5 @@
uart:
- id: uart_t6615
tx_pin: 4
rx_pin: 5
baud_rate: 19200
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
sensor:
- platform: t6615
co2:
name: CO2 Sensor
<<: !include common.yaml
+4 -9
View File
@@ -1,10 +1,5 @@
uart:
- id: uart_t6615
tx_pin: 4
rx_pin: 5
baud_rate: 19200
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
sensor:
- platform: t6615
co2:
name: CO2 Sensor
<<: !include common.yaml
+8
View File
@@ -0,0 +1,8 @@
i2c:
- id: i2c_tc74
scl: ${scl_pin}
sda: ${sda_pin}
sensor:
- platform: tc74
name: TC74 Temperature
+4 -7
View File
@@ -1,8 +1,5 @@
i2c:
- id: i2c_tc74
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
sensor:
- platform: tc74
name: TC74 Temperature
<<: !include common.yaml
+4 -7
View File
@@ -1,8 +1,5 @@
i2c:
- id: i2c_tc74
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: tc74
name: TC74 Temperature
<<: !include common.yaml
+4 -7
View File
@@ -1,8 +1,5 @@
i2c:
- id: i2c_tc74
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: tc74
name: TC74 Temperature
<<: !include common.yaml
+4 -7
View File
@@ -1,8 +1,5 @@
i2c:
- id: i2c_tc74
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
sensor:
- platform: tc74
name: TC74 Temperature
<<: !include common.yaml
+4 -7
View File
@@ -1,8 +1,5 @@
i2c:
- id: i2c_tc74
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: tc74
name: TC74 Temperature
<<: !include common.yaml
+4 -7
View File
@@ -1,8 +1,5 @@
i2c:
- id: i2c_tc74
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: tc74
name: TC74 Temperature
<<: !include common.yaml
+15
View File
@@ -0,0 +1,15 @@
i2c:
- id: i2c_tca9548a
scl: ${scl_pin}
sda: ${sda_pin}
tca9548a:
- id: multiplex0
address: 0x70
channels:
- bus_id: multiplex0_chan0
channel: 0
i2c_id: i2c_tca9548a
- id: multiplex1
address: 0x71
i2c_id: multiplex0_chan0
+4 -14
View File
@@ -1,15 +1,5 @@
i2c:
- id: i2c_tca9548a
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
tca9548a:
- id: multiplex0
address: 0x70
channels:
- bus_id: multiplex0_chan0
channel: 0
i2c_id: i2c_tca9548a
- id: multiplex1
address: 0x71
i2c_id: multiplex0_chan0
<<: !include common.yaml
@@ -1,15 +1,5 @@
i2c:
- id: i2c_tca9548a
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
tca9548a:
- id: multiplex0
address: 0x70
channels:
- bus_id: multiplex0_chan0
channel: 0
i2c_id: i2c_tca9548a
- id: multiplex1
address: 0x71
i2c_id: multiplex0_chan0
<<: !include common.yaml
@@ -1,15 +1,5 @@
i2c:
- id: i2c_tca9548a
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
tca9548a:
- id: multiplex0
address: 0x70
channels:
- bus_id: multiplex0_chan0
channel: 0
i2c_id: i2c_tca9548a
- id: multiplex1
address: 0x71
i2c_id: multiplex0_chan0
<<: !include common.yaml
+4 -14
View File
@@ -1,15 +1,5 @@
i2c:
- id: i2c_tca9548a
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
tca9548a:
- id: multiplex0
address: 0x70
channels:
- bus_id: multiplex0_chan0
channel: 0
i2c_id: i2c_tca9548a
- id: multiplex1
address: 0x71
i2c_id: multiplex0_chan0
<<: !include common.yaml
@@ -1,15 +1,5 @@
i2c:
- id: i2c_tca9548a
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
tca9548a:
- id: multiplex0
address: 0x70
channels:
- bus_id: multiplex0_chan0
channel: 0
i2c_id: i2c_tca9548a
- id: multiplex1
address: 0x71
i2c_id: multiplex0_chan0
<<: !include common.yaml
+4 -14
View File
@@ -1,15 +1,5 @@
i2c:
- id: i2c_tca9548a
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
tca9548a:
- id: multiplex0
address: 0x70
channels:
- bus_id: multiplex0_chan0
channel: 0
i2c_id: i2c_tca9548a
- id: multiplex1
address: 0x71
i2c_id: multiplex0_chan0
<<: !include common.yaml
+27
View File
@@ -0,0 +1,27 @@
i2c:
- id: i2c_tca9555
scl: ${scl_pin}
sda: ${sda_pin}
tca9555:
- id: tca9555_hub
address: 0x21
binary_sensor:
- platform: gpio
id: tca9555_binary_sensor
name: TCA9555 Binary Sensor
pin:
tca9555: tca9555_hub
number: 1
mode: INPUT
inverted: true
output:
- platform: gpio
id: tca9555_output
pin:
tca9555: tca9555_hub
number: 0
mode: OUTPUT
inverted: false
+4 -26
View File
@@ -1,27 +1,5 @@
i2c:
- id: i2c_tca9555
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
tca9555:
- id: tca9555_hub
address: 0x21
binary_sensor:
- platform: gpio
id: tca9555_binary_sensor
name: TCA9555 Binary Sensor
pin:
tca9555: tca9555_hub
number: 1
mode: INPUT
inverted: true
output:
- platform: gpio
id: tca9555_output
pin:
tca9555: tca9555_hub
number: 0
mode: OUTPUT
inverted: false
<<: !include common.yaml
@@ -1,27 +1,5 @@
i2c:
- id: i2c_tca9555
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
tca9555:
- id: tca9555_hub
address: 0x21
binary_sensor:
- platform: gpio
id: tca9555_binary_sensor
name: TCA9555 Binary Sensor
pin:
tca9555: tca9555_hub
number: 1
mode: INPUT
inverted: true
output:
- platform: gpio
id: tca9555_output
pin:
tca9555: tca9555_hub
number: 0
mode: OUTPUT
inverted: false
<<: !include common.yaml
@@ -1,27 +1,5 @@
i2c:
- id: i2c_tca9555
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
tca9555:
- id: tca9555_hub
address: 0x21
binary_sensor:
- platform: gpio
id: tca9555_binary_sensor
name: TCA9555 Binary Sensor
pin:
tca9555: tca9555_hub
number: 1
mode: INPUT
inverted: true
output:
- platform: gpio
id: tca9555_output
pin:
tca9555: tca9555_hub
number: 0
mode: OUTPUT
inverted: false
<<: !include common.yaml
+4 -26
View File
@@ -1,27 +1,5 @@
i2c:
- id: i2c_tca9555
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
tca9555:
- id: tca9555_hub
address: 0x21
binary_sensor:
- platform: gpio
id: tca9555_binary_sensor
name: TCA9555 Binary Sensor
pin:
tca9555: tca9555_hub
number: 1
mode: INPUT
inverted: true
output:
- platform: gpio
id: tca9555_output
pin:
tca9555: tca9555_hub
number: 0
mode: OUTPUT
inverted: false
<<: !include common.yaml
+4 -26
View File
@@ -1,27 +1,5 @@
i2c:
- id: i2c_tca9555
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
tca9555:
- id: tca9555_hub
address: 0x21
binary_sensor:
- platform: gpio
id: tca9555_binary_sensor
name: TCA9555 Binary Sensor
pin:
tca9555: tca9555_hub
number: 1
mode: INPUT
inverted: true
output:
- platform: gpio
id: tca9555_output
pin:
tca9555: tca9555_hub
number: 0
mode: OUTPUT
inverted: false
<<: !include common.yaml
+4 -26
View File
@@ -1,27 +1,5 @@
i2c:
- id: i2c_tca9555
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
tca9555:
- id: tca9555_hub
address: 0x21
binary_sensor:
- platform: gpio
id: tca9555_binary_sensor
name: TCA9555 Binary Sensor
pin:
tca9555: tca9555_hub
number: 1
mode: INPUT
inverted: true
output:
- platform: gpio
id: tca9555_output
pin:
tca9555: tca9555_hub
number: 0
mode: OUTPUT
inverted: false
<<: !include common.yaml
+15
View File
@@ -0,0 +1,15 @@
remote_transmitter:
pin: ${pin}
carrier_duty_percent: 50%
sensor:
- platform: template
id: tcl112_sensor
lambda: "return 21;"
climate:
- platform: tcl112
name: TCL112 Climate with Sensor
supports_heat: true
supports_cool: true
sensor: tcl112_sensor
+3 -14
View File
@@ -1,15 +1,4 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
substitutions:
pin: GPIO2
sensor:
- platform: template
id: tcl112_sensor
lambda: "return 21;"
climate:
- platform: tcl112
name: TCL112 Climate with Sensor
supports_heat: true
supports_cool: true
sensor: tcl112_sensor
<<: !include common.yaml
+3 -14
View File
@@ -1,15 +1,4 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
substitutions:
pin: GPIO2
sensor:
- platform: template
id: tcl112_sensor
lambda: "return 21;"
climate:
- platform: tcl112
name: TCL112 Climate with Sensor
supports_heat: true
supports_cool: true
sensor: tcl112_sensor
<<: !include common.yaml
+3 -14
View File
@@ -1,15 +1,4 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
substitutions:
pin: GPIO2
sensor:
- platform: template
id: tcl112_sensor
lambda: "return 21;"
climate:
- platform: tcl112
name: TCL112 Climate with Sensor
supports_heat: true
supports_cool: true
sensor: tcl112_sensor
<<: !include common.yaml
+3 -14
View File
@@ -1,15 +1,4 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
substitutions:
pin: GPIO2
sensor:
- platform: template
id: tcl112_sensor
lambda: "return 21;"
climate:
- platform: tcl112
name: TCL112 Climate with Sensor
supports_heat: true
supports_cool: true
sensor: tcl112_sensor
<<: !include common.yaml
+3 -14
View File
@@ -1,15 +1,4 @@
remote_transmitter:
pin: 5
carrier_duty_percent: 50%
substitutions:
pin: GPIO5
sensor:
- platform: template
id: tcl112_sensor
lambda: "return 21;"
climate:
- platform: tcl112
name: TCL112 Climate with Sensor
supports_heat: true
supports_cool: true
sensor: tcl112_sensor
<<: !include common.yaml
+21
View File
@@ -0,0 +1,21 @@
i2c:
- id: i2c_tcs34725
scl: ${scl_pin}
sda: ${sda_pin}
sensor:
- platform: tcs34725
red_channel:
name: Red Channel
green_channel:
name: Green Channel
blue_channel:
name: Blue Channel
clear_channel:
name: Clear Channel
illuminance:
name: Illuminance
color_temperature:
name: Color Temperature
integration_time: 614ms
gain: 60x
+4 -20
View File
@@ -1,21 +1,5 @@
i2c:
- id: i2c_tcs34725
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
sensor:
- platform: tcs34725
red_channel:
name: Red Channel
green_channel:
name: Green Channel
blue_channel:
name: Blue Channel
clear_channel:
name: Clear Channel
illuminance:
name: Illuminance
color_temperature:
name: Color Temperature
integration_time: 614ms
gain: 60x
<<: !include common.yaml
@@ -1,21 +1,5 @@
i2c:
- id: i2c_tcs34725
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: tcs34725
red_channel:
name: Red Channel
green_channel:
name: Green Channel
blue_channel:
name: Blue Channel
clear_channel:
name: Clear Channel
illuminance:
name: Illuminance
color_temperature:
name: Color Temperature
integration_time: 614ms
gain: 60x
<<: !include common.yaml
@@ -1,21 +1,5 @@
i2c:
- id: i2c_tcs34725
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: tcs34725
red_channel:
name: Red Channel
green_channel:
name: Green Channel
blue_channel:
name: Blue Channel
clear_channel:
name: Clear Channel
illuminance:
name: Illuminance
color_temperature:
name: Color Temperature
integration_time: 614ms
gain: 60x
<<: !include common.yaml
+4 -20
View File
@@ -1,21 +1,5 @@
i2c:
- id: i2c_tcs34725
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
sensor:
- platform: tcs34725
red_channel:
name: Red Channel
green_channel:
name: Green Channel
blue_channel:
name: Blue Channel
clear_channel:
name: Clear Channel
illuminance:
name: Illuminance
color_temperature:
name: Color Temperature
integration_time: 614ms
gain: 60x
<<: !include common.yaml
@@ -1,21 +1,5 @@
i2c:
- id: i2c_tcs34725
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: tcs34725
red_channel:
name: Red Channel
green_channel:
name: Green Channel
blue_channel:
name: Blue Channel
clear_channel:
name: Clear Channel
illuminance:
name: Illuminance
color_temperature:
name: Color Temperature
integration_time: 614ms
gain: 60x
<<: !include common.yaml
+4 -20
View File
@@ -1,21 +1,5 @@
i2c:
- id: i2c_tcs34725
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: tcs34725
red_channel:
name: Red Channel
green_channel:
name: Green Channel
blue_channel:
name: Blue Channel
clear_channel:
name: Clear Channel
illuminance:
name: Illuminance
color_temperature:
name: Color Temperature
integration_time: 614ms
gain: 60x
<<: !include common.yaml
+9
View File
@@ -0,0 +1,9 @@
i2c:
- id: i2c_tee501
scl: ${scl_pin}
sda: ${sda_pin}
sensor:
- platform: tee501
name: TEE501 Temperature
address: 0x48
+4 -8
View File
@@ -1,9 +1,5 @@
i2c:
- id: i2c_tee501
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
sensor:
- platform: tee501
name: TEE501 Temperature
address: 0x48
<<: !include common.yaml
@@ -1,9 +1,5 @@
i2c:
- id: i2c_tee501
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: tee501
name: TEE501 Temperature
address: 0x48
<<: !include common.yaml
@@ -1,9 +1,5 @@
i2c:
- id: i2c_tee501
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: tee501
name: TEE501 Temperature
address: 0x48
<<: !include common.yaml
+4 -8
View File
@@ -1,9 +1,5 @@
i2c:
- id: i2c_tee501
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
sensor:
- platform: tee501
name: TEE501 Temperature
address: 0x48
<<: !include common.yaml
@@ -1,9 +1,5 @@
i2c:
- id: i2c_tee501
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: tee501
name: TEE501 Temperature
address: 0x48
<<: !include common.yaml
+4 -8
View File
@@ -1,9 +1,5 @@
i2c:
- id: i2c_tee501
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: tee501
name: TEE501 Temperature
address: 0x48
<<: !include common.yaml
+42
View File
@@ -0,0 +1,42 @@
uart:
- id: uart_teleinfo
tx_pin: ${tx_pin}
rx_pin: ${rx_pin}
baud_rate: 1200
parity: EVEN
button:
- platform: template
name: Poller component suspend test
on_press:
- component.suspend: test_teleinfo
- delay: 20s
- component.update: test_teleinfo
- delay: 20s
- component.resume: test_teleinfo
- delay: 20s
- component.resume:
id: test_teleinfo
update_interval: 2s
- delay: 20s
- component.resume:
id: test_teleinfo
update_interval: !lambda return 2500;
teleinfo:
id: test_teleinfo
historical_mode: true
update_interval: 60s
sensor:
- platform: teleinfo
name: hchc
tag_name: HCHC
teleinfo_id: test_teleinfo
unit_of_measurement: Wh
text_sensor:
- platform: teleinfo
name: optarif
tag_name: OPTARIF
teleinfo_id: test_teleinfo
+4 -41
View File
@@ -1,42 +1,5 @@
uart:
- id: uart_teleinfo
tx_pin: 17
rx_pin: 16
baud_rate: 1200
parity: EVEN
substitutions:
tx_pin: GPIO17
rx_pin: GPIO16
button:
- platform: template
name: Poller component suspend test
on_press:
- component.suspend: test_teleinfo
- delay: 20s
- component.update: test_teleinfo
- delay: 20s
- component.resume: test_teleinfo
- delay: 20s
- component.resume:
id: test_teleinfo
update_interval: 2s
- delay: 20s
- component.resume:
id: test_teleinfo
update_interval: !lambda return 2500;
teleinfo:
id: test_teleinfo
historical_mode: true
update_interval: 60s
sensor:
- platform: teleinfo
name: hchc
tag_name: HCHC
teleinfo_id: test_teleinfo
unit_of_measurement: Wh
text_sensor:
- platform: teleinfo
name: optarif
tag_name: OPTARIF
teleinfo_id: test_teleinfo
<<: !include common.yaml

Some files were not shown because too many files have changed in this diff Show More