mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
Add some components to the new testing framework (D) (#6175)
This commit is contained in:
28
tests/components/dfrobot_sen0395/test.esp32-c3-idf.yaml
Normal file
28
tests/components/dfrobot_sen0395/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- dfrobot_sen0395.settings:
|
||||
id: mmwave
|
||||
factory_reset: true
|
||||
detection_segments:
|
||||
- [0cm, 5m]
|
||||
- 600cm
|
||||
- !lambda "return 7;"
|
||||
output_latency:
|
||||
delay_after_detect: 0s
|
||||
delay_after_disappear: 0s
|
||||
sensitivity: 6
|
||||
- dfrobot_sen0395.reset
|
||||
|
||||
uart:
|
||||
- id: uart_dfrobot_sen0395
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
dfrobot_sen0395:
|
||||
- id: mmwave
|
||||
|
||||
binary_sensor:
|
||||
- platform: dfrobot_sen0395
|
||||
id: mmwave_detected
|
28
tests/components/dfrobot_sen0395/test.esp32-c3.yaml
Normal file
28
tests/components/dfrobot_sen0395/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- dfrobot_sen0395.settings:
|
||||
id: mmwave
|
||||
factory_reset: true
|
||||
detection_segments:
|
||||
- [0cm, 5m]
|
||||
- 600cm
|
||||
- !lambda "return 7;"
|
||||
output_latency:
|
||||
delay_after_detect: 0s
|
||||
delay_after_disappear: 0s
|
||||
sensitivity: 6
|
||||
- dfrobot_sen0395.reset
|
||||
|
||||
uart:
|
||||
- id: uart_dfrobot_sen0395
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
dfrobot_sen0395:
|
||||
- id: mmwave
|
||||
|
||||
binary_sensor:
|
||||
- platform: dfrobot_sen0395
|
||||
id: mmwave_detected
|
28
tests/components/dfrobot_sen0395/test.esp32-idf.yaml
Normal file
28
tests/components/dfrobot_sen0395/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- dfrobot_sen0395.settings:
|
||||
id: mmwave
|
||||
factory_reset: true
|
||||
detection_segments:
|
||||
- [0cm, 5m]
|
||||
- 600cm
|
||||
- !lambda "return 7;"
|
||||
output_latency:
|
||||
delay_after_detect: 0s
|
||||
delay_after_disappear: 0s
|
||||
sensitivity: 6
|
||||
- dfrobot_sen0395.reset
|
||||
|
||||
uart:
|
||||
- id: uart_dfrobot_sen0395
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
|
||||
dfrobot_sen0395:
|
||||
- id: mmwave
|
||||
|
||||
binary_sensor:
|
||||
- platform: dfrobot_sen0395
|
||||
id: mmwave_detected
|
28
tests/components/dfrobot_sen0395/test.esp32.yaml
Normal file
28
tests/components/dfrobot_sen0395/test.esp32.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- dfrobot_sen0395.settings:
|
||||
id: mmwave
|
||||
factory_reset: true
|
||||
detection_segments:
|
||||
- [0cm, 5m]
|
||||
- 600cm
|
||||
- !lambda "return 7;"
|
||||
output_latency:
|
||||
delay_after_detect: 0s
|
||||
delay_after_disappear: 0s
|
||||
sensitivity: 6
|
||||
- dfrobot_sen0395.reset
|
||||
|
||||
uart:
|
||||
- id: uart_dfrobot_sen0395
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
|
||||
dfrobot_sen0395:
|
||||
- id: mmwave
|
||||
|
||||
binary_sensor:
|
||||
- platform: dfrobot_sen0395
|
||||
id: mmwave_detected
|
28
tests/components/dfrobot_sen0395/test.esp8266.yaml
Normal file
28
tests/components/dfrobot_sen0395/test.esp8266.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- dfrobot_sen0395.settings:
|
||||
id: mmwave
|
||||
factory_reset: true
|
||||
detection_segments:
|
||||
- [0cm, 5m]
|
||||
- 600cm
|
||||
- !lambda "return 7;"
|
||||
output_latency:
|
||||
delay_after_detect: 0s
|
||||
delay_after_disappear: 0s
|
||||
sensitivity: 6
|
||||
- dfrobot_sen0395.reset
|
||||
|
||||
uart:
|
||||
- id: uart_dfrobot_sen0395
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
dfrobot_sen0395:
|
||||
- id: mmwave
|
||||
|
||||
binary_sensor:
|
||||
- platform: dfrobot_sen0395
|
||||
id: mmwave_detected
|
28
tests/components/dfrobot_sen0395/test.rp2040.yaml
Normal file
28
tests/components/dfrobot_sen0395/test.rp2040.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- dfrobot_sen0395.settings:
|
||||
id: mmwave
|
||||
factory_reset: true
|
||||
detection_segments:
|
||||
- [0cm, 5m]
|
||||
- 600cm
|
||||
- !lambda "return 7;"
|
||||
output_latency:
|
||||
delay_after_detect: 0s
|
||||
delay_after_disappear: 0s
|
||||
sensitivity: 6
|
||||
- dfrobot_sen0395.reset
|
||||
|
||||
uart:
|
||||
- id: uart_dfrobot_sen0395
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
dfrobot_sen0395:
|
||||
- id: mmwave
|
||||
|
||||
binary_sensor:
|
||||
- platform: dfrobot_sen0395
|
||||
id: mmwave_detected
|
Reference in New Issue
Block a user