1
0
mirror of https://github.com/esphome/esphome.git synced 2025-01-18 20:10:55 +00:00

fix tests

This commit is contained in:
Alexandre Zia 2025-01-07 17:44:11 -05:00
parent 4b0261fe71
commit 4ee187bec6
No known key found for this signature in database
7 changed files with 92 additions and 18 deletions

View File

@ -1,7 +1,22 @@
uart:
- id: uart_a02yyuw
tx_pin: ${tx_pin}
rx_pin: ${rx_pin}
tx_pin: ${tx_pin_uw}
rx_pin: ${rx_pin_uw}
baud_rate: 9600
- id: uart_a02yyuw_model
tx_pin: ${tx_pin_uw_model}
rx_pin: ${rx_pin_uw_model}
baud_rate: 9600
- id: uart_02yytw_model
tx_pin: ${tx_pin_tw_model}
rx_pin: ${rx_pin_tw_model}
baud_rate: 9600
- id: uart_a02yytw_model_interval
tx_pin: ${tx_pin_tw_model_interval}
rx_pin: ${rx_pin_tw_model_interval}
baud_rate: 9600
sensor:
@ -14,18 +29,18 @@ sensor:
model: a02yyuw
id: a02yyuw_sensor_model
name: a02yyuw Distance Model
uart_id: uart_a02yyuw
uart_id: uart_a02yyuw_model
- platform: a02yyuw
model: a02yytw
id: a02yytw_sensor_model
name: a02yytw Distance Model
uart_id: uart_a02yyuw
uart_id: uart_02yytw_model
- platform: a02yyuw
model: a02yytw
update_interval: 500ms
id: a02yytw_sensor_model_interval
name: a02yyuw Distance Model Interval
uart_id: uart_a02yyuw
uart_id: uart_a02yytw_model_interval

View File

@ -1,5 +1,15 @@
substitutions:
tx_pin: GPIO17
rx_pin: GPIO16
tx_pin_uw: GPIO17
rx_pin_uw: GPIO16
tx_pin_uw_model: GPIO18
rx_pin_uw_model: GPIO19
tx_pin_tw_model: GPIO20
rx_pin_tw_model: GPIO21
tx_pin_tw_model_interval: GPIO22
rx_pin_tw_model_interval: GPIO23
<<: !include common.yaml

View File

@ -1,5 +1,15 @@
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
tx_pin_uw: GPIO4
rx_pin_uw: GPIO5
tx_pin_uw_model: GPIO6
rx_pin_uw_model: GPIO7
tx_pin_tw_model: GPIO10
rx_pin_tw_model: GPIO11
tx_pin_tw_model_interval: GPIO1
rx_pin_tw_model_interval: GPIO3
<<: !include common.yaml

View File

@ -1,5 +1,15 @@
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
tx_pin_uw: GPIO4
rx_pin_uw: GPIO5
tx_pin_uw_model: GPIO6
rx_pin_uw_model: GPIO7
tx_pin_tw_model: GPIO10
rx_pin_tw_model: GPIO11
tx_pin_tw_model_interval: GPIO1
rx_pin_tw_model_interval: GPIO3
<<: !include common.yaml

View File

@ -1,6 +1,15 @@
substitutions:
tx_pin: GPIO17
rx_pin: GPIO16
tx_pin_uw: GPIO17
rx_pin_uw: GPIO16
tx_pin_uw_model: GPIO18
rx_pin_uw_model: GPIO19
tx_pin_tw_model: GPIO20
rx_pin_tw_model: GPIO21
tx_pin_tw_model_interval: GPIO22
rx_pin_tw_model_interval: GPIO23
<<: !include common.yaml

View File

@ -1,5 +1,15 @@
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
tx_pin_uw: GPIO1
rx_pin_uw: GPIO3
tx_pin_uw_model: GPIO4
rx_pin_uw_model: GPIO5
tx_pin_tw_model: GPIO13
rx_pin_tw_model: GPIO14
tx_pin_tw_model_interval: GPIO16
rx_pin_tw_model_interval: GPIO15
<<: !include common.yaml

View File

@ -1,5 +1,15 @@
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
tx_pin_uw: GPIO4
rx_pin_uw: GPIO5
tx_pin_uw_model: GPIO6
rx_pin_uw_model: GPIO7
tx_pin_tw_model: GPIO10
rx_pin_tw_model: GPIO11
tx_pin_tw_model_interval: GPIO1
rx_pin_tw_model_interval: GPIO3
<<: !include common.yaml