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

sensor:
  - platform: bl0942
    voltage:
      name: BL0942 Voltage
    current:
      name: BL0942 Current
    power:
      name: BL0942 Power
    energy:
      name: BL0942 Energy
    frequency:
      name: BL0942 Frequency
    voltage_reference: 15968
    current_reference: 124180