uart:
  - id: uart_a01nyub
    tx_pin: ${tx_pin}
    rx_pin: ${rx_pin}
    baud_rate: 9600

sensor:
  - platform: a01nyub
    id: a01nyub_sensor
    name: a01nyub Distance
    uart_id: uart_a01nyub