swipe-card icon indicating copy to clipboard operation
swipe-card copied to clipboard

start_card parameter not working after update to 2021.11

Open keiferoh opened this issue 3 years ago • 3 comments

After updating to Home Assistant Core version 2021.11 the "start_card" parameter no longer functions. Cards always default to the first card, regardless of what is specified for "start_card"

The example below shows the first card "Calendar" showing, but start_card is set to "4".

IMG_3417 Screen Shot 2021-11-06 at 8 44 38 PM

keiferoh avatar Nov 07 '21 00:11 keiferoh

Can confirm. This is happening to me as well even when I simplify my yaml to minimal code.

And wow, keiferoh, I've never seen the Swipe card used like in your screenshot! That looks awesome! And I can see why it would look even better starting on card 4! lol

zgadson avatar Nov 11 '21 13:11 zgadson

Thanks!

IMG_3423

keiferoh avatar Nov 11 '21 14:11 keiferoh

MWE:

type: custom:swipe-card
start_card: 4
cards:
  - type: entities
    entities:
      - sun.sun
  - type: entities
    entities:
      - sun.sun
      - sun.sun
  - type: entities
    entities:
      - sun.sun
      - sun.sun
      - sun.sun
  - type: entities
    entities:
      - sun.sun
      - sun.sun
      - sun.sun
      - sun.sun

image

Case start_card: 4 works erratically. Sometimes it causes displaying "4 rows card", sometimes it displays nothing.

ildar170975 avatar Nov 12 '21 20:11 ildar170975