The YAML files in this directory are ESPHome packages that make it easy to use configure the T-CAN485 for its main purposes.
Usage example for configuring a UART component to communicate over RS-485:
packages:
lilygo:
url: https://github.com/jbj/t-can485-esphome
file: rs485.yaml
substitutions:
# For the `lilygo` package
rs485_uart_id: my_uart_id
uart:
id: my_uart_id
baud_rate: ...
Then add ESPHome components like modbus
that use the uart
component.