thomasloven / lovelace-layout-card

🔹 Get more control over the placement of lovelace cards.
MIT License
1.05k stars 125 forks source link

Zooming to Infinity #218

Open MacVille opened 1 year ago

MacVille commented 1 year ago

My Home Assistant version: 2022.10.5

Layout-card version (FROM BROWSER CONSOLE): 2.4.4

What I am doing: I have changed the View to Grid (layout-card)

What I expected to happen: The Cards should be shown over the whole page

What happened instead: The Cards get zoomed to the infinity

Minimal steps to reproduce:

- theme: Backend-selected
    title: 'Energie detailübersicht '
    path: energie-detailubersicht
    type: custom:grid-layout
    badges: []
    cards:
      - type: custom:swipe-card
        cards:
          - type: custom:mini-graph-card
            icon: mdi:transmission-tower-export
            entities:
              - entity: sensor.stromverbrauch_hochtarif
                name: Hochtarif
                color: '#2cade0'
                name_adaptive_color: true
              - entity: sensor.stromverbrauch_niedertarif
                name: Niedertarif
                color: '#245275'
                name_adaptive_color: true
            name: Energie verbrauch (Monatlich)
            hours_to_show: 730
            aggregate_func: max
            group_by: date
            show:
              graph: bar
              fill: true
              points: true
              legend: true
            tap_action: none
          - type: custom:mini-graph-card
            icon: mdi:transmission-tower-export
            entities:
              - entity: sensor.strom_taglich_hochtarif
                name: Hochtarif
                color: '#2cade0'
                name_adaptive_color: true
              - entity: sensor.strom_taglich_niedertarif
                name: Niedertarif
                color: '#245275'
                name_adaptive_color: true
            name: Energie verbrauch (Täglich)
            hours_to_show: 24
            aggregate_func: max
            group_by: date
            show:
              graph: bar
              fill: true
              points: true
              legend: true
            color_thresholds:
              - value: 4.5
                color: red

Error messages from the browser console: No Error from Layout-Cards


By putting an X in the boxes ([X]) below, I indicate that I: