Hi Iām trying to write a template that lists all my plants that need watering.
I have the following so far
{% for plant in states.plant | selectattr('attributes.moisture_status', 'match', 'Low') %}
{{- plant.name }} š§{% if 'low' in plant.attributes.conductivity_status %}š©{% endif -%} {% if not loop.last %}, {% endif -%}
{% endfor %}
But how would I go about grouping by area? (I found the groupby function, but it takes a string and area_name('...')
is a function?)