esphome/tests/components/jsn_sr04t/test.esp32-c3.yaml
Mafus1 94e9476838
Add new Component: Ultrasonic Distance Sensor JSN-SR04T (#6023)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-03-27 14:14:23 +13:00

14 lines
246 B
YAML

uart:
- id: uart_jsn_sr04t
tx_pin:
number: 4
rx_pin:
number: 5
baud_rate: 9600
sensor:
- platform: jsn_sr04t
id: jsn_sr04t_sensor
name: "jsn_sr04t Distance"
uart_id: uart_jsn_sr04t
update_interval: 1s