{% for s in data %} {% if s.weekly %} {% elif s.recurring %} {% else %} {% endif %} {% if s.weekly %} {% elif s.recurring %} {% else %} {% endif %} {% endfor %}
SimpleScheduler
 

{{ s.name }}

{% if s.entity_id %} {% for e in s.entity_id %} {{ friendlynames[e] }} {% endfor %} {% endif %}
{% for wd in range(1, 8): %}
{{ weekday[wd] }}
{% endfor%}
{{ o.translations.text_ON }}
{% for wd in range(1, 8): %}
{{ format_event(s.weekly['on_'+wd|string], True)|safe }}
{% endfor%}
{{ o.translations.text_OFF }}
{% for wd in range(1, 8): %}
{{ format_event(s.weekly['off_'+wd|string], False)|safe }}
{% endfor%}
{% if s.on_tod %}
{{ s.recurring.on_start }} {{ s.recurring.on_end }} {{ s.recurring.on_interval }}m
{{ get_friendly_html_dow(s.on_dow,True)|safe }}
{% endif %}
{% if s.off_tod %}
{{ s.recurring.off_start }} {{ s.recurring.off_end }} {{ s.recurring.off_interval }}m
{{ get_friendly_html_dow(s.off_dow,False)|safe }}
{% endif %}
{% if s.on_tod %}
{{ format_event(s.on_tod, True)|safe }}
{{ get_friendly_html_dow(s.on_dow,True)|safe }}
{% endif %}
{% if s.off_tod %}
{{ format_event(s.off_tod, False)|safe }}
{{ get_friendly_html_dow(s.off_dow,False)|safe }}
{% endif %}