[CI] Consolidate some tests (Q, R) (#8205)

This commit is contained in:
Keith Burzinski
2025-02-04 20:37:22 -06:00
committed by GitHub
parent cecce0f3cb
commit bf6874b52e
109 changed files with 795 additions and 1719 deletions
+21
View File
@@ -0,0 +1,21 @@
i2c:
- id: i2c_qmc5883l
scl: ${scl_pin}
sda: ${sda_pin}
sensor:
- platform: qmc5883l
address: 0x0D
field_strength_x:
name: QMC5883L Field Strength X
field_strength_y:
name: QMC5883L Field Strength Y
field_strength_z:
name: QMC5883L Field Strength Z
heading:
name: QMC5883L Heading
temperature:
name: QMC5883L Temperature
range: 800uT
oversampling: 256x
update_interval: 15s
+4 -20
View File
@@ -1,21 +1,5 @@
i2c: substitutions:
- id: i2c_qmc5883l scl_pin: GPIO16
scl: 16 sda_pin: GPIO17
sda: 17
sensor: <<: !include common.yaml
- platform: qmc5883l
address: 0x0D
field_strength_x:
name: QMC5883L Field Strength X
field_strength_y:
name: QMC5883L Field Strength Y
field_strength_z:
name: QMC5883L Field Strength Z
heading:
name: QMC5883L Heading
temperature:
name: QMC5883L Temperature
range: 800uT
oversampling: 256x
update_interval: 15s
@@ -1,21 +1,5 @@
i2c: substitutions:
- id: i2c_qmc5883l scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
sensor: <<: !include common.yaml
- platform: qmc5883l
address: 0x0D
field_strength_x:
name: QMC5883L Field Strength X
field_strength_y:
name: QMC5883L Field Strength Y
field_strength_z:
name: QMC5883L Field Strength Z
heading:
name: QMC5883L Heading
temperature:
name: QMC5883L Temperature
range: 800uT
oversampling: 256x
update_interval: 15s
@@ -1,21 +1,5 @@
i2c: substitutions:
- id: i2c_qmc5883l scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
sensor: <<: !include common.yaml
- platform: qmc5883l
address: 0x0D
field_strength_x:
name: QMC5883L Field Strength X
field_strength_y:
name: QMC5883L Field Strength Y
field_strength_z:
name: QMC5883L Field Strength Z
heading:
name: QMC5883L Heading
temperature:
name: QMC5883L Temperature
range: 800uT
oversampling: 256x
update_interval: 15s
+4 -20
View File
@@ -1,21 +1,5 @@
i2c: substitutions:
- id: i2c_qmc5883l scl_pin: GPIO16
scl: 16 sda_pin: GPIO17
sda: 17
sensor: <<: !include common.yaml
- platform: qmc5883l
address: 0x0D
field_strength_x:
name: QMC5883L Field Strength X
field_strength_y:
name: QMC5883L Field Strength Y
field_strength_z:
name: QMC5883L Field Strength Z
heading:
name: QMC5883L Heading
temperature:
name: QMC5883L Temperature
range: 800uT
oversampling: 256x
update_interval: 15s
@@ -1,21 +1,5 @@
i2c: substitutions:
- id: i2c_qmc5883l scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
sensor: <<: !include common.yaml
- platform: qmc5883l
address: 0x0D
field_strength_x:
name: QMC5883L Field Strength X
field_strength_y:
name: QMC5883L Field Strength Y
field_strength_z:
name: QMC5883L Field Strength Z
heading:
name: QMC5883L Heading
temperature:
name: QMC5883L Temperature
range: 800uT
oversampling: 256x
update_interval: 15s
+4 -20
View File
@@ -1,21 +1,5 @@
i2c: substitutions:
- id: i2c_qmc5883l scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
sensor: <<: !include common.yaml
- platform: qmc5883l
address: 0x0D
field_strength_x:
name: QMC5883L Field Strength X
field_strength_y:
name: QMC5883L Field Strength Y
field_strength_z:
name: QMC5883L Field Strength Z
heading:
name: QMC5883L Heading
temperature:
name: QMC5883L Temperature
range: 800uT
oversampling: 256x
update_interval: 15s
+16
View File
@@ -0,0 +1,16 @@
i2c:
- id: i2c_qmp6988
scl: ${scl_pin}
sda: ${sda_pin}
sensor:
- platform: qmp6988
temperature:
name: QMP6988 Temperature
oversampling: 32x
pressure:
name: QMP6988 Pressure
oversampling: 2x
address: 0x70
update_interval: 30s
iir_filter: 16x
+4 -15
View File
@@ -1,16 +1,5 @@
i2c: substitutions:
- id: i2c_qmp6988 scl_pin: GPIO16
scl: 16 sda_pin: GPIO17
sda: 17
sensor: <<: !include common.yaml
- platform: qmp6988
temperature:
name: QMP6988 Temperature
oversampling: 32x
pressure:
name: QMP6988 Pressure
oversampling: 2x
address: 0x70
update_interval: 30s
iir_filter: 16x
@@ -1,16 +1,5 @@
i2c: substitutions:
- id: i2c_qmp6988 scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
sensor: <<: !include common.yaml
- platform: qmp6988
temperature:
name: QMP6988 Temperature
oversampling: 32x
pressure:
name: QMP6988 Pressure
oversampling: 2x
address: 0x70
update_interval: 30s
iir_filter: 16x
@@ -1,16 +1,5 @@
i2c: substitutions:
- id: i2c_qmp6988 scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
sensor: <<: !include common.yaml
- platform: qmp6988
temperature:
name: QMP6988 Temperature
oversampling: 32x
pressure:
name: QMP6988 Pressure
oversampling: 2x
address: 0x70
update_interval: 30s
iir_filter: 16x
+4 -15
View File
@@ -1,16 +1,5 @@
i2c: substitutions:
- id: i2c_qmp6988 scl_pin: GPIO16
scl: 16 sda_pin: GPIO17
sda: 17
sensor: <<: !include common.yaml
- platform: qmp6988
temperature:
name: QMP6988 Temperature
oversampling: 32x
pressure:
name: QMP6988 Pressure
oversampling: 2x
address: 0x70
update_interval: 30s
iir_filter: 16x
+4 -15
View File
@@ -1,16 +1,5 @@
i2c: substitutions:
- id: i2c_qmp6988 scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
sensor: <<: !include common.yaml
- platform: qmp6988
temperature:
name: QMP6988 Temperature
oversampling: 32x
pressure:
name: QMP6988 Pressure
oversampling: 2x
address: 0x70
update_interval: 30s
iir_filter: 16x
+4 -15
View File
@@ -1,16 +1,5 @@
i2c: substitutions:
- id: i2c_qmp6988 scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
sensor: <<: !include common.yaml
- platform: qmp6988
temperature:
name: QMP6988 Temperature
oversampling: 32x
pressure:
name: QMP6988 Pressure
oversampling: 2x
address: 0x70
update_interval: 30s
iir_filter: 16x
+24
View File
@@ -0,0 +1,24 @@
spi:
- id: spi_main_lcd
clk_pin: ${clk_pin}
mosi_pin: ${mosi_pin}
display:
- platform: ili9xxx
id: main_lcd
model: ili9342
cs_pin: ${cs_pin}
dc_pin: ${dc_pin}
reset_pin: ${reset_pin}
invert_colors: false
lambda: |-
// Draw a QR code in the center of the screen
auto scale = 2;
auto size = id(homepage_qr).get_size() * scale;
auto x = (it.get_width() / 2) - (size / 2);
auto y = (it.get_height() / 2) - (size / 2);
it.qr_code(x, y, id(homepage_qr), Color(255,255,255), scale);
qr_code:
- id: homepage_qr
value: https://esphome.io/index.html
+7 -24
View File
@@ -1,25 +1,8 @@
spi: substitutions:
- id: spi_main_lcd clk_pin: GPIO16
clk_pin: 16 mosi_pin: GPIO17
mosi_pin: 17 cs_pin: GPIO12
miso_pin: 15 dc_pin: GPIO13
reset_pin: GPIO14
display: <<: !include common.yaml
- platform: ili9xxx
id: main_lcd
model: ili9342
cs_pin: 12
dc_pin: 13
reset_pin: 21
invert_colors: false
lambda: |-
// Draw a QR code in the center of the screen
auto scale = 2;
auto size = id(homepage_qr).get_size() * scale;
auto x = (it.get_width() / 2) - (size / 2);
auto y = (it.get_height() / 2) - (size / 2);
it.qr_code(x, y, id(homepage_qr), Color(255,255,255), scale);
qr_code:
- id: homepage_qr
value: https://esphome.io/index.html
@@ -1,25 +1,9 @@
spi: substitutions:
- id: spi_main_lcd clk_pin: GPIO6
clk_pin: 6 mosi_pin: GPIO7
mosi_pin: 7 miso_pin: GPIO5
miso_pin: 5 cs_pin: GPIO8
dc_pin: GPIO9
reset_pin: GPIO10
display: <<: !include common.yaml
- platform: ili9xxx
id: main_lcd
model: ili9342
cs_pin: 8
dc_pin: 9
reset_pin: 10
invert_colors: false
lambda: |-
// Draw a QR code in the center of the screen
auto scale = 2;
auto size = id(homepage_qr).get_size() * scale;
auto x = (it.get_width() / 2) - (size / 2);
auto y = (it.get_height() / 2) - (size / 2);
it.qr_code(x, y, id(homepage_qr), Color(255,255,255), scale);
qr_code:
- id: homepage_qr
value: https://esphome.io/index.html
@@ -1,25 +1,9 @@
spi: substitutions:
- id: spi_main_lcd clk_pin: GPIO6
clk_pin: 6 mosi_pin: GPIO7
mosi_pin: 7 miso_pin: GPIO5
miso_pin: 5 cs_pin: GPIO8
dc_pin: GPIO9
reset_pin: GPIO10
display: <<: !include common.yaml
- platform: ili9xxx
id: main_lcd
model: ili9342
cs_pin: 8
dc_pin: 9
reset_pin: 10
invert_colors: false
lambda: |-
// Draw a QR code in the center of the screen
auto scale = 2;
auto size = id(homepage_qr).get_size() * scale;
auto x = (it.get_width() / 2) - (size / 2);
auto y = (it.get_height() / 2) - (size / 2);
it.qr_code(x, y, id(homepage_qr), Color(255,255,255), scale);
qr_code:
- id: homepage_qr
value: https://esphome.io/index.html
+7 -24
View File
@@ -1,25 +1,8 @@
spi: substitutions:
- id: spi_main_lcd clk_pin: GPIO16
clk_pin: 16 mosi_pin: GPIO17
mosi_pin: 17 cs_pin: GPIO12
miso_pin: 15 dc_pin: GPIO13
reset_pin: GPIO14
display: <<: !include common.yaml
- platform: ili9xxx
id: main_lcd
model: ili9342
cs_pin: 12
dc_pin: 13
reset_pin: 21
invert_colors: false
lambda: |-
// Draw a QR code in the center of the screen
auto scale = 2;
auto size = id(homepage_qr).get_size() * scale;
auto x = (it.get_width() / 2) - (size / 2);
auto y = (it.get_height() / 2) - (size / 2);
it.qr_code(x, y, id(homepage_qr), Color(255,255,255), scale);
qr_code:
- id: homepage_qr
value: https://esphome.io/index.html
+8 -24
View File
@@ -1,25 +1,9 @@
spi: substitutions:
- id: spi_main_lcd clk_pin: GPIO14
clk_pin: 14 mosi_pin: GPIO13
mosi_pin: 13 miso_pin: GPIO12
miso_pin: 12 cs_pin: GPIO5
dc_pin: GPIO15
reset_pin: GPIO16
display: <<: !include common.yaml
- platform: ili9xxx
id: main_lcd
model: ili9342
cs_pin: 5
dc_pin: 15
reset_pin: 16
invert_colors: false
lambda: |-
// Draw a QR code in the center of the screen
auto scale = 2;
auto size = id(homepage_qr).get_size() * scale;
auto x = (it.get_width() / 2) - (size / 2);
auto y = (it.get_height() / 2) - (size / 2);
it.qr_code(x, y, id(homepage_qr), Color(255,255,255), scale);
qr_code:
- id: homepage_qr
value: https://esphome.io/index.html
+8 -24
View File
@@ -1,25 +1,9 @@
spi: substitutions:
- id: spi_main_lcd clk_pin: GPIO2
clk_pin: 2 mosi_pin: GPIO3
mosi_pin: 3 miso_pin: GPIO4
miso_pin: 4 cs_pin: GPIO5
dc_pin: GPIO15
reset_pin: GPIO16
display: <<: !include common.yaml
- platform: ili9xxx
id: main_lcd
model: ili9342
cs_pin: 20
dc_pin: 21
reset_pin: 22
invert_colors: false
lambda: |-
// Draw a QR code in the center of the screen
auto scale = 2;
auto size = id(homepage_qr).get_size() * scale;
auto x = (it.get_width() / 2) - (size / 2);
auto y = (it.get_height() / 2) - (size / 2);
it.qr_code(x, y, id(homepage_qr), Color(255,255,255), scale);
qr_code:
- id: homepage_qr
value: https://esphome.io/index.html
+8
View File
@@ -0,0 +1,8 @@
i2c:
- id: i2c_qwiic_pir
scl: ${scl_pin}
sda: ${sda_pin}
binary_sensor:
- platform: qwiic_pir
name: Qwiic PIR Motion Sensor
@@ -1,8 +1,5 @@
i2c: substitutions:
- id: i2c_qwiic_pir scl_pin: GPIO16
scl: 16 sda_pin: GPIO17
sda: 17
binary_sensor: <<: !include common.yaml
- platform: qwiic_pir
name: Qwiic PIR Motion Sensor
@@ -1,8 +1,5 @@
i2c: substitutions:
- id: i2c_qwiic_pir scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
binary_sensor: <<: !include common.yaml
- platform: qwiic_pir
name: Qwiic PIR Motion Sensor
@@ -1,8 +1,5 @@
i2c: substitutions:
- id: i2c_qwiic_pir scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
binary_sensor: <<: !include common.yaml
- platform: qwiic_pir
name: Qwiic PIR Motion Sensor
@@ -1,8 +1,5 @@
i2c: substitutions:
- id: i2c_qwiic_pir scl_pin: GPIO16
scl: 16 sda_pin: GPIO17
sda: 17
binary_sensor: <<: !include common.yaml
- platform: qwiic_pir
name: Qwiic PIR Motion Sensor
@@ -1,8 +1,5 @@
i2c: substitutions:
- id: i2c_qwiic_pir scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
binary_sensor: <<: !include common.yaml
- platform: qwiic_pir
name: Qwiic PIR Motion Sensor
@@ -1,8 +1,5 @@
i2c: substitutions:
- id: i2c_qwiic_pir scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
binary_sensor: <<: !include common.yaml
- platform: qwiic_pir
name: Qwiic PIR Motion Sensor
+17
View File
@@ -0,0 +1,17 @@
i2c:
- id: i2c_rc522
scl: ${scl_pin}
sda: ${sda_pin}
rc522_i2c:
- id: rc522_nfcc
update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: RC522 NFC Tag
uid: 74-10-37-94
+4 -16
View File
@@ -1,17 +1,5 @@
i2c: substitutions:
- id: i2c_rc522 scl_pin: GPIO16
scl: 16 sda_pin: GPIO17
sda: 17
rc522_i2c: <<: !include common.yaml
- id: rc522_nfcc
update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: RC522 NFC Tag
uid: 74-10-37-94
@@ -1,17 +1,5 @@
i2c: substitutions:
- id: i2c_rc522 scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
rc522_i2c: <<: !include common.yaml
- id: rc522_nfcc
update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: RC522 NFC Tag
uid: 74-10-37-94
@@ -1,17 +1,5 @@
i2c: substitutions:
- id: i2c_rc522 scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
rc522_i2c: <<: !include common.yaml
- id: rc522_nfcc
update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: RC522 NFC Tag
uid: 74-10-37-94
+4 -16
View File
@@ -1,17 +1,5 @@
i2c: substitutions:
- id: i2c_rc522 scl_pin: GPIO16
scl: 16 sda_pin: GPIO17
sda: 17
rc522_i2c: <<: !include common.yaml
- id: rc522_nfcc
update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: RC522 NFC Tag
uid: 74-10-37-94
@@ -1,17 +1,5 @@
i2c: substitutions:
- id: i2c_rc522 scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
rc522_i2c: <<: !include common.yaml
- id: rc522_nfcc
update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: RC522 NFC Tag
uid: 74-10-37-94
@@ -1,17 +1,5 @@
i2c: substitutions:
- id: i2c_rc522 scl_pin: GPIO5
scl: 5 sda_pin: GPIO4
sda: 4
rc522_i2c: <<: !include common.yaml
- id: rc522_nfcc
update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: RC522 NFC Tag
uid: 74-10-37-94
+15
View File
@@ -0,0 +1,15 @@
spi:
- id: spi_rc522
clk_pin: ${clk_pin}
mosi_pin: ${mosi_pin}
miso_pin: ${miso_pin}
rc522_spi:
id: rc522_nfcc
cs_pin: ${cs_pin}
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: PN532 NFC Tag
uid: 74-10-37-94
+6 -14
View File
@@ -1,15 +1,7 @@
spi: substitutions:
- id: spi_rc522 clk_pin: GPIO16
clk_pin: 16 mosi_pin: GPIO17
mosi_pin: 17 miso_pin: GPIO15
miso_pin: 15 cs_pin: GPIO5
rc522_spi: <<: !include common.yaml
id: rc522_nfcc
cs_pin: 12
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: PN532 NFC Tag
uid: 74-10-37-94
@@ -1,15 +1,7 @@
spi: substitutions:
- id: spi_rc522 clk_pin: GPIO6
clk_pin: 6 mosi_pin: GPIO7
mosi_pin: 7 miso_pin: GPIO5
miso_pin: 5 cs_pin: GPIO8
rc522_spi: <<: !include common.yaml
id: rc522_nfcc
cs_pin: 4
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: PN532 NFC Tag
uid: 74-10-37-94
@@ -1,15 +1,7 @@
spi: substitutions:
- id: spi_rc522 clk_pin: GPIO6
clk_pin: 6 mosi_pin: GPIO7
mosi_pin: 7 miso_pin: GPIO5
miso_pin: 5 cs_pin: GPIO8
rc522_spi: <<: !include common.yaml
id: rc522_nfcc
cs_pin: 4
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: PN532 NFC Tag
uid: 74-10-37-94
+6 -14
View File
@@ -1,15 +1,7 @@
spi: substitutions:
- id: spi_rc522 clk_pin: GPIO16
clk_pin: 16 mosi_pin: GPIO17
mosi_pin: 17 miso_pin: GPIO15
miso_pin: 15 cs_pin: GPIO5
rc522_spi: <<: !include common.yaml
id: rc522_nfcc
cs_pin: 12
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: PN532 NFC Tag
uid: 74-10-37-94
@@ -1,15 +1,7 @@
spi: substitutions:
- id: spi_rc522 clk_pin: GPIO14
clk_pin: 14 mosi_pin: GPIO13
mosi_pin: 13 miso_pin: GPIO12
miso_pin: 12 cs_pin: GPIO15
rc522_spi: <<: !include common.yaml
id: rc522_nfcc
cs_pin: 15
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: PN532 NFC Tag
uid: 74-10-37-94
@@ -1,15 +1,7 @@
spi: substitutions:
- id: spi_rc522 clk_pin: GPIO2
clk_pin: 2 mosi_pin: GPIO3
mosi_pin: 3 miso_pin: GPIO4
miso_pin: 4 cs_pin: GPIO5
rc522_spi: <<: !include common.yaml
id: rc522_nfcc
cs_pin: 6
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: PN532 NFC Tag
uid: 74-10-37-94
+12
View File
@@ -0,0 +1,12 @@
uart:
- id: uart_rdm6300
tx_pin: ${tx_pin}
rx_pin: ${rx_pin}
baud_rate: 115200
rdm6300:
binary_sensor:
- platform: rdm6300
uid: 7616525
name: RDM6300 NFC Tag
+4 -11
View File
@@ -1,12 +1,5 @@
uart: substitutions:
- id: uart_rdm6300 tx_pin: GPIO17
tx_pin: 17 rx_pin: GPIO16
rx_pin: 16
baud_rate: 115200
rdm6300: <<: !include common.yaml
binary_sensor:
- platform: rdm6300
uid: 7616525
name: RDM6300 NFC Tag
@@ -1,12 +1,5 @@
uart: substitutions:
- id: uart_rdm6300 tx_pin: GPIO4
tx_pin: 4 rx_pin: GPIO5
rx_pin: 5
baud_rate: 115200
rdm6300: <<: !include common.yaml
binary_sensor:
- platform: rdm6300
uid: 7616525
name: RDM6300 NFC Tag
@@ -1,12 +1,5 @@
uart: substitutions:
- id: uart_rdm6300 tx_pin: GPIO4
tx_pin: 4 rx_pin: GPIO5
rx_pin: 5
baud_rate: 115200
rdm6300: <<: !include common.yaml
binary_sensor:
- platform: rdm6300
uid: 7616525
name: RDM6300 NFC Tag
+4 -11
View File
@@ -1,12 +1,5 @@
uart: substitutions:
- id: uart_rdm6300 tx_pin: GPIO17
tx_pin: 17 rx_pin: GPIO16
rx_pin: 16
baud_rate: 115200
rdm6300: <<: !include common.yaml
binary_sensor:
- platform: rdm6300
uid: 7616525
name: RDM6300 NFC Tag
+4 -11
View File
@@ -1,12 +1,5 @@
uart: substitutions:
- id: uart_rdm6300 tx_pin: GPIO4
tx_pin: 4 rx_pin: GPIO5
rx_pin: 5
baud_rate: 115200
rdm6300: <<: !include common.yaml
binary_sensor:
- platform: rdm6300
uid: 7616525
name: RDM6300 NFC Tag
+4 -11
View File
@@ -1,12 +1,5 @@
uart: substitutions:
- id: uart_rdm6300 tx_pin: GPIO4
tx_pin: 4 rx_pin: GPIO5
rx_pin: 5
baud_rate: 115200
rdm6300: <<: !include common.yaml
binary_sensor:
- platform: rdm6300
uid: 7616525
name: RDM6300 NFC Tag
+11
View File
@@ -0,0 +1,11 @@
sensor:
- platform: adc
id: my_sensor
pin: ${pin}
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist

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