2021-07-31 18:48:28 +02:00
|
|
|
{#-
|
|
|
|
Oven informations
|
|
|
|
-#}
|
|
|
|
{%- if this.oven is defined and this.oven != "" and this.oven.blocks is defined and this.oven.blocks != "" -%}
|
|
|
|
{% if this.oven.blocks is defined and this.oven.blocks != [] -%}
|
|
|
|
{%- for ovn in this.oven.blocks -%}
|
|
|
|
{%- if ovn.amount is defined and ovn.amount != "" -%}
|
|
|
|
{%- if loop.index == 1 -%}
|
|
|
|
{{- '\noven_temp:' -}}
|
|
|
|
{%- endif -%}
|
|
|
|
{{- '\n - amount: ' -}} '{{- ovn.amount -}}'
|
2021-08-09 01:14:49 +02:00
|
|
|
{{- '\n unit: ' -}}
|
|
|
|
{{- if ovn.unit | default('C') -}}
|
2021-07-31 18:48:28 +02:00
|
|
|
{%- endif -%}
|
|
|
|
{%- endfor -%}
|
|
|
|
{%- endif -%}
|
|
|
|
{%- endif -%}
|
|
|
|
|
|
|
|
{%- if this.oven_type is defined and this.oven_type != "" -%}
|
|
|
|
{{- '\nX-oven_type: ' -}} "{{- this.oven_type -}}"
|
|
|
|
{%- endif -%}
|
|
|
|
|
|
|
|
{%- if this.oven_time is defined and this.oven_time != "" -%}
|
|
|
|
{{- '\noven_time: ' -}} "{{- this.oven_time -}}"
|
|
|
|
{%- endif -%}
|
|
|
|
|
|
|
|
{%- if this.oven_fan is defined and this.oven_fan != "" -%}
|
|
|
|
{{- '\noven_fan: ' -}} "{{- this.oven_fan | default('Off') -}}"
|
|
|
|
{%- endif -%}
|