Hi,
I need some help, I’m trying to get a sum, out of this:
{% for state in state_attr('sensor.ct_white', 'Data') |selectattr('Location', 'eq','Wine_fridge') %} {{state.Quantity}} {% endfor %}
Result:
2 2 1 1 1 1
How do I get it to add the numbers, so the result will be “8” ?