Hi!
I have this card
{% set rates = states.sensor.rooms_occupancy.attributes | list %}
{% set rates2 = states.sensor.rooms_occupancy.attributes.values() | list %}
{% for i in range(0, rates | count, 1) %}
{% if rates2[i] == "off" %}
{{ rates[i] }}
{% endif %}
{% endfor %}
and the result is this:
Anyone knows how to get rid of those spaces between rows?
Thank you in advance!