uart:
  - id: uart_a01nyub
    tx_pin:
      number: 4
    rx_pin:
      number: 5
    baud_rate: 9600

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