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

Sensor card is squashed #21317

Closed
4 tasks done
bbs2web opened this issue Jul 6, 2024 · 5 comments
Closed
4 tasks done

Sensor card is squashed #21317

bbs2web opened this issue Jul 6, 2024 · 5 comments

Comments

@bbs2web
Copy link

bbs2web commented Jul 6, 2024

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

Sensor cards are now half the height they were before, don't like the text superimposed the way it is now.

https://www.home-assistant.io/dashboards/sensor/

What it looks like now:
image

in safe mode:
image

Describe the behavior you expected

Restore original size of sensor cards in dashboards

Steps to reproduce the issue

Upgrade to 2024.07.1, then force refresh the UI

What version of Home Assistant Core has the issue?

2024.7.1

What was the last working version of Home Assistant Core?

2024.7.0

In which browser are you experiencing the issue with?

Google Chrome 126.0.6478.127

Which operating system are you using to run this browser?

Microsoft Windows 11 Enterprise 23H2 (build 22631.3810)

State of relevant entities

No response

Problem-relevant frontend configuration

Dashboard:
type: vertical-stack
cards:
  - graph: line
    type: sensor
    detail: 2
    entity: sensor.pv_power
    name: Solar
    hours_to_show: 48

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

@a1ex-ak
Copy link

a1ex-ak commented Jul 6, 2024

Снимок экрана от 2024-07-06 12-09-21

@Blacksli
Copy link

Blacksli commented Jul 6, 2024

2024.7.0

IMG_20240706_141510_996

2024.7.1
IMG_20240706_141501_630

@bbs2web
Copy link
Author

bbs2web commented Jul 6, 2024

I'm using a vertical-stack card, the following doesn't appear to have any affect:

    layout_options:
      grid_columns: 1
      grid_rows: 4

Couldn't get a 'before' image, the post by Blacksli demonstrates the problem though:
[Blacksli](#21317 (comment))

@piitaya
Copy link
Member

piitaya commented Jul 6, 2024

Fixed with #21313. It will be fixed in 2024.7.2 release.

@bbs2web
Copy link
Author

bbs2web commented Jul 6, 2024

Thank you @piitaya . Got it tweaked to my liking using a sections view dashboard, where I could then specify the columns and rows:

  - icon: mdi:home-lightning-bolt
    title: Garage
    path: garage
    type: sections
    max_columns: 1
    sections:
      - type: grid
        cards:
          - graph: line
            type: sensor
            detail: 2
            entity: sensor.inverter_pv_power
            name: Solar
            hours_to_show: 48
            layout_options:
              grid_columns: 4
              grid_rows: 3

image

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

5 participants