{% load humanize %}

PDU Inlets

{% for inlet in pdu_inlets %} {% endfor %} {% if pdu_inlets|length > 1 %} {% endif %}
Inlet W A V PF Wh
Inlet {{ inlet.inlet_number }}{% if inlet.inlet_name %} — {{ inlet.inlet_name }}{% endif %} {% if inlet.power_w is not None %}{{ inlet.power_w|floatformat:1|intcomma }}{% else %}—{% endif %} {% if inlet.current_a is not None %}{{ inlet.current_a|floatformat:2 }}{% else %}—{% endif %} {% if inlet.voltage_v is not None %}{{ inlet.voltage_v|floatformat:1 }}{% else %}—{% endif %} {% if inlet.power_factor is not None %}{{ inlet.power_factor|floatformat:2 }}{% else %}—{% endif %} {% if inlet.energy_wh is not None %}{{ inlet.energy_wh|floatformat:0|intcomma }}{% else %}—{% endif %}
Total {% if total_power_w is not None %}{{ total_power_w|floatformat:1|intcomma }}{% else %}—{% endif %} {% if total_current_a is not None %}{{ total_current_a|floatformat:2 }}{% else %}—{% endif %} {% if total_energy_wh is not None %}{{ total_energy_wh|floatformat:0|intcomma }}{% else %}—{% endif %}
{% if last_updated %} {% endif %}