{% extends "commissioning/base.html" %} {% load static %} {% load i18n %} {% block content %} {% trans "consumption_energy_unit" as power_unit %}
Location

Локация

{{ location.name }}

Энергопотребление . . . . . . . . . - {{ power_unit }}

Светильники . . . . . . . . . . . . . . . . . . . . . . . . {{ location.actuators_count }} шт.

Датчики присутствия . . . . . . . . . . . . . . . {{ location.presences_count }} шт.

Датчики освещенности . . . . . . . . . . . . . {{ location.luminosities_count }} шт.

{#

Настенные выключатели . . . . . . . . . . . .#} {# -#} {#

#}
{% if location.locations %}
{% for sub in location.locations %} {% endfor %}
sublocation_icon Подлокации Светильников, шт Энергопотребление, {{ power_unit }}
{{ sub.name }} {{ sub.actuators_count }} -
{% endif %} {% if location.areas %}
{% for area in location.areas %} {% for actuator in area.actuators %} {% endfor %} {% endfor %}
lightarea_icon Световые зоны Светильников, шт Энергопотребление, {{ power_unit }}
{{ area.name }} {{ area.actuators|length }} -
{% endif %}
{% if location.strategy %} {% include "commissioning/strategy.html" with strategy=location.strategy %} {% endif %}
{% if location.actuators_count > 0 %} {% trans "chart_location_header" as header %} {% include "commissioning/chart.html" with header=header time_from='' time_to='' id=location.id %} {% endif %} {% endblock content %}