Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: markdown
- content: >
- {% set recipe = state_attr("sensor.weekly_recipes","recipes")[0] %}
- <h2>{{ recipe.recipe_name}}</h2>
- <h4><ha-icon icon="mdi:update"></ha-icon> {{
- recipe.recipe_time}} <ha-icon icon="mdi:account-group"></ha-icon>
- {{ recipe.recipe_yield}}</h4>
- <b>Fremgangsmåde</b></br>
- <ol>
- {% for i in recipe.recipe_instructions %}
- <li>{{ i.text}}</li>
- {% endfor %}
- </ol>
- <b>Ingredienser</b></br>
- <ul>
- {% for i in recipe.recipe_ingredients %}
- <li>{{ i.note}}</li>
- {% endfor %}
- </ul>
- <b>Links</b></br>
- <ul>
- <li><a href="{{recipe.recipe_url }}">Se opskrift i Mealie</a></li>
- <li><a href="{{recipe.recipe_orgurl }}">Se oprindelig opskrift</a></li>
- </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement