I start using swiper card only a few days ago.
I have a problem to show swiper on mobile. Using the HA app the swiper as not show.
In the images below you can see the view on mobile and on PC
Thatâs not the correct Github repo. Itâs been moved a long time ago to:
which is the HACS repo as well.
The last update was on june 2020, so 1,5 years ago (version 4.0). Not much activity by the developer. but that version (from HACS) is better and more updated than the one you linked (which is still linked in the first post by the creator).
I really hope they just integrate swiper card as a core HA card. I believe Bram works with core as well. Iâm really worried what will happen to swiper-card when a future HA update breaks the card and the dev doesnât update it⌠Gonna mess up my interface by a big amount.
I donât think this has to do with swiper card directly, but with how you setup the grid.
To make sure, replace the swiper card with an temporary button card to test. If that shows the same behavior, itâs your grid layout and you need to investigate that further.
If a button card does work as you expect, then itâs swiper card and you can create a ticket on Github. Keep in mind though, the card was last updated 1,5 years ago.
Perhaps a workaround would be to insert the swiper card inside a vertical-stack card. Then that card will be loaded by layout card first.
after some testing, itâs prob something clashing with the grid + swiper card, as I have tried it with other codes with the same problem, but the custom button card works fine without a swiper card. ill try inserting the swiper card inside a vertical-stack card a try and see if that fixes it, thanks
edit: just adding a vertical-stack didnât work so I added a horizontal-stack + a grid on top of that and it fixed the issue
Hi everyone, does anyone know how to force swiper card to remain on the current card? I am currently using swiper to scroll between two picture elements cards displaying each floor of my home. The issue I am running into is that the view automatically resets to the first card upon any button press or state change taking place on the second card. I have looked at the YAML for others who I have seen running a similar setup and are not encountering this issue but cannot identify what I am doing incorrectly. I would greatly appreciate any pointers anyone can offer!
This is my initial lovelace config (excluding sidebar). I have tried messing around with the initialSlide and start_card parameters but canât seem to find the trick:
And in case it is helpful, this is the YAML from the second card where the issue is occurring. I only have a default image and a single light overlay/button while I get things up and running.
Lot of folks seem to be getting this t.setConfig error - I was also in the same boat and hence wasnât able to use this card.
Buf one of the comments made in the posts above related to error being due to underlying cards not being loaded upfront made me go on the right track.
To solve this I used the:
card to have the underlying cards pre-loaded when lovelace is brought up. My underlying cards are media related and my config for lovelace has this as the first 3 linesâŚ
Once I did this it solved my problem and I donât see the t.setConfig error or even if itâs visible initially for some transient time it recovers within a few seconds by itself without hitting the refresh buttonâŚ
Hope it helps folks running into this issue and not able to use this wonderful custom card option.
I have a real headache at this stage. All i want is Homekit Style buttons in swiper card. For that i use the custom swiper card and the custom button card. Issue is the size. I want them square but i get them only as a rectangle. Or a mix like in this screenshot:
perhaps someone can me help with two problems, the first, he cuts my shadows of the card at the bottom and the right side, the left side, and a little bit at the top.
the second problem, is it possible to move the bubbles a little bit deeper ? or to the right side?
Did you ever get this to work? I am trying the same thing and have successfully embedded a swipe card in a button card, but the swipe function doesnât work at all, it only shows the start card with no option to swipe