diff --git a/esphome/components/cc1101/sensor.py b/esphome/components/cc1101/sensor.py index 565ea4b75d..f42708c366 100644 --- a/esphome/components/cc1101/sensor.py +++ b/esphome/components/cc1101/sensor.py @@ -13,8 +13,6 @@ from esphome.const import ( STATE_CLASS_MEASUREMENT, ) -CODEOWNERS = ["@gabest11", "@dbuezas", "@nistvan86", "@LSatan"] - DEPENDENCIES = ["spi"] CONF_GDO0 = "gdo0" diff --git a/tests/components/cc1101/test.esp32-c3-idf.yaml b/tests/components/cc1101/test.esp32-c3-idf.yaml index 1301711b44..61a340dc5c 100644 --- a/tests/components/cc1101/test.esp32-c3-idf.yaml +++ b/tests/components/cc1101/test.esp32-c3-idf.yaml @@ -7,8 +7,12 @@ sensor: - platform: cc1101 id: transceiver cs_pin: GPIO10 - gdo0: GPIO3 - gdo2: GPIO4 + gdo0: + number: GPIO3 + allow_other_uses: true + gdo2: + number: GPIO4 + allow_other_uses: true bandwidth: 200 frequency: 433920 rssi: @@ -21,9 +25,7 @@ sensor: # dummy transmitter will push rx to the third place remote_transmitter: - - pin: - number: GPIO21 # TX pin - allow_other_uses: true + - pin: GPIO21 # TX pin carrier_duty_percent: 100% id: dummytx - pin: diff --git a/tests/components/cc1101/test.esp32-c3.yaml b/tests/components/cc1101/test.esp32-c3.yaml index 448b82542a..672e1e605a 100644 --- a/tests/components/cc1101/test.esp32-c3.yaml +++ b/tests/components/cc1101/test.esp32-c3.yaml @@ -7,8 +7,12 @@ sensor: - platform: cc1101 id: transceiver cs_pin: GPIO10 - gdo0: GPIO3 - gdo2: GPIO4 + gdo0: + number: GPIO3 + allow_other_uses: true + gdo2: + number: GPIO4 + allow_other_uses: true bandwidth: 200 frequency: 433920 rssi: @@ -21,9 +25,7 @@ sensor: # dummy transmitter will push rx to the third place remote_transmitter: - - pin: - number: GPIO21 # TX pin - allow_other_uses: true + - pin: GPIO21 # TX pin carrier_duty_percent: 100% id: dummytx - pin: diff --git a/tests/components/cc1101/test.esp32-idf.yaml b/tests/components/cc1101/test.esp32-idf.yaml index 4eebe786b8..537eb4dd4e 100644 --- a/tests/components/cc1101/test.esp32-idf.yaml +++ b/tests/components/cc1101/test.esp32-idf.yaml @@ -7,8 +7,12 @@ sensor: - platform: cc1101 id: transceiver cs_pin: GPIO5 - gdo0: GPIO32 - gdo2: GPIO33 + gdo0: + number: GPIO32 + allow_other_uses: true + gdo2: + number: GPIO33 + allow_other_uses: true bandwidth: 200 frequency: 433920 rssi: diff --git a/tests/components/cc1101/test.esp32-s2-idf.yaml b/tests/components/cc1101/test.esp32-s2-idf.yaml index 99c4e1777c..db38d24143 100644 --- a/tests/components/cc1101/test.esp32-s2-idf.yaml +++ b/tests/components/cc1101/test.esp32-s2-idf.yaml @@ -7,8 +7,12 @@ sensor: - platform: cc1101 id: transceiver cs_pin: GPIO34 - gdo0: GPIO8 - gdo2: GPIO9 + gdo0: + number: GPIO8 + allow_other_uses: true + gdo2: + number: GPIO9 + allow_other_uses: true bandwidth: 200 frequency: 433920 rssi: diff --git a/tests/components/cc1101/test.esp32-s2.yaml b/tests/components/cc1101/test.esp32-s2.yaml index 99c4e1777c..db38d24143 100644 --- a/tests/components/cc1101/test.esp32-s2.yaml +++ b/tests/components/cc1101/test.esp32-s2.yaml @@ -7,8 +7,12 @@ sensor: - platform: cc1101 id: transceiver cs_pin: GPIO34 - gdo0: GPIO8 - gdo2: GPIO9 + gdo0: + number: GPIO8 + allow_other_uses: true + gdo2: + number: GPIO9 + allow_other_uses: true bandwidth: 200 frequency: 433920 rssi: diff --git a/tests/components/cc1101/test.esp32.yaml b/tests/components/cc1101/test.esp32.yaml index 4eebe786b8..537eb4dd4e 100644 --- a/tests/components/cc1101/test.esp32.yaml +++ b/tests/components/cc1101/test.esp32.yaml @@ -7,8 +7,12 @@ sensor: - platform: cc1101 id: transceiver cs_pin: GPIO5 - gdo0: GPIO32 - gdo2: GPIO33 + gdo0: + number: GPIO32 + allow_other_uses: true + gdo2: + number: GPIO33 + allow_other_uses: true bandwidth: 200 frequency: 433920 rssi: diff --git a/tests/components/cc1101/test.esp8266.yaml b/tests/components/cc1101/test.esp8266.yaml index 66ff09b415..3a387f9d78 100644 --- a/tests/components/cc1101/test.esp8266.yaml +++ b/tests/components/cc1101/test.esp8266.yaml @@ -7,7 +7,9 @@ sensor: - platform: cc1101 id: transceiver cs_pin: D8 # GPIO15 - gdo0: D1 # GPIO5 + gdo0: + number: D1 # GPIO5 + allow_other_uses: true # gdo2: not used with ESP8266 bandwidth: 200 frequency: 433920