{% extends "layout.html" %} {% block title %}OptiWarm - {{ location.name }}{% endblock %} {% block content %}

{{ location.name }}

View Zones Add Zone Edit
Location Details
Name: {{ location.name }}
Description: {{ location.description or "-" }}
Phone: {{ location.phone or "-" }}
CMDB ID: {{ location.cmdb_id or "-" }}
Billing Period: {{ location.billing_period_name }}
Linked Boilers: {% if location.boilers_actual %} {% else %} - {% endif %}
Technical Configuration
MQTT Cost Topic: {{ location.mqtt_pub_cost or "-" }}
Weather Update URL: {% if location.weather_update_url %} {{ location.weather_update_url|truncate(51) }} {% else %} - {% endif %}
Weather Update Period: {% if location.weather_update_period %} {{ location.weather_update_period }} hours {% else %} - {% endif %}
Notification: {{ location.notification or "-" }}
Active Zones: {{ location.active_zones_count }}
{% with api_endpoint=url_for('locations.api_boiler_plan', id=location.locationid) %} {% include 'partials/boiler_plan_chart.html' %} {% endwith %}
Zones
Add Zone
{% if location.zones %}
{% for zone in location.zones %} {% endfor %}
Name Place Type Status Phone Actions
{{ zone.name }} {{ zone.placetypeid.name }} {% if zone.active %} Active {% else %} Inactive {% endif %} {{ zone.phone or "-" }}
{% else %}
No zones found for this location. Add a zone to get started.
{% endif %}
{% with sensors=location.outdoor_sensors %} {% include 'sensors/location_sensors.html' %} {% endwith %} {% endblock %}