mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 22:48:10 +01:00
Add some components to the new testing framework (U) (#6230)
This commit is contained in:
parent
c36d7c0c3c
commit
dc071bed24
36 changed files with 624 additions and 0 deletions
15
tests/components/uart/test.esp32-c3-idf.yaml
Normal file
15
tests/components/uart/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- uart.write: 'Hello World'
|
||||
- uart.write: [0x00, 0x20, 0x42]
|
||||
|
||||
uart:
|
||||
- id: uart_uart
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
data_bits: 8
|
||||
rx_buffer_size: 512
|
||||
parity: EVEN
|
||||
stop_bits: 2
|
15
tests/components/uart/test.esp32-c3.yaml
Normal file
15
tests/components/uart/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- uart.write: 'Hello World'
|
||||
- uart.write: [0x00, 0x20, 0x42]
|
||||
|
||||
uart:
|
||||
- id: uart_uart
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
data_bits: 8
|
||||
rx_buffer_size: 512
|
||||
parity: EVEN
|
||||
stop_bits: 2
|
15
tests/components/uart/test.esp32-idf.yaml
Normal file
15
tests/components/uart/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- uart.write: 'Hello World'
|
||||
- uart.write: [0x00, 0x20, 0x42]
|
||||
|
||||
uart:
|
||||
- id: uart_uart
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
data_bits: 8
|
||||
rx_buffer_size: 512
|
||||
parity: EVEN
|
||||
stop_bits: 2
|
15
tests/components/uart/test.esp32.yaml
Normal file
15
tests/components/uart/test.esp32.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- uart.write: 'Hello World'
|
||||
- uart.write: [0x00, 0x20, 0x42]
|
||||
|
||||
uart:
|
||||
- id: uart_uart
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
data_bits: 8
|
||||
rx_buffer_size: 512
|
||||
parity: EVEN
|
||||
stop_bits: 2
|
15
tests/components/uart/test.esp8266.yaml
Normal file
15
tests/components/uart/test.esp8266.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- uart.write: 'Hello World'
|
||||
- uart.write: [0x00, 0x20, 0x42]
|
||||
|
||||
uart:
|
||||
- id: uart_uart
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
data_bits: 8
|
||||
rx_buffer_size: 512
|
||||
parity: EVEN
|
||||
stop_bits: 2
|
15
tests/components/uart/test.rp2040.yaml
Normal file
15
tests/components/uart/test.rp2040.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- uart.write: 'Hello World'
|
||||
- uart.write: [0x00, 0x20, 0x42]
|
||||
|
||||
uart:
|
||||
- id: uart_uart
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
data_bits: 8
|
||||
rx_buffer_size: 512
|
||||
parity: EVEN
|
||||
stop_bits: 2
|
25
tests/components/ufire_ec/test.esp32-c3-idf.yaml
Normal file
25
tests/components/ufire_ec/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- ufire_ec.calibrate_probe:
|
||||
id: ufire_ec_board
|
||||
solution: 0.146
|
||||
temperature: !lambda "return id(test_sensor).state;"
|
||||
- ufire_ec.reset:
|
||||
|
||||
i2c:
|
||||
- id: i2c_ufire_ec
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: test_sensor
|
||||
lambda: "return 21;"
|
||||
- platform: ufire_ec
|
||||
id: ufire_ec_board
|
||||
ec:
|
||||
name: Ufire EC
|
||||
temperature_sensor: test_sensor
|
||||
temperature_compensation: 20.0
|
||||
temperature_coefficient: 0.019
|
25
tests/components/ufire_ec/test.esp32-c3.yaml
Normal file
25
tests/components/ufire_ec/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- ufire_ec.calibrate_probe:
|
||||
id: ufire_ec_board
|
||||
solution: 0.146
|
||||
temperature: !lambda "return id(test_sensor).state;"
|
||||
- ufire_ec.reset:
|
||||
|
||||
i2c:
|
||||
- id: i2c_ufire_ec
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: test_sensor
|
||||
lambda: "return 21;"
|
||||
- platform: ufire_ec
|
||||
id: ufire_ec_board
|
||||
ec:
|
||||
name: Ufire EC
|
||||
temperature_sensor: test_sensor
|
||||
temperature_compensation: 20.0
|
||||
temperature_coefficient: 0.019
|
25
tests/components/ufire_ec/test.esp32-idf.yaml
Normal file
25
tests/components/ufire_ec/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- ufire_ec.calibrate_probe:
|
||||
id: ufire_ec_board
|
||||
solution: 0.146
|
||||
temperature: !lambda "return id(test_sensor).state;"
|
||||
- ufire_ec.reset:
|
||||
|
||||
i2c:
|
||||
- id: i2c_ufire_ec
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: test_sensor
|
||||
lambda: "return 21;"
|
||||
- platform: ufire_ec
|
||||
id: ufire_ec_board
|
||||
ec:
|
||||
name: Ufire EC
|
||||
temperature_sensor: test_sensor
|
||||
temperature_compensation: 20.0
|
||||
temperature_coefficient: 0.019
|
25
tests/components/ufire_ec/test.esp32.yaml
Normal file
25
tests/components/ufire_ec/test.esp32.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- ufire_ec.calibrate_probe:
|
||||
id: ufire_ec_board
|
||||
solution: 0.146
|
||||
temperature: !lambda "return id(test_sensor).state;"
|
||||
- ufire_ec.reset:
|
||||
|
||||
i2c:
|
||||
- id: i2c_ufire_ec
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: test_sensor
|
||||
lambda: "return 21;"
|
||||
- platform: ufire_ec
|
||||
id: ufire_ec_board
|
||||
ec:
|
||||
name: Ufire EC
|
||||
temperature_sensor: test_sensor
|
||||
temperature_compensation: 20.0
|
||||
temperature_coefficient: 0.019
|
25
tests/components/ufire_ec/test.esp8266.yaml
Normal file
25
tests/components/ufire_ec/test.esp8266.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- ufire_ec.calibrate_probe:
|
||||
id: ufire_ec_board
|
||||
solution: 0.146
|
||||
temperature: !lambda "return id(test_sensor).state;"
|
||||
- ufire_ec.reset:
|
||||
|
||||
i2c:
|
||||
- id: i2c_ufire_ec
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: test_sensor
|
||||
lambda: "return 21;"
|
||||
- platform: ufire_ec
|
||||
id: ufire_ec_board
|
||||
ec:
|
||||
name: Ufire EC
|
||||
temperature_sensor: test_sensor
|
||||
temperature_compensation: 20.0
|
||||
temperature_coefficient: 0.019
|
25
tests/components/ufire_ec/test.rp2040.yaml
Normal file
25
tests/components/ufire_ec/test.rp2040.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- ufire_ec.calibrate_probe:
|
||||
id: ufire_ec_board
|
||||
solution: 0.146
|
||||
temperature: !lambda "return id(test_sensor).state;"
|
||||
- ufire_ec.reset:
|
||||
|
||||
i2c:
|
||||
- id: i2c_ufire_ec
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: test_sensor
|
||||
lambda: "return 21;"
|
||||
- platform: ufire_ec
|
||||
id: ufire_ec_board
|
||||
ec:
|
||||
name: Ufire EC
|
||||
temperature_sensor: test_sensor
|
||||
temperature_compensation: 20.0
|
||||
temperature_coefficient: 0.019
|
25
tests/components/ufire_ise/test.esp32-c3-idf.yaml
Normal file
25
tests/components/ufire_ise/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- ufire_ise.calibrate_probe_high:
|
||||
id: ufire_ise_sensor
|
||||
solution: 7.0
|
||||
- ufire_ise.calibrate_probe_low:
|
||||
id: ufire_ise_sensor
|
||||
solution: 4.0
|
||||
- ufire_ise.reset:
|
||||
|
||||
i2c:
|
||||
- id: i2c_ufire_ise
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: test_sensor
|
||||
lambda: "return 21;"
|
||||
- platform: ufire_ise
|
||||
id: ufire_ise_sensor
|
||||
temperature_sensor: test_sensor
|
||||
ph:
|
||||
name: Ufire pH
|
25
tests/components/ufire_ise/test.esp32-c3.yaml
Normal file
25
tests/components/ufire_ise/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- ufire_ise.calibrate_probe_high:
|
||||
id: ufire_ise_sensor
|
||||
solution: 7.0
|
||||
- ufire_ise.calibrate_probe_low:
|
||||
id: ufire_ise_sensor
|
||||
solution: 4.0
|
||||
- ufire_ise.reset:
|
||||
|
||||
i2c:
|
||||
- id: i2c_ufire_ise
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: test_sensor
|
||||
lambda: "return 21;"
|
||||
- platform: ufire_ise
|
||||
id: ufire_ise_sensor
|
||||
temperature_sensor: test_sensor
|
||||
ph:
|
||||
name: Ufire pH
|
25
tests/components/ufire_ise/test.esp32-idf.yaml
Normal file
25
tests/components/ufire_ise/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- ufire_ise.calibrate_probe_high:
|
||||
id: ufire_ise_sensor
|
||||
solution: 7.0
|
||||
- ufire_ise.calibrate_probe_low:
|
||||
id: ufire_ise_sensor
|
||||
solution: 4.0
|
||||
- ufire_ise.reset:
|
||||
|
||||
i2c:
|
||||
- id: i2c_ufire_ise
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: test_sensor
|
||||
lambda: "return 21;"
|
||||
- platform: ufire_ise
|
||||
id: ufire_ise_sensor
|
||||
temperature_sensor: test_sensor
|
||||
ph:
|
||||
name: Ufire pH
|
25
tests/components/ufire_ise/test.esp32.yaml
Normal file
25
tests/components/ufire_ise/test.esp32.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- ufire_ise.calibrate_probe_high:
|
||||
id: ufire_ise_sensor
|
||||
solution: 7.0
|
||||
- ufire_ise.calibrate_probe_low:
|
||||
id: ufire_ise_sensor
|
||||
solution: 4.0
|
||||
- ufire_ise.reset:
|
||||
|
||||
i2c:
|
||||
- id: i2c_ufire_ise
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: test_sensor
|
||||
lambda: "return 21;"
|
||||
- platform: ufire_ise
|
||||
id: ufire_ise_sensor
|
||||
temperature_sensor: test_sensor
|
||||
ph:
|
||||
name: Ufire pH
|
25
tests/components/ufire_ise/test.esp8266.yaml
Normal file
25
tests/components/ufire_ise/test.esp8266.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- ufire_ise.calibrate_probe_high:
|
||||
id: ufire_ise_sensor
|
||||
solution: 7.0
|
||||
- ufire_ise.calibrate_probe_low:
|
||||
id: ufire_ise_sensor
|
||||
solution: 4.0
|
||||
- ufire_ise.reset:
|
||||
|
||||
i2c:
|
||||
- id: i2c_ufire_ise
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: test_sensor
|
||||
lambda: "return 21;"
|
||||
- platform: ufire_ise
|
||||
id: ufire_ise_sensor
|
||||
temperature_sensor: test_sensor
|
||||
ph:
|
||||
name: Ufire pH
|
25
tests/components/ufire_ise/test.rp2040.yaml
Normal file
25
tests/components/ufire_ise/test.rp2040.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- ufire_ise.calibrate_probe_high:
|
||||
id: ufire_ise_sensor
|
||||
solution: 7.0
|
||||
- ufire_ise.calibrate_probe_low:
|
||||
id: ufire_ise_sensor
|
||||
solution: 4.0
|
||||
- ufire_ise.reset:
|
||||
|
||||
i2c:
|
||||
- id: i2c_ufire_ise
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: test_sensor
|
||||
lambda: "return 21;"
|
||||
- platform: ufire_ise
|
||||
id: ufire_ise_sensor
|
||||
temperature_sensor: test_sensor
|
||||
ph:
|
||||
name: Ufire pH
|
29
tests/components/uln2003/test.esp32-c3-idf.yaml
Normal file
29
tests/components/uln2003/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- stepper.report_position:
|
||||
id: uln2003_stepper
|
||||
position: 250
|
||||
- stepper.set_target:
|
||||
id: uln2003_stepper
|
||||
target: 250
|
||||
- stepper.set_acceleration:
|
||||
id: uln2003_stepper
|
||||
acceleration: 250 steps/s^2
|
||||
- stepper.set_deceleration:
|
||||
id: uln2003_stepper
|
||||
deceleration: 250 steps/s^2
|
||||
- stepper.set_speed:
|
||||
id: uln2003_stepper
|
||||
speed: 250 steps/s
|
||||
|
||||
stepper:
|
||||
- platform: uln2003
|
||||
id: uln2003_stepper
|
||||
pin_a: 0
|
||||
pin_b: 1
|
||||
pin_c: 2
|
||||
pin_d: 3
|
||||
max_speed: 250 steps/s
|
||||
acceleration: 100 steps/s^2
|
||||
deceleration: 200 steps/s^2
|
29
tests/components/uln2003/test.esp32-c3.yaml
Normal file
29
tests/components/uln2003/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- stepper.report_position:
|
||||
id: uln2003_stepper
|
||||
position: 250
|
||||
- stepper.set_target:
|
||||
id: uln2003_stepper
|
||||
target: 250
|
||||
- stepper.set_acceleration:
|
||||
id: uln2003_stepper
|
||||
acceleration: 250 steps/s^2
|
||||
- stepper.set_deceleration:
|
||||
id: uln2003_stepper
|
||||
deceleration: 250 steps/s^2
|
||||
- stepper.set_speed:
|
||||
id: uln2003_stepper
|
||||
speed: 250 steps/s
|
||||
|
||||
stepper:
|
||||
- platform: uln2003
|
||||
id: uln2003_stepper
|
||||
pin_a: 0
|
||||
pin_b: 1
|
||||
pin_c: 2
|
||||
pin_d: 3
|
||||
max_speed: 250 steps/s
|
||||
acceleration: 100 steps/s^2
|
||||
deceleration: 200 steps/s^2
|
29
tests/components/uln2003/test.esp32-idf.yaml
Normal file
29
tests/components/uln2003/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- stepper.report_position:
|
||||
id: uln2003_stepper
|
||||
position: 250
|
||||
- stepper.set_target:
|
||||
id: uln2003_stepper
|
||||
target: 250
|
||||
- stepper.set_acceleration:
|
||||
id: uln2003_stepper
|
||||
acceleration: 250 steps/s^2
|
||||
- stepper.set_deceleration:
|
||||
id: uln2003_stepper
|
||||
deceleration: 250 steps/s^2
|
||||
- stepper.set_speed:
|
||||
id: uln2003_stepper
|
||||
speed: 250 steps/s
|
||||
|
||||
stepper:
|
||||
- platform: uln2003
|
||||
id: uln2003_stepper
|
||||
pin_a: 12
|
||||
pin_b: 13
|
||||
pin_c: 14
|
||||
pin_d: 15
|
||||
max_speed: 250 steps/s
|
||||
acceleration: 100 steps/s^2
|
||||
deceleration: 200 steps/s^2
|
29
tests/components/uln2003/test.esp32.yaml
Normal file
29
tests/components/uln2003/test.esp32.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- stepper.report_position:
|
||||
id: uln2003_stepper
|
||||
position: 250
|
||||
- stepper.set_target:
|
||||
id: uln2003_stepper
|
||||
target: 250
|
||||
- stepper.set_acceleration:
|
||||
id: uln2003_stepper
|
||||
acceleration: 250 steps/s^2
|
||||
- stepper.set_deceleration:
|
||||
id: uln2003_stepper
|
||||
deceleration: 250 steps/s^2
|
||||
- stepper.set_speed:
|
||||
id: uln2003_stepper
|
||||
speed: 250 steps/s
|
||||
|
||||
stepper:
|
||||
- platform: uln2003
|
||||
id: uln2003_stepper
|
||||
pin_a: 12
|
||||
pin_b: 13
|
||||
pin_c: 14
|
||||
pin_d: 15
|
||||
max_speed: 250 steps/s
|
||||
acceleration: 100 steps/s^2
|
||||
deceleration: 200 steps/s^2
|
29
tests/components/uln2003/test.esp8266.yaml
Normal file
29
tests/components/uln2003/test.esp8266.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- stepper.report_position:
|
||||
id: uln2003_stepper
|
||||
position: 250
|
||||
- stepper.set_target:
|
||||
id: uln2003_stepper
|
||||
target: 250
|
||||
- stepper.set_acceleration:
|
||||
id: uln2003_stepper
|
||||
acceleration: 250 steps/s^2
|
||||
- stepper.set_deceleration:
|
||||
id: uln2003_stepper
|
||||
deceleration: 250 steps/s^2
|
||||
- stepper.set_speed:
|
||||
id: uln2003_stepper
|
||||
speed: 250 steps/s
|
||||
|
||||
stepper:
|
||||
- platform: uln2003
|
||||
id: uln2003_stepper
|
||||
pin_a: 12
|
||||
pin_b: 13
|
||||
pin_c: 14
|
||||
pin_d: 15
|
||||
max_speed: 250 steps/s
|
||||
acceleration: 100 steps/s^2
|
||||
deceleration: 200 steps/s^2
|
29
tests/components/uln2003/test.rp2040.yaml
Normal file
29
tests/components/uln2003/test.rp2040.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- stepper.report_position:
|
||||
id: uln2003_stepper
|
||||
position: 250
|
||||
- stepper.set_target:
|
||||
id: uln2003_stepper
|
||||
target: 250
|
||||
- stepper.set_acceleration:
|
||||
id: uln2003_stepper
|
||||
acceleration: 250 steps/s^2
|
||||
- stepper.set_deceleration:
|
||||
id: uln2003_stepper
|
||||
deceleration: 250 steps/s^2
|
||||
- stepper.set_speed:
|
||||
id: uln2003_stepper
|
||||
speed: 250 steps/s
|
||||
|
||||
stepper:
|
||||
- platform: uln2003
|
||||
id: uln2003_stepper
|
||||
pin_a: 0
|
||||
pin_b: 1
|
||||
pin_c: 2
|
||||
pin_d: 3
|
||||
max_speed: 250 steps/s
|
||||
acceleration: 100 steps/s^2
|
||||
deceleration: 200 steps/s^2
|
7
tests/components/ultrasonic/test.esp32-c3-idf.yaml
Normal file
7
tests/components/ultrasonic/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
sensor:
|
||||
- platform: ultrasonic
|
||||
id: ultrasonic_sensor1
|
||||
name: Ultrasonic Sensor
|
||||
echo_pin: 4
|
||||
trigger_pin: 5
|
||||
timeout: 5.5m
|
7
tests/components/ultrasonic/test.esp32-c3.yaml
Normal file
7
tests/components/ultrasonic/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
sensor:
|
||||
- platform: ultrasonic
|
||||
id: ultrasonic_sensor1
|
||||
name: Ultrasonic Sensor
|
||||
echo_pin: 4
|
||||
trigger_pin: 5
|
||||
timeout: 5.5m
|
7
tests/components/ultrasonic/test.esp32-idf.yaml
Normal file
7
tests/components/ultrasonic/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
sensor:
|
||||
- platform: ultrasonic
|
||||
id: ultrasonic_sensor1
|
||||
name: Ultrasonic Sensor
|
||||
echo_pin: 4
|
||||
trigger_pin: 5
|
||||
timeout: 5.5m
|
7
tests/components/ultrasonic/test.esp32.yaml
Normal file
7
tests/components/ultrasonic/test.esp32.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
sensor:
|
||||
- platform: ultrasonic
|
||||
id: ultrasonic_sensor1
|
||||
name: Ultrasonic Sensor
|
||||
echo_pin: 4
|
||||
trigger_pin: 5
|
||||
timeout: 5.5m
|
7
tests/components/ultrasonic/test.esp8266.yaml
Normal file
7
tests/components/ultrasonic/test.esp8266.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
sensor:
|
||||
- platform: ultrasonic
|
||||
id: ultrasonic_sensor1
|
||||
name: Ultrasonic Sensor
|
||||
echo_pin: 4
|
||||
trigger_pin: 5
|
||||
timeout: 5.5m
|
7
tests/components/ultrasonic/test.rp2040.yaml
Normal file
7
tests/components/ultrasonic/test.rp2040.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
sensor:
|
||||
- platform: ultrasonic
|
||||
id: ultrasonic_sensor1
|
||||
name: Ultrasonic Sensor
|
||||
echo_pin: 4
|
||||
trigger_pin: 5
|
||||
timeout: 5.5m
|
3
tests/components/uptime/test.esp32-c3-idf.yaml
Normal file
3
tests/components/uptime/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
sensor:
|
||||
- platform: uptime
|
||||
name: Uptime Sensor
|
3
tests/components/uptime/test.esp32-c3.yaml
Normal file
3
tests/components/uptime/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
sensor:
|
||||
- platform: uptime
|
||||
name: Uptime Sensor
|
3
tests/components/uptime/test.esp32-idf.yaml
Normal file
3
tests/components/uptime/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
sensor:
|
||||
- platform: uptime
|
||||
name: Uptime Sensor
|
3
tests/components/uptime/test.esp32.yaml
Normal file
3
tests/components/uptime/test.esp32.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
sensor:
|
||||
- platform: uptime
|
||||
name: Uptime Sensor
|
3
tests/components/uptime/test.esp8266.yaml
Normal file
3
tests/components/uptime/test.esp8266.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
sensor:
|
||||
- platform: uptime
|
||||
name: Uptime Sensor
|
3
tests/components/uptime/test.rp2040.yaml
Normal file
3
tests/components/uptime/test.rp2040.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
sensor:
|
||||
- platform: uptime
|
||||
name: Uptime Sensor
|
Loading…
Reference in a new issue