Newer
Older
homeassistant_config / dashboards / minimal / views / varme.yaml
title: Varme
path: varme
type: custom:masonry-layout
layout:
  width: 300
  max_cols: 1
cards:
  - type: custom:decluttering-card
    template: subpanel_title_template
    variables:
      - title: Varme
      - alignment: start
  - type: custom:auto-entities
    card:
      type: custom:layout-card
      layout_type: custom:grid
    card_param: cards
    filter:
      template: |-
        [
        {% for entity in states.climate | selectattr('entity_id', 'contains', 'wavin') %}
          {{
                  {
                    "type": "custom:simple-thermostat",
                    "entity": entity.entity_id,
                    "header": {
                      "name": entity.attributes.friendly_name
                    },
                    "control": false,
                    "layout": {
                      "step": "row",
                      "mode": {
                        "icons": true,
                        "names": false,
                        "headings": false
                      },
                      "sensors": {
                        "labels": false
                      }
                    }
                  }
          }},
        {% endfor %}
        ]