mirror of
https://github.com/esphome/esphome.git
synced 2024-12-03 13:34:01 +01:00
Add: mr60fda2 test
This commit is contained in:
parent
29eeb373a1
commit
0b648aef1a
37
tests/components/seeed_mr60fda2/common.yaml
Normal file
37
tests/components/seeed_mr60fda2/common.yaml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
uart:
|
||||||
|
- id: seeed_mr60fda2_uart
|
||||||
|
tx_pin: ${uart_tx_pin}
|
||||||
|
rx_pin: ${uart_rx_pin}
|
||||||
|
baud_rate: 115200
|
||||||
|
parity: NONE
|
||||||
|
stop_bits: 1
|
||||||
|
|
||||||
|
seeed_mr60fda2:
|
||||||
|
id: my_seeed_mr60fda2
|
||||||
|
uart_id: seeed_mr60fda2_uart
|
||||||
|
|
||||||
|
text_sensor:
|
||||||
|
- platform: seeed_mr60fda2
|
||||||
|
is_fall:
|
||||||
|
name: "Falling Information"
|
||||||
|
|
||||||
|
binary_sensor:
|
||||||
|
- platform: seeed_mr60fda2
|
||||||
|
people_exist:
|
||||||
|
name: "Person Information"
|
||||||
|
|
||||||
|
button:
|
||||||
|
- platform: seeed_mr60fda2
|
||||||
|
get_radar_parameters:
|
||||||
|
name: "Get Radar Parameters"
|
||||||
|
reset_radar:
|
||||||
|
name: "Reset"
|
||||||
|
|
||||||
|
select:
|
||||||
|
- platform: seeed_mr60fda2
|
||||||
|
install_height:
|
||||||
|
name: "Set Install Height"
|
||||||
|
height_threshold:
|
||||||
|
name: "Set Height Threshold"
|
||||||
|
sensitivity:
|
||||||
|
name: "Set Sensitivity"
|
5
tests/components/seeed_mr60fda2/test.esp32-c3-ard.yaml
Normal file
5
tests/components/seeed_mr60fda2/test.esp32-c3-ard.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
substitutions:
|
||||||
|
uart_tx_pin: GPIO5
|
||||||
|
uart_rx_pin: GPIO4
|
||||||
|
|
||||||
|
<<: !include common.yaml
|
5
tests/components/seeed_mr60fda2/test.esp32-c3-idf.yaml
Normal file
5
tests/components/seeed_mr60fda2/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
substitutions:
|
||||||
|
uart_tx_pin: GPIO5
|
||||||
|
uart_rx_pin: GPIO4
|
||||||
|
|
||||||
|
<<: !include common.yaml
|
Loading…
Reference in New Issue
Block a user