Tests added for aj_sr04m

This commit is contained in:
Masterz69 2024-04-19 13:50:50 +03:00
parent 8a6921800b
commit 04ff9ab7af
6 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,14 @@
uart:
- id: aj_sr04m_uart
tx_pin:
number: 4
rx_pin:
number: 5
baud_rate: 9600
sensor:
- platform: aj_sr04m
id: aj_sr04m_sensor
name: "aj_sr04m Distance"
uart_id: aj_sr04m_uart
update_interval: 2s

View file

@ -0,0 +1,14 @@
uart:
- id: aj_sr04m_uart
tx_pin:
number: 4
rx_pin:
number: 5
baud_rate: 9600
sensor:
- platform: aj_sr04m
id: aj_sr04m_sensor
name: "aj_sr04m Distance"
uart_id: aj_sr04m_uart
update_interval: 2s

View file

@ -0,0 +1,14 @@
uart:
- id: aj_sr04m_uart
tx_pin:
number: 17
rx_pin:
number: 16
baud_rate: 9600
sensor:
- platform: aj_sr04m
id: aj_sr04m_sensor
name: "aj_sr04m Distance"
uart_id: aj_sr04m_uart
update_interval: 2s

View file

@ -0,0 +1,14 @@
uart:
- id: aj_sr04m_uart
tx_pin:
number: 17
rx_pin:
number: 16
baud_rate: 9600
sensor:
- platform: aj_sr04m
id: aj_sr04m_sensor
name: "aj_sr04m Distance"
uart_id: aj_sr04m_uart
update_interval: 2s

View file

@ -0,0 +1,14 @@
uart:
- id: aj_sr04m_uart
tx_pin:
number: 4
rx_pin:
number: 5
baud_rate: 9600
sensor:
- platform: aj_sr04m
id: aj_sr04m_sensor
name: "aj_sr04m Distance"
uart_id: aj_sr04m_uart
update_interval: 2s

View file

@ -0,0 +1,14 @@
uart:
- id: aj_sr04m_uart
tx_pin:
number: 4
rx_pin:
number: 5
baud_rate: 9600
sensor:
- platform: aj_sr04m
id: aj_sr04m_sensor
name: "aj_sr04m Distance"
uart_id: aj_sr04m_uart
update_interval: 2s