grocy-cli/templates/chore/list.yml

8 lines
424 B
YAML

{%- for chore in grocy.fields %}
id: {{ chore.id }}
name: {{ chore.name }}{%- if '2999-' in chore.next_estimated_execution_time or 'Never' in chore.next_estimated_execution_time %}
next_estimated_execution_time: {{ chore.next_estimated_execution_time }} {%- else %}{% endif %}{%- if chore.last_tracked_time %}
last_tracked_time: {{ chore.last_tracked_time }} {% endif %}
---
{%- if loop.nextitem %}{% endif %}{% endfor %}