Closed Revilo91 closed 3 months ago
I am having the same issue with "show_empty: false" resulting in an empty space in my dashboard when the card is empty. This may be different than #20479 because for that issue it looks like a conditional card causing the issue and not the show_empty option. Conditional cards work for me without a space, but the following card using "show_empty: false" does result in an unwanted space:
card:
show_state: false
title: Batteries
type: glance
entities:
- sensor.laundry_room_battery
- sensor.living_room_battery
- sensor.bedroom_battery
show_empty: false
state_filter:
- '0'
type: entity-filter
Auto-entities custom card also have same issue for me, just as conditional cards.
Can be fixed using the new visibility property and a helper variable. Can be closed here. #20840 (core 2024.6.0b4 / frontend 20240530.0)
Checklist
Describe the issue you are experiencing
If you used "show_empty: false" in the "old" view, these lines were hidden. If you now use this in the new section view, it will no longer be hidden quite as much as before.
Describe the behavior you expected
No line should be visible anymore
Steps to reproduce the issue
1. 2. 3. ...
What version of Home Assistant Core has the issue?
core-2024.4.0b7
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Google Chrome Version 122.0.6261.95 (64-Bit)
Which operating system are you using to run this browser?
Windows 10 / 11
State of relevant entities
No response
Problem-relevant frontend configuration
Javascript errors shown in your browser console/inspector
No response
Additional information
Sidebar View
Section View