From f7c0ef125d3c03349ec3044c2aaf2667e005dd14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Poczkodi?= Date: Wed, 28 Feb 2024 15:05:31 +0100 Subject: [PATCH] pr fix, allow_other_uses: true --- tests/components/cc1101/test.esp32-c3-idf.yaml | 12 +++++++++--- tests/components/cc1101/test.esp32-c3.yaml | 10 +++++++--- tests/components/cc1101/test.esp32-idf.yaml | 8 ++++++-- tests/components/cc1101/test.esp32-s2-idf.yaml | 8 ++++++-- tests/components/cc1101/test.esp32-s2.yaml | 8 ++++++-- tests/components/cc1101/test.esp32.yaml | 8 ++++++-- tests/components/cc1101/test.esp8266.yaml | 12 ++++++++---- 7 files changed, 48 insertions(+), 18 deletions(-) diff --git a/tests/components/cc1101/test.esp32-c3-idf.yaml b/tests/components/cc1101/test.esp32-c3-idf.yaml index 06cbb6285c..1301711b44 100644 --- a/tests/components/cc1101/test.esp32-c3-idf.yaml +++ b/tests/components/cc1101/test.esp32-c3-idf.yaml @@ -21,15 +21,21 @@ sensor: # dummy transmitter will push rx to the third place remote_transmitter: - - pin: GPIO21 # TX pin + - pin: + number: GPIO21 # TX pin + allow_other_uses: true carrier_duty_percent: 100% id: dummytx - - pin: GPIO3 # GDO0 + - pin: + number: GPIO3 # GDO0 + allow_other_uses: true carrier_duty_percent: 100% id: realtx remote_receiver: - pin: GPIO4 # GDO0 + pin: + number: GPIO4 # GDO0 + allow_other_uses: true dump: - rc_switch # Settings to optimize recognition of RF devices diff --git a/tests/components/cc1101/test.esp32-c3.yaml b/tests/components/cc1101/test.esp32-c3.yaml index 06cbb6285c..448b82542a 100644 --- a/tests/components/cc1101/test.esp32-c3.yaml +++ b/tests/components/cc1101/test.esp32-c3.yaml @@ -21,15 +21,19 @@ sensor: # dummy transmitter will push rx to the third place remote_transmitter: - - pin: GPIO21 # TX pin + - pin: + number: GPIO21 # TX pin + allow_other_uses: true carrier_duty_percent: 100% id: dummytx - - pin: GPIO3 # GDO0 + - pin: + number: GPIO3 # GDO0 + allow_other_uses: true carrier_duty_percent: 100% id: realtx remote_receiver: - pin: GPIO4 # GDO0 + pin: GPIO4 # GDO0 dump: - rc_switch # Settings to optimize recognition of RF devices diff --git a/tests/components/cc1101/test.esp32-idf.yaml b/tests/components/cc1101/test.esp32-idf.yaml index 960ee1dc41..4eebe786b8 100644 --- a/tests/components/cc1101/test.esp32-idf.yaml +++ b/tests/components/cc1101/test.esp32-idf.yaml @@ -17,11 +17,15 @@ sensor: name: LQI remote_transmitter: - - pin: GPIO32 # GDO0 + - pin: + number: GPIO32 # GDO0 + allow_other_uses: true carrier_duty_percent: 100% remote_receiver: - pin: GPIO33 # GDO0 + pin: + number: GPIO33 # GDO0 + allow_other_uses: true dump: - rc_switch # Settings to optimize recognition of RF devices diff --git a/tests/components/cc1101/test.esp32-s2-idf.yaml b/tests/components/cc1101/test.esp32-s2-idf.yaml index d67316b66f..99c4e1777c 100644 --- a/tests/components/cc1101/test.esp32-s2-idf.yaml +++ b/tests/components/cc1101/test.esp32-s2-idf.yaml @@ -17,11 +17,15 @@ sensor: name: LQI remote_transmitter: - - pin: GPIO8 # GDO0 + - pin: + number: GPIO8 # GDO0 + allow_other_uses: true carrier_duty_percent: 100% remote_receiver: - pin: GPIO9 # GDO0 + pin: + number: GPIO9 # GDO0 + allow_other_uses: true dump: - rc_switch # Settings to optimize recognition of RF devices diff --git a/tests/components/cc1101/test.esp32-s2.yaml b/tests/components/cc1101/test.esp32-s2.yaml index d67316b66f..99c4e1777c 100644 --- a/tests/components/cc1101/test.esp32-s2.yaml +++ b/tests/components/cc1101/test.esp32-s2.yaml @@ -17,11 +17,15 @@ sensor: name: LQI remote_transmitter: - - pin: GPIO8 # GDO0 + - pin: + number: GPIO8 # GDO0 + allow_other_uses: true carrier_duty_percent: 100% remote_receiver: - pin: GPIO9 # GDO0 + pin: + number: GPIO9 # GDO0 + allow_other_uses: true dump: - rc_switch # Settings to optimize recognition of RF devices diff --git a/tests/components/cc1101/test.esp32.yaml b/tests/components/cc1101/test.esp32.yaml index 960ee1dc41..4eebe786b8 100644 --- a/tests/components/cc1101/test.esp32.yaml +++ b/tests/components/cc1101/test.esp32.yaml @@ -17,11 +17,15 @@ sensor: name: LQI remote_transmitter: - - pin: GPIO32 # GDO0 + - pin: + number: GPIO32 # GDO0 + allow_other_uses: true carrier_duty_percent: 100% remote_receiver: - pin: GPIO33 # GDO0 + pin: + number: GPIO33 # GDO0 + allow_other_uses: true dump: - rc_switch # Settings to optimize recognition of RF devices diff --git a/tests/components/cc1101/test.esp8266.yaml b/tests/components/cc1101/test.esp8266.yaml index 8e81665715..66ff09b415 100644 --- a/tests/components/cc1101/test.esp8266.yaml +++ b/tests/components/cc1101/test.esp8266.yaml @@ -6,8 +6,8 @@ spi: sensor: - platform: cc1101 id: transceiver - cs_pin: D8 # GPIO15 - gdo0: D1 # GPIO5 + cs_pin: D8 # GPIO15 + gdo0: D1 # GPIO5 # gdo2: not used with ESP8266 bandwidth: 200 frequency: 433920 @@ -17,11 +17,15 @@ sensor: name: LQI remote_transmitter: - - pin: D1 # GDO0 + - pin: + number: D1 # GDO0 + allow_other_uses: true carrier_duty_percent: 100% remote_receiver: - pin: D1 # GDO0 + pin: + number: D1 # GDO0 + allow_other_uses: true dump: - rc_switch # Settings to optimize recognition of RF devices