#arduino mega avec pzem
- unique_id: "tab_domo_voltage"
  state_topic: "comble/pzem/voltage"
  name: "voltage_tableau_domotique"
  device_class: voltage
  unit_of_measurement: "V"
  state_class: measurement
  value_template: "{{ value | round(12) }}"

- unique_id: "tab_domo_current"
  state_topic: "comble/pzem/courant"
  name: "courant_tableau_domotique"
  device_class: current
  unit_of_measurement: "A"
  state_class: measurement
  value_template: "{{ value | round(2) }}"

- unique_id: "tab_domo_power"
  state_topic: "comble/pzem/power"
  name: "Power_tableau_domotique"
  icon: mdi:solar-power
  device_class: power
  unit_of_measurement: "W"
  state_class: measurement
  value_template: "{{ value | round(1) }}"

- unique_id: "tab_domo_energy_total"
  state_topic: "comble/pzem/energy"
  name: "tableau_domotique_Energy"
  device_class: energy
  state_class: total_increasing
  unit_of_measurement: "Wh"
  value_template: "{{ value | round(2) }}"
