mirror of
https://github.com/m5stack/esphome.git
synced 2026-05-20 11:52:52 -07:00
Add some components to the new testing framework (R) (#6219)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
co-authored by
Jesse Hills
parent
eb89d99999
commit
7e5b100b77
@@ -0,0 +1,3 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
radon_eye_ble:
|
||||
@@ -0,0 +1,3 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
radon_eye_ble:
|
||||
@@ -0,0 +1,3 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
radon_eye_ble:
|
||||
@@ -0,0 +1,3 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
radon_eye_ble:
|
||||
@@ -0,0 +1,14 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: radon_eye_blec
|
||||
|
||||
sensor:
|
||||
- platform: radon_eye_rd200
|
||||
ble_client_id: radon_eye_blec
|
||||
radon:
|
||||
name: RD200 Radon
|
||||
radon_long_term:
|
||||
name: RD200 Radon Long Term
|
||||
update_interval: 10min
|
||||
@@ -0,0 +1,14 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: radon_eye_blec
|
||||
|
||||
sensor:
|
||||
- platform: radon_eye_rd200
|
||||
ble_client_id: radon_eye_blec
|
||||
radon:
|
||||
name: RD200 Radon
|
||||
radon_long_term:
|
||||
name: RD200 Radon Long Term
|
||||
update_interval: 10min
|
||||
@@ -0,0 +1,14 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: radon_eye_blec
|
||||
|
||||
sensor:
|
||||
- platform: radon_eye_rd200
|
||||
ble_client_id: radon_eye_blec
|
||||
radon:
|
||||
name: RD200 Radon
|
||||
radon_long_term:
|
||||
name: RD200 Radon Long Term
|
||||
update_interval: 10min
|
||||
@@ -0,0 +1,14 @@
|
||||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: radon_eye_blec
|
||||
|
||||
sensor:
|
||||
- platform: radon_eye_rd200
|
||||
ble_client_id: radon_eye_blec
|
||||
radon:
|
||||
name: RD200 Radon
|
||||
radon_long_term:
|
||||
name: RD200 Radon Long Term
|
||||
update_interval: 10min
|
||||
@@ -0,0 +1,17 @@
|
||||
i2c:
|
||||
- id: i2c_rc522
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
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
|
||||
@@ -0,0 +1,17 @@
|
||||
i2c:
|
||||
- id: i2c_rc522
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
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
|
||||
@@ -0,0 +1,17 @@
|
||||
i2c:
|
||||
- id: i2c_rc522
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
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
|
||||
@@ -0,0 +1,17 @@
|
||||
i2c:
|
||||
- id: i2c_rc522
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
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
|
||||
@@ -0,0 +1,17 @@
|
||||
i2c:
|
||||
- id: i2c_rc522
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
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
|
||||
@@ -0,0 +1,17 @@
|
||||
i2c:
|
||||
- id: i2c_rc522
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
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
|
||||
@@ -0,0 +1,15 @@
|
||||
spi:
|
||||
- id: spi_rc522
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
rc522_spi:
|
||||
id: rc522_nfcc
|
||||
cs_pin: 4
|
||||
|
||||
binary_sensor:
|
||||
- platform: rc522
|
||||
rc522_id: rc522_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
||||
@@ -0,0 +1,15 @@
|
||||
spi:
|
||||
- id: spi_rc522
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
rc522_spi:
|
||||
id: rc522_nfcc
|
||||
cs_pin: 4
|
||||
|
||||
binary_sensor:
|
||||
- platform: rc522
|
||||
rc522_id: rc522_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
||||
@@ -0,0 +1,15 @@
|
||||
spi:
|
||||
- id: spi_rc522
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
rc522_spi:
|
||||
id: rc522_nfcc
|
||||
cs_pin: 12
|
||||
|
||||
binary_sensor:
|
||||
- platform: rc522
|
||||
rc522_id: rc522_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
||||
@@ -0,0 +1,15 @@
|
||||
spi:
|
||||
- id: spi_rc522
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
rc522_spi:
|
||||
id: rc522_nfcc
|
||||
cs_pin: 12
|
||||
|
||||
binary_sensor:
|
||||
- platform: rc522
|
||||
rc522_id: rc522_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
||||
@@ -0,0 +1,15 @@
|
||||
spi:
|
||||
- id: spi_rc522
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
miso_pin: 12
|
||||
|
||||
rc522_spi:
|
||||
id: rc522_nfcc
|
||||
cs_pin: 15
|
||||
|
||||
binary_sensor:
|
||||
- platform: rc522
|
||||
rc522_id: rc522_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
||||
@@ -0,0 +1,15 @@
|
||||
spi:
|
||||
- id: spi_rc522
|
||||
clk_pin: 2
|
||||
mosi_pin: 3
|
||||
miso_pin: 4
|
||||
|
||||
rc522_spi:
|
||||
id: rc522_nfcc
|
||||
cs_pin: 6
|
||||
|
||||
binary_sensor:
|
||||
- platform: rc522
|
||||
rc522_id: rc522_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user