mirror of
https://github.com/esphome/esphome.git
synced 2025-10-19 18:23:46 +01:00
[tests] Migrate remote_transmitter/receiver to common bus definitions (#11325)
This commit is contained in:
@@ -50,7 +50,14 @@ PACKAGE_DEPENDENCIES = {
|
||||
|
||||
# Bus types that can be defined directly in config files
|
||||
# Components defining these directly cannot be grouped (they create unique bus IDs)
|
||||
DIRECT_BUS_TYPES = ("i2c", "spi", "uart", "modbus")
|
||||
DIRECT_BUS_TYPES = (
|
||||
"i2c",
|
||||
"spi",
|
||||
"uart",
|
||||
"modbus",
|
||||
"remote_transmitter",
|
||||
"remote_receiver",
|
||||
)
|
||||
|
||||
# Signature for components with no bus requirements
|
||||
# These components can be merged with any other group
|
||||
@@ -68,6 +75,8 @@ BASE_BUS_COMPONENTS = {
|
||||
"uart",
|
||||
"modbus",
|
||||
"canbus",
|
||||
"remote_transmitter",
|
||||
"remote_receiver",
|
||||
}
|
||||
|
||||
# Components that must be tested in isolation (not grouped or batched with others)
|
||||
|
@@ -1,7 +1,3 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: heatpumpir
|
||||
protocol: ballu
|
||||
@@ -10,3 +6,4 @@ climate:
|
||||
name: HeatpumpIR Climate
|
||||
min_temperature: 18
|
||||
max_temperature: 30
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,4 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: climate_ir_lg
|
||||
name: LG Climate
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,4 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: coolix
|
||||
name: Coolix Climate
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,3 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: heatpumpir
|
||||
protocol: daikin
|
||||
@@ -10,3 +6,4 @@ climate:
|
||||
name: HeatpumpIR Climate
|
||||
min_temperature: 18
|
||||
max_temperature: 30
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,18 +1,3 @@
|
||||
remote_transmitter:
|
||||
pin: ${tx_pin}
|
||||
carrier_duty_percent: 50%
|
||||
id: tsvr
|
||||
|
||||
remote_receiver:
|
||||
id: rcvr
|
||||
pin:
|
||||
number: ${rx_pin}
|
||||
inverted: true
|
||||
mode:
|
||||
input: true
|
||||
pullup: true
|
||||
tolerance: 40%
|
||||
|
||||
climate:
|
||||
- platform: daikin_arc
|
||||
name: Daikin AC
|
||||
|
@@ -1,5 +1,5 @@
|
||||
substitutions:
|
||||
tx_pin: GPIO0
|
||||
rx_pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
remote_receiver: !include ../../test_build_components/common/remote_receiver/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,4 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: daikin_brc
|
||||
name: Daikin_brc Climate
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,4 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: delonghi
|
||||
name: Delonghi Climate
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,14 +1,5 @@
|
||||
remote_transmitter:
|
||||
id: tx
|
||||
pin: ${remote_transmitter_pin}
|
||||
carrier_duty_percent: 100%
|
||||
|
||||
remote_receiver:
|
||||
id: rcvr
|
||||
pin: ${remote_receiver_pin}
|
||||
|
||||
climate:
|
||||
- platform: emmeti
|
||||
name: Emmeti
|
||||
receiver_id: rcvr
|
||||
transmitter_id: tx
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,5 +1,5 @@
|
||||
substitutions:
|
||||
remote_transmitter_pin: GPIO33
|
||||
remote_receiver_pin: GPIO32
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
remote_receiver: !include ../../test_build_components/common/remote_receiver/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,5 +1,5 @@
|
||||
substitutions:
|
||||
remote_transmitter_pin: GPIO0
|
||||
remote_receiver_pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
remote_receiver: !include ../../test_build_components/common/remote_receiver/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,4 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: fujitsu_general
|
||||
name: Fujitsu General Climate
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,8 +1,5 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: gree
|
||||
name: GREE
|
||||
model: generic
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,3 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: heatpumpir
|
||||
protocol: mitsubishi_heavy_zm
|
||||
@@ -10,6 +6,7 @@ climate:
|
||||
name: HeatpumpIR Climate Mitsubishi
|
||||
min_temperature: 18
|
||||
max_temperature: 30
|
||||
transmitter_id: xmitr
|
||||
- platform: heatpumpir
|
||||
protocol: daikin
|
||||
horizontal_default: mleft
|
||||
@@ -17,6 +14,7 @@ climate:
|
||||
name: HeatpumpIR Climate Daikin
|
||||
min_temperature: 18
|
||||
max_temperature: 30
|
||||
transmitter_id: xmitr
|
||||
- platform: heatpumpir
|
||||
protocol: panasonic_altdke
|
||||
horizontal_default: mright
|
||||
@@ -24,3 +22,4 @@ climate:
|
||||
name: HeatpumpIR Climate Panasonic
|
||||
min_temperature: 18
|
||||
max_temperature: 30
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO6
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/bk72xx-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,4 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: hitachi_ac344
|
||||
name: Hitachi Climate
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO6
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/bk72xx-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,4 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: hitachi_ac424
|
||||
name: Hitachi Climate
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO6
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/bk72xx-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -2,10 +2,6 @@ wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: midea
|
||||
id: midea_unit
|
||||
@@ -16,7 +12,7 @@ climate:
|
||||
x.set_mode(CLIMATE_MODE_FAN_ONLY);
|
||||
on_state:
|
||||
- logger.log: State changed!
|
||||
transmitter_id:
|
||||
transmitter_id: xmitr
|
||||
period: 1s
|
||||
num_attempts: 5
|
||||
timeout: 2s
|
||||
|
@@ -1,7 +1,5 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-ard.yaml
|
||||
uart: !include ../../test_build_components/common/uart/esp32-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,5 @@
|
||||
substitutions:
|
||||
pin: GPIO15
|
||||
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
uart: !include ../../test_build_components/common/uart/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,8 +1,5 @@
|
||||
remote_transmitter:
|
||||
pin: 4
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: midea_ir
|
||||
name: Midea IR
|
||||
use_fahrenheit: true
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1 +1,4 @@
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1 +1,4 @@
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1 +1,4 @@
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,4 @@
|
||||
remote_transmitter:
|
||||
pin: 4
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: mitsubishi
|
||||
name: Mitsubishi
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1 +1,4 @@
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1 +1,4 @@
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1 +1,4 @@
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,12 +1,3 @@
|
||||
remote_receiver:
|
||||
id: rcvr
|
||||
pin: 4
|
||||
dump: all
|
||||
|
||||
remote_transmitter:
|
||||
pin: 2
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: noblex_ac_sensor
|
||||
|
@@ -1 +1,5 @@
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
remote_receiver: !include ../../test_build_components/common/remote_receiver/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1 +1,5 @@
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
remote_receiver: !include ../../test_build_components/common/remote_receiver/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1 +1,5 @@
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
remote_receiver: !include ../../test_build_components/common/remote_receiver/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -128,13 +128,10 @@ valve:
|
||||
optimistic: true
|
||||
has_position: true
|
||||
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: climate_ir_lg
|
||||
name: LG Climate
|
||||
transmitter_id: xmitr
|
||||
|
||||
prometheus:
|
||||
include_internal: true
|
||||
|
@@ -1,5 +1,7 @@
|
||||
substitutions:
|
||||
verify_ssl: "false"
|
||||
pin: GPIO2
|
||||
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,8 +1,8 @@
|
||||
substitutions:
|
||||
verify_ssl: "false"
|
||||
pin: GPIO2
|
||||
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
spi: !include ../../test_build_components/common/spi/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,5 +1,7 @@
|
||||
substitutions:
|
||||
verify_ssl: "false"
|
||||
pin: GPIO5
|
||||
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,3 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: tcl112_sensor
|
||||
@@ -13,3 +9,4 @@ climate:
|
||||
supports_heat: true
|
||||
supports_cool: true
|
||||
sensor: tcl112_sensor
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,4 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: toshiba
|
||||
name: Toshiba Climate
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,4 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: whirlpool
|
||||
name: Whirlpool Climate
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,4 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: whynter
|
||||
name: Whynter Climate
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,4 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: yashima
|
||||
name: Yashima Climate
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,7 +1,4 @@
|
||||
remote_transmitter:
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: zhlt01
|
||||
name: ZH/LT-01 Climate
|
||||
transmitter_id: xmitr
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
substitutions:
|
||||
pin: GPIO5
|
||||
packages:
|
||||
remote_transmitter: !include ../../test_build_components/common/remote_transmitter/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -0,0 +1,16 @@
|
||||
# Common remote_receiver configuration for ESP32-C3 IDF tests
|
||||
# Provides a shared remote receiver that all components can use
|
||||
# Components will auto-use this receiver if they don't specify receiver_id
|
||||
|
||||
substitutions:
|
||||
remote_receiver_pin: GPIO5
|
||||
|
||||
remote_receiver:
|
||||
- id: rcvr
|
||||
pin: ${remote_receiver_pin}
|
||||
dump: all
|
||||
tolerance: 25%
|
||||
clock_resolution: 2000000
|
||||
filter_symbols: 2
|
||||
receive_symbols: 4
|
||||
rmt_symbols: 64
|
@@ -0,0 +1,16 @@
|
||||
# Common remote_receiver configuration for ESP32 IDF tests
|
||||
# Provides a shared remote receiver that all components can use
|
||||
# Components will auto-use this receiver if they don't specify receiver_id
|
||||
|
||||
substitutions:
|
||||
remote_receiver_pin: GPIO32
|
||||
|
||||
remote_receiver:
|
||||
- id: rcvr
|
||||
pin: ${remote_receiver_pin}
|
||||
dump: all
|
||||
tolerance: 25%
|
||||
clock_resolution: 2000000
|
||||
filter_symbols: 2
|
||||
receive_symbols: 4
|
||||
rmt_symbols: 64
|
@@ -0,0 +1,12 @@
|
||||
# Common remote_receiver configuration for ESP8266 Arduino tests
|
||||
# Provides a shared remote receiver that all components can use
|
||||
# Components will auto-use this receiver if they don't specify receiver_id
|
||||
|
||||
substitutions:
|
||||
remote_receiver_pin: GPIO5
|
||||
|
||||
remote_receiver:
|
||||
id: rcvr
|
||||
pin: ${remote_receiver_pin}
|
||||
dump: all
|
||||
tolerance: 25%
|
@@ -0,0 +1,11 @@
|
||||
# Common remote_transmitter configuration for BK72XX Arduino tests
|
||||
# Provides a shared remote transmitter that all components can use
|
||||
# Components will auto-use this transmitter if they don't specify transmitter_id
|
||||
|
||||
substitutions:
|
||||
remote_transmitter_pin: GPIO6
|
||||
|
||||
remote_transmitter:
|
||||
id: xmitr
|
||||
pin: ${remote_transmitter_pin}
|
||||
carrier_duty_percent: 50%
|
@@ -0,0 +1,11 @@
|
||||
# Common remote_transmitter configuration for ESP32 Arduino tests
|
||||
# Provides a shared remote transmitter that all components can use
|
||||
# Components will auto-use this transmitter if they don't specify transmitter_id
|
||||
|
||||
substitutions:
|
||||
remote_transmitter_pin: GPIO2
|
||||
|
||||
remote_transmitter:
|
||||
id: xmitr
|
||||
pin: ${remote_transmitter_pin}
|
||||
carrier_duty_percent: 50%
|
@@ -0,0 +1,13 @@
|
||||
# Common remote_transmitter configuration for ESP32-C3 IDF tests
|
||||
# Provides a shared remote transmitter that all components can use
|
||||
# Components will auto-use this transmitter if they don't specify transmitter_id
|
||||
|
||||
substitutions:
|
||||
remote_transmitter_pin: GPIO2
|
||||
|
||||
remote_transmitter:
|
||||
- id: xmitr
|
||||
pin: ${remote_transmitter_pin}
|
||||
carrier_duty_percent: 50%
|
||||
clock_resolution: 2000000
|
||||
rmt_symbols: 64
|
@@ -0,0 +1,13 @@
|
||||
# Common remote_transmitter configuration for ESP32 IDF tests
|
||||
# Provides a shared remote transmitter that all components can use
|
||||
# Components will auto-use this transmitter if they don't specify transmitter_id
|
||||
|
||||
substitutions:
|
||||
remote_transmitter_pin: GPIO2
|
||||
|
||||
remote_transmitter:
|
||||
- id: xmitr
|
||||
pin: ${remote_transmitter_pin}
|
||||
carrier_duty_percent: 50%
|
||||
clock_resolution: 2000000
|
||||
rmt_symbols: 64
|
@@ -0,0 +1,11 @@
|
||||
# Common remote_transmitter configuration for ESP8266 Arduino tests
|
||||
# Provides a shared remote transmitter that all components can use
|
||||
# Components will auto-use this transmitter if they don't specify transmitter_id
|
||||
|
||||
substitutions:
|
||||
remote_transmitter_pin: GPIO2
|
||||
|
||||
remote_transmitter:
|
||||
id: xmitr
|
||||
pin: ${remote_transmitter_pin}
|
||||
carrier_duty_percent: 50%
|
Reference in New Issue
Block a user