{% if event_signal.measurement %} <{% if event_signal.measurement.name == 'customUnit' %}oadr{% else %}power{% endif %}:{{ event_signal.measurement.name }} xmlns:scale="http://docs.oasis-open.org/ns/emix/2011/06/siscale" xmlns:power="http://docs.oasis-open.org/ns/emix/2011/06/power" > <{% if event_signal.measurement.name == 'customUnit' %}oadr{% else %}power{% endif %}:itemDescription>{{ event_signal.measurement.description }} <{% if event_signal.measurement.name == 'customUnit' %}oadr{% else %}power{% endif %}:itemUnits>{{ event_signal.measurement.unit }} {{ event_signal.measurement.scale }} {% if event_signal.measurement.power_attributes %} {{ event_signal.measurement.power_attributes.hertz }} {{ event_signal.measurement.power_attributes.voltage }} {{ event_signal.measurement.power_attributes.ac|booleanformat }} {% endif %} {% endif %}