Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95437

Empty horizontal-stack results in a gap

$
0
0

@kses wrote:

I really like the new improvements with cards filling out space. It works great execpt for one part where I have a horizontal stack that only has conditional stacks. When empty it results in an extra white space. Someone knows how to fix it?

This is the card that is empty in the picture.

          - type: horizontal-stack
            cards:
            - type: conditional
              conditions:
                - entity: binary_sensor.you_have_mail
                  state: 'on'
              card:
                type: entity-button
                entity: binary_sensor.you_have_mail
                icon: mdi:email
                name: You have mail

            - type: conditional
              conditions:
                - entity: group.all_plants
                  state: 'problem'
                - entity: sensor.all_plant_status_moisture
                  state: 'off'
              card:
                type: entity-button
                entity: group.all_plants
                icon: mdi:flower-tulip
                name: Check the flowers
                tap_action:
                  action: call-service
                  service: input_boolean.turn_on
                  service_data:
                    entity_id: input_boolean.mute_flowers

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95437

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>