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

sensor:
  - platform: bl0940
    voltage:
      name: BL0940 Voltage
    current:
      name: BL0940 Current
    power:
      name: BL0940 Power
    energy:
      name: BL0940 Energy
    internal_temperature:
      name: BL0940 Internal temperature
    external_temperature:
      name: BL0940 External temperature
