{% extends "layout.html" %} {% block title %}OptiWarm - Warming Rules for {{ rule_type.name }}{% endblock %} {% block content %}

Warming Rules for {{ rule_type.name }}

Add Rule Back to Rule Types
Rule Type Information

Name: {{ rule_type.name }}

Priority: {{ rule_type.priority }}

Associated Place Types:

{% if rule_type.place_types %}
    {% for place_type in rule_type.place_types %}
  • {{ place_type.name }}
  • {% endfor %}
{% else %}

No place types associated

{% endif %}
{% if rules %}
{% for rule in rules %} {% endfor %}
Priority Temperature Time Range Days Actions
{{ rule.priority }} {{ "%.1f"|format(rule.min) }}°C - {{ "%.1f"|format(rule.max) }}°C {{ rule.time_from }} - {{ rule.time_to }} {{ rule.day_text }}
{% else %} {% endif %}
About Warming Rules

Warming rules define specific temperature settings for different times and days of the week:

Rules with higher priority values will override rules with lower priority when they overlap in time.

{% endblock %}