grocy-cli/templates/recipe.yml

22 lines
822 B
YAML
Raw Normal View History

name: {{ recipe.name }}
description: >-
{{ recipe.description_txt }}
recipe_id: {{ recipe.id }}
picture_file_name: {% if recipe.picture_file_name is not none %}
{{recipe.picture_file_name}}
{% else %}
{% endif %}
base_servings: {{ recipe.base_servings | default("1") }}
desired_servings: {{ recipe.desired_servings | default("1") }}
not_checking_shopping_list: {{ recipe.not_checking_shopping_list | default("1") }}
products: {% for product in recipe.products %}
2019-04-01 00:16:32 -05:00
- id: {{ product.id }}
amount: {{ product.amount }}
note: {{ product.note }}
qu_id: ''
2019-04-01 00:16:32 -05:00
only_check_single_unit_in_stock: {{ product.only_check_single_unit_in_stock }}
ingredient_group: {{ product.ingredient_group | default(null) }}
not_checking_shopping_list: {{ product.not_checking_shopping_list }}{% endfor %}
2019-04-01 00:16:32 -05:00