Skip to content

my config is broken (v 0.1.3) #59

Description

@TheRealBadRobot

I was on holiday, unfortunately I updated the vertical stack in card via mobile and all of my configuration are broken now. I usd the card modder for eliminate the background of the cards in the vertical stacks but it doesn"t work now.
For example:
before:
image

The config:

card:
  color: white
  entities:
    - cards:
        - cards:
            - card:
                color: 'rgb(255, 165, 0)'
                color_off: 'rgb(30, 144, 255)'
                color_type: icon
                entity: fan.xiaomi_miio_device
                hold_action:
                  action: more-info
                name: légtisztító
                size: 17%
                state:
                  - spin: true
                    styles:
                      card:
                        - box-shadow: 0px 0px 20px 3px var(--paper-item-icon-color)
                        - background-color: 'rgba(57,128,228,0.2)'
                    value: 'on'
                  - styles: null
                    value: 'off'
                styles:
                  card:
                    - transform: scale(0.97)
                    - font-size: 14px
                    - height: 85px
                type: 'custom:button-card'
              style:
                background-color: 'rgba(0,0,0,0.3)'
                background-size: 100% 100%
                border: 'solid 1px rgba(57,128,228,0.6)'
                border-radius: 15px
              type: 'custom:card-modder'
            - card:
                color: 'rgb(255, 165, 0)'
                color_off: 'rgb(30, 144, 255)'
                color_type: icon
                entity: switch.led
                hold_action:
                  action: more-info
                name: LED
                size: 17%
                state:
                  - styles:
                      card:
                        - box-shadow: 0px 0px 20px 3px var(--paper-item-icon-color)
                        - background-color: 'rgba(57,128,228,0.2)'
                    value: 'on'
                  - styles:
                      card: null
                    value: 'off'
                styles:
                  card:
                    - transform: scale(0.97)
                    - font-size: 14px
                    - height: 85px
                type: 'custom:button-card'
              style:
                background-color: 'rgba(0,0,0,0.3)'
                background-size: 100% 100%
                border: 'solid 1px rgba(57,128,228,0.6)'
                border-radius: 15px
              type: 'custom:card-modder'
          type: horizontal-stack
      type: 'custom:vertical-stack-in-card'
    - cards:
        - card:
            entity: input_number.favorite_fan_speed
            name: sebesség
            type: 'custom:slider-entity-row'
          style:
            background-color: 'rgba(0,0,20,0.3)'
            background-size: 100% 100%
          type: 'custom:card-modder'
      type: 'custom:vertical-stack-in-card'
  show_header_toggle: false
  type: entities
style:
  background-color: 'rgba(0,0,20,0.3)'
  background-image: url("/local/pictures/cardback.png")
  background-repeat: no-repeat
  background-size: 100% 100%
  border: 'solid 1px rgba(57,128,228,0.6)'
  border-radius: 15px
type: 'custom:card-modder'

now:
image
Unfortunately all cards have this kind of strange behaviour now:
before:
image

now:
image

Please help me or please send me an older js to try to solve my problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions