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

Reduced Size After HASS Update 2024.7 #88

Open
TonyMontuna opened this issue Jul 7, 2024 · 7 comments
Open

Reduced Size After HASS Update 2024.7 #88

TonyMontuna opened this issue Jul 7, 2024 · 7 comments

Comments

@TonyMontuna
Copy link

TonyMontuna commented Jul 7, 2024

I am unable to modify the size of the swipe card. I had two line graphs on each tab of my dashboard within a swipe card.

After updating, the graphs are half the height and illegible from mobile or web browsers .

It has no visual editor so the new sizing options are challenging as I'm unsure of a YAML code to restore the full size.

@abenedet78
Copy link

abenedet78 commented Jul 8, 2024

Same issue for me. Here's an image:

image

Here's the code:
`type: custom:swipe-card
card_width: calc(100% - 48px)
parameters:
centeredSlides: true
slidesPerView: auto
spaceBetween: 16
initialSlide: 0
cards:

  • type: sensor
    entity: sensor.humidity_upstairs_washroom_humidity
    hours_to_show: 48
    detail: 1
    graph: line
    name: Bathroom Humidity
    icon: mdi:water
    card_mod:
    class: graph
  • type: sensor
    entity: sensor.my_ecobee_current_humidity
    hours_to_show: 48
    detail: 1
    graph: line
    name: Ecobee Humidity
    icon: mdi:water
    card_mod:
    class: graph
  • type: sensor
    entity: sensor.weatherflow_relative_humidity_2
    hours_to_show: 48
    detail: 1
    graph: line
    name: Weatherflow Humidity
    icon: mdi:water
    card_mod:
    class: graph
    `

@TonyMontuna
Copy link
Author

Bump.... the latest patch update causes it to looks ever more weird
0

@TonyMontuna
Copy link
Author

@bramkragten is this still maintained or has this been deprecated? Not trying to be a pest but I noticed other issues logged without reply so want to know if this is something I should move on from. Love it, it's awesome, but if there's no plans to fix it I can move on from it.

@uszke
Copy link

uszke commented Jul 19, 2024

@TonyMontuna @abenedet78 does the problem occur when you use bare sensor card with card_mod: class: graph only?

Cause for me it does not matter if it's inside of the swipe card or not. And it's started from latest update I guess.
It's probably not swipe card related issue but core home assistant or card mod

@TonyMontuna
Copy link
Author

TonyMontuna commented Jul 19, 2024 via email

@abenedet78
Copy link

@uszke - good question. The bare card appears to work fine when I remove card_mod: class: graph.

@abenedet78
Copy link

This appears to be an issue if you use the "Rounded" theme (I do). If so, this suggestion fixed my issue:
https://community.home-assistant.io/t/rounded-dashboard-guide/543043/518

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

3 participants