I’d like to combine layout-card and entity-filter so that I can have “horizontal” cards (via layout-cards), but only the ones with useful info (via entity-filter). However they do not seem to be playing well together. My sample YAML:
title: My Awesome Home
views:
- path: test-yaml
title: Example
panel: true
badges: []
cards:
- type: custom:layout-card
layout: horizontal
cards:
- type: entity-filter
show_empty: false
entities:
- entity: binary_sensor.updater
state_filter:
- 'on'
- type: weather-forecast
entity: weather.home
This gives me a horizontal layout as desired, and the enitity-filters work. However, if the entity filters ends up with no card (e.g. show_empty=false), no card is displayed ( ), however space is left for the card ( ). That is, the weather card is right justified rather than being centered. How do I get a filtered card to truly not take space?