grocy-cli/templates/battery/list.yml

13 lines
433 B
YAML
Raw Normal View History

{%- for battery in grocy.fields.batteries %}
id: {{ battery.id }}
name: {{ battery.name }}
description: {{ battery.description }}
used_in: {{ battery.used_in }}
charge_interval_days: {{ battery.charge_interval_days }}
last_charged: {{ battery.last_charged }}
charge_cycles_count: {{ battery.charge_cycles_count }}
next_estimated_charge_time: {{ battery.next_estimated_charge_time }}
{%- if loop.nextitem %}
---
{%endif%}{%endfor%}