esphome/tests/components/uart/test.host.yaml
Pavlo Dudnytskyi aa8c963c50
UART component support added for host platform (#6912)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Pavlo Dudnytskyi <pdudnytskyi@astrata.eu>
2024-07-11 13:30:55 +12:00

13 lines
222 B
YAML

esphome:
on_boot:
then:
- uart.write: 'Hello World'
- uart.write: [0x00, 0x20, 0x42]
uart:
- id: uart_uart
port: "/dev/ttyS0"
baud_rate: 9600
data_bits: 8
parity: EVEN
stop_bits: 2