mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
[CI] Consolidate some tests (T) (#8208)
This commit is contained in:
15
tests/components/tcl112/common.yaml
Normal file
15
tests/components/tcl112/common.yaml
Normal 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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user