uart:
  - id: uart_pzem004t
    tx_pin: 17
    rx_pin: 16
    baud_rate: 115200

sensor:
  - platform: pzem004t
    voltage:
      name: PZEM004T Voltage
    current:
      name: PZEM004T Current
    power:
      name: PZEM004T Power