type: custom:auto-entities card: square: false type: grid columns: 1 card_param: cards filter: include: - entity_id: sensor.affalddk_* state: < 35 options: type: custom:mushroom-template-card primary: '{{state_attr(entity,''name'') }}' icon-type: entity-picture picture: '{{ state_attr(entity, ''entity_picture'') }}' secondary: |- {% set val = states(entity) | int %} {% if val > 1 %} {{ val }} dage {% elif val==1 %} 1 dag {% elif val==0 %} I dag {% endif %} icon: mdi:home layout: horizontal tap_action: action: more-info exclude: - entity_id: sensor.*naeste_afhentning sort: method: state numeric: true