amaximus / garbage-collection-card

Custom Lovelace card for Garbage Collection custom component
MIT License
128 stars 24 forks source link

Lovelace not loading when I use a stacked card #24

Closed bschatzow closed 4 years ago

bschatzow commented 4 years ago
-
        cards:
          - entity: sensor.trash
            icon_color: brown
            icon_size: 35px
            type: 'custom:garbage-collection-card'
          - entity: sensor.recycle
            icon_color: red
            icon_size: 35px
            type: 'custom:garbage-collection-card'
          - entity: sensor.branches
            icon_color: green
            icon_size: 35px
            type: 'custom:garbage-collection-card'
          - entity: sensor.yard_waste
            icon_color: green
            icon_size: 35px
            type: 'custom:garbage-collection-card'
        type: vertical-stack

It does work correctly when 1 individually. I tried loading the same three and they failed.

-
        entity: sensor.trash
        icon_color: brown
        icon_size: 35px
        type: 'custom:garbage-collection-card'
      - 
        entity: sensor.recycle
        icon_color: red
        icon_size: 35px
        type: 'custom:garbage-collection-card'
      - 
        entity: sensor.branches
        icon_color: green
        icon_size: 35px
        type: 'custom:garbage-collection-card'
      - 
        entity: sensor.yard_waste
        icon_color: green
        icon_size: 35px
        type: 'custom:garbage-collection-card'
amaximus commented 4 years ago

Since there was no changes in how the card presents data, I assume this is related to the newer HA version handling vertical stacks.

bschatzow commented 4 years ago

Yes. I agree. Something changed again and now it works again.