03-23-2024, 12:39 AM
uart:
baud_rate: 9600
debug:
direction: BOTH
dummy_receiver: true
after:
timeout: 10ms
tx_pin: 9
rx_pin: 8
switch:
- platform: uart
name: "UART Button"
data: [0xDE, 0xAD, 0xBE, 0xEF]
baud_rate: 9600
debug:
direction: BOTH
dummy_receiver: true
after:
timeout: 10ms
tx_pin: 9
rx_pin: 8
switch:
- platform: uart
name: "UART Button"
data: [0xDE, 0xAD, 0xBE, 0xEF]