uart:
  - id: uart_bl0939
    tx_pin:
      number: 17
    rx_pin:
      number: 16
    baud_rate: 9600

sensor:
  - platform: bl0942
    reset: true
    voltage:
      name: BL0942 Voltage
    current:
      name: BL0942 Current
    power:
      name: BL0942 Power
    energy:
      name: BL0942 Energy
    frequency:
      name: BL0942 Frequency