mirror of
https://github.com/esphome/esphome.git
synced 2025-01-22 12:26:01 +01:00
Adding tests
This commit is contained in:
parent
2340f8e86a
commit
e2dcba2804
6 changed files with 241 additions and 0 deletions
40
tests/components/ld2415h/test.esp32-c3-idf.yaml
Normal file
40
tests/components/ld2415h/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
uart:
|
||||
- id: uart_ld2415h
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
ld2415h:
|
||||
id: my_ld2415h
|
||||
|
||||
sensor:
|
||||
- platform: ld2415h
|
||||
speed:
|
||||
name: Speed
|
||||
filters:
|
||||
- timeout:
|
||||
timeout: 1s
|
||||
value: 0
|
||||
- delta: 0.1
|
||||
|
||||
number:
|
||||
- platform: ld2415h
|
||||
min_speed_threshold:
|
||||
name: Min Speed Threshold
|
||||
compensation_angle:
|
||||
name: Compensation Angle
|
||||
sensitivity:
|
||||
name: Sensitivity
|
||||
vibration_correction:
|
||||
name: Vibration Correction
|
||||
relay_trigger_duration:
|
||||
name: Relay Trigger Duration
|
||||
relay_trigger_speed:
|
||||
name: Relay Trigger Speed
|
||||
|
||||
select:
|
||||
- platform: ld2415h
|
||||
sample_rate:
|
||||
name: Sample Rate
|
||||
tracking_mode:
|
||||
name: Tracking Mode
|
40
tests/components/ld2415h/test.esp32-c3.yaml
Normal file
40
tests/components/ld2415h/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
uart:
|
||||
- id: uart_ld2415h
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
ld2415h:
|
||||
id: my_ld2415h
|
||||
|
||||
sensor:
|
||||
- platform: ld2415h
|
||||
speed:
|
||||
name: Speed
|
||||
filters:
|
||||
- timeout:
|
||||
timeout: 1s
|
||||
value: 0
|
||||
- delta: 0.1
|
||||
|
||||
number:
|
||||
- platform: ld2415h
|
||||
min_speed_threshold:
|
||||
name: Min Speed Threshold
|
||||
compensation_angle:
|
||||
name: Compensation Angle
|
||||
sensitivity:
|
||||
name: Sensitivity
|
||||
vibration_correction:
|
||||
name: Vibration Correction
|
||||
relay_trigger_duration:
|
||||
name: Relay Trigger Duration
|
||||
relay_trigger_speed:
|
||||
name: Relay Trigger Speed
|
||||
|
||||
select:
|
||||
- platform: ld2415h
|
||||
sample_rate:
|
||||
name: Sample Rate
|
||||
tracking_mode:
|
||||
name: Tracking Mode
|
41
tests/components/ld2415h/test.esp32-idf.yaml
Normal file
41
tests/components/ld2415h/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,41 @@
|
|||
uart:
|
||||
- id: uart_ld2415h
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
|
||||
ld2415h:
|
||||
id: my_ld2415h
|
||||
|
||||
sensor:
|
||||
- platform: ld2415h
|
||||
speed:
|
||||
name: Speed
|
||||
filters:
|
||||
- timeout:
|
||||
timeout: 1s
|
||||
value: 0
|
||||
- delta: 0.1
|
||||
|
||||
number:
|
||||
- platform: ld2415h
|
||||
min_speed_threshold:
|
||||
name: Min Speed Threshold
|
||||
compensation_angle:
|
||||
name: Compensation Angle
|
||||
sensitivity:
|
||||
name: Sensitivity
|
||||
vibration_correction:
|
||||
name: Vibration Correction
|
||||
relay_trigger_duration:
|
||||
name: Relay Trigger Duration
|
||||
relay_trigger_speed:
|
||||
name: Relay Trigger Speed
|
||||
|
||||
select:
|
||||
- platform: ld2415h
|
||||
sample_rate:
|
||||
name: Sample Rate
|
||||
tracking_mode:
|
||||
name: Tracking Mode
|
||||
|
40
tests/components/ld2415h/test.esp32.yaml
Normal file
40
tests/components/ld2415h/test.esp32.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
uart:
|
||||
- id: uart_ld2415h
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
|
||||
ld2415h:
|
||||
id: my_ld2415h
|
||||
|
||||
sensor:
|
||||
- platform: ld2415h
|
||||
speed:
|
||||
name: Speed
|
||||
filters:
|
||||
- timeout:
|
||||
timeout: 1s
|
||||
value: 0
|
||||
- delta: 0.1
|
||||
|
||||
number:
|
||||
- platform: ld2415h
|
||||
min_speed_threshold:
|
||||
name: Min Speed Threshold
|
||||
compensation_angle:
|
||||
name: Compensation Angle
|
||||
sensitivity:
|
||||
name: Sensitivity
|
||||
vibration_correction:
|
||||
name: Vibration Correction
|
||||
relay_trigger_duration:
|
||||
name: Relay Trigger Duration
|
||||
relay_trigger_speed:
|
||||
name: Relay Trigger Speed
|
||||
|
||||
select:
|
||||
- platform: ld2415h
|
||||
sample_rate:
|
||||
name: Sample Rate
|
||||
tracking_mode:
|
||||
name: Tracking Mode
|
40
tests/components/ld2415h/test.esp8266.yaml
Normal file
40
tests/components/ld2415h/test.esp8266.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
uart:
|
||||
- id: uart_ld2415h
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
ld2415h:
|
||||
id: my_ld2415h
|
||||
|
||||
sensor:
|
||||
- platform: ld2415h
|
||||
speed:
|
||||
name: Speed
|
||||
filters:
|
||||
- timeout:
|
||||
timeout: 1s
|
||||
value: 0
|
||||
- delta: 0.1
|
||||
|
||||
number:
|
||||
- platform: ld2415h
|
||||
min_speed_threshold:
|
||||
name: Min Speed Threshold
|
||||
compensation_angle:
|
||||
name: Compensation Angle
|
||||
sensitivity:
|
||||
name: Sensitivity
|
||||
vibration_correction:
|
||||
name: Vibration Correction
|
||||
relay_trigger_duration:
|
||||
name: Relay Trigger Duration
|
||||
relay_trigger_speed:
|
||||
name: Relay Trigger Speed
|
||||
|
||||
select:
|
||||
- platform: ld2415h
|
||||
sample_rate:
|
||||
name: Sample Rate
|
||||
tracking_mode:
|
||||
name: Tracking Mode
|
40
tests/components/ld2415h/test.rp2040.yaml
Normal file
40
tests/components/ld2415h/test.rp2040.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
uart:
|
||||
- id: uart_ld2415h
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
ld2415h:
|
||||
id: my_ld2415h
|
||||
|
||||
sensor:
|
||||
- platform: ld2415h
|
||||
speed:
|
||||
name: Speed
|
||||
filters:
|
||||
- timeout:
|
||||
timeout: 1s
|
||||
value: 0
|
||||
- delta: 0.1
|
||||
|
||||
number:
|
||||
- platform: ld2415h
|
||||
min_speed_threshold:
|
||||
name: Min Speed Threshold
|
||||
compensation_angle:
|
||||
name: Compensation Angle
|
||||
sensitivity:
|
||||
name: Sensitivity
|
||||
vibration_correction:
|
||||
name: Vibration Correction
|
||||
relay_trigger_duration:
|
||||
name: Relay Trigger Duration
|
||||
relay_trigger_speed:
|
||||
name: Relay Trigger Speed
|
||||
|
||||
select:
|
||||
- platform: ld2415h
|
||||
sample_rate:
|
||||
name: Sample Rate
|
||||
tracking_mode:
|
||||
name: Tracking Mode
|
Loading…
Reference in a new issue