Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swiper card in tabbed card > preview OK, result extremely large #75

Open
TAGVL opened this issue Apr 25, 2023 · 0 comments
Open

swiper card in tabbed card > preview OK, result extremely large #75

TAGVL opened this issue Apr 25, 2023 · 0 comments

Comments

@TAGVL
Copy link

TAGVL commented Apr 25, 2023

I tried adding a swiper card to my dashboard with below code. The preview looks promessing but once I save it the swiper card gets gigantic and shows 99,9% blank. When I swipe to Neerslag-card I get no preview in the saved dashboard. Code I use is below. Note; I use this piece of code in a tabbed card (code also below). Any idea what I'm doing wrong / what is missing? If I use the swiper card directly on the dashboard, so not in a tabbed card, it seems to work propperly.

swipe preview

Code of swiper card

type: custom:swipe-card
cards:
  - show_current: true
    show_forecast: true
    type: weather-forecast
    entity: weather.xxxx
  - type: custom:neerslag-card
    entity: sensor.neerslag_buienalarm_regen_data
    title: Neerslag

Code of complete tabbed card:

type: vertical-stack
cards:
  - type: custom:swipe-card
    cards:
      - show_current: true
        show_forecast: true
        type: weather-forecast
        entity: weather.xxxx
  - type: custom:neerslag-card
    entity: sensor.neerslag_buienalarm_regen_data
    title: Neerslag
  - type: custom:mushroom-media-player-card
    entity: media_player.woonkamer
    icon: mdi:volume-high
    fill_container: false
    name: HomePod
    volume_controls:
      - volume_mute
      - volume_set
      - volume_buttons
    media_controls:
      - on_off
      - shuffle
      - previous
      - play_pause_stop
      - next
      - repeat
    collapsible_controls: true
view_layout:
  grid-area: middle
@TAGVL TAGVL changed the title swiper card preview OK, result extremely large swiper card in tabbed card preview OK, result extremely large Apr 25, 2023
@TAGVL TAGVL changed the title swiper card in tabbed card preview OK, result extremely large swiper card in tabbed card > preview OK, result extremely large Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant