thomasloven / lovelace-layout-card

🔹 Get more control over the placement of lovelace cards.
MIT License
1.05k stars 125 forks source link

Is the layout-break... broken? #290

Open ostracizado opened 3 months ago

ostracizado commented 3 months ago

My Home Assistant version: 2024.6.0

After the Core's update, even on vertical-layout the layout-break-card doesn't have any effect.

Ex:

title: Bathroom
path: bathroom
icon: mdi:toilet
type: custom:vertical-layout
cards:
  - type: vertical-stack
    cards:
      - text: Bathroom Lights
        type: custom:text-divider-row
      - type: horizontal-stack
        cards:
          - square: false
            type: grid
            columns: 1
            cards:
              - type: entities
                entities:
                  - entity: switch.sonoff_bathrom_sonoff_bathroom_l1
                    name: Celling Light
                    icon: mdi:ceiling-light
                  - entity: switch.sonoff_bathrom_sonoff_bathroom_l2
                    name: Wall Lights
                    icon: mdi:lightbulb-multiple
                  - entity: switch.sonoff_bathrom_nightlight
                    name: Nightlight
                    icon: mdi:square-circle
  - type: entities
    entities:
      - entity: input_boolean.shower_timer
  - type: custom:layout-break
  - type: vertical-stack
    cards:
      - text: Dehumidifier
        type: custom:text-divider-row
      - type: horizontal-stack
        cards:
          - type: entities
            entities:
              - entity: sensor.dehumidifier_plug_current
              - entity: sensor.dehumidifier_plug_current_consumption
              - entity: switch.dehumidifier_plug
            state_color: true
  - type: custom:mini-media-player
    entity: media_player.bathroom_speaker
    source: icon
    artwork: cover-fit
    info: short
layout:
  width: 300
  max_cols: 10

layout


By putting an X in the boxes ([X]) below, I indicate that I:

hanshorstink commented 3 months ago

The same view shows no breaks on my smaller laptop screen, but it does on a larger secondary screen I use.

N3orun commented 1 month ago

Came here to state the same. Had to move to horizontal layout for my fire wall panel, but that doesn't respect ordering as i want it to. Please advise. Thanks!

mastria commented 1 month ago

Looks like a duplicate of https://github.com/thomasloven/lovelace-layout-card/issues/291, which looks like it got fixed.

N3orun commented 1 month ago

Looks like a duplicate of #291, which looks like it got fixed.

break isnt doing anything for me in vertical still.