esphome/tests/components/aj_sr04m/test.esp32-idf.yaml
2024-04-19 13:50:50 +03:00

14 lines
243 B
YAML

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