Coder Social home page Coder Social logo

Comments (11)

piitaya avatar piitaya commented on July 25, 2024 2

Condition cards are not compatible yet with sections. It will come in the future, it's an the roadmap to improve the compatibility with existing cards.

from frontend.

dshokouhi avatar dshokouhi commented on July 25, 2024

Just for the sake of completeness wanted to attach a screenshot here. I have a lot of stacked conditions that I like to see at the top of the page for items that need attention. I have rebuilt my conditions in the UI. Below is a before vs after comparison.

image
image

from frontend.

piitaya avatar piitaya commented on July 25, 2024

@dshokouhi Are you using the latest version of HA (2024.3.1) ?

from frontend.

piitaya avatar piitaya commented on July 25, 2024

Can you share the yaml code to reproduce it? 🙂

from frontend.

dshokouhi avatar dshokouhi commented on July 25, 2024

@piitaya apologize I thought I was using conditional cards but apparently I misspoke and they are entity-filter type 😅

here is a sample YAML from the above screenshots: https://pastebin.com/0YycyXzF

let me know if you prefer I create a new issue for this

from frontend.

piitaya avatar piitaya commented on July 25, 2024

No it's ok to keep this issue open 🙂 thank you

from frontend.

Ali229 avatar Ali229 commented on July 25, 2024

I'm on
Core
2024.4.0
Supervisor
2024.03.1
Operating System
12.1
Frontend
20240403.1

this is still an issue - empty space being occupied by conditional card:
image

from frontend.

piitaya avatar piitaya commented on July 25, 2024

@Ali229 can you share the yaml code?

from frontend.

Ali229 avatar Ali229 commented on July 25, 2024

type: vertical-stack
cards:

  • type: conditional
    conditions:
    • entity: sensor.washer
      state: 'on'
      card:
      type: custom:laundry-card
      entity: sensor.washer
  • type: conditional
    conditions:
    • entity: binary_sensor.washer_error_state
      state: 'on'
      card:
      square: false
      columns: 2
      type: grid
      cards:
      • type: entity
        entity: binary_sensor.washer_error_state
        name: Error State
        icon: mdi:washing-machine-alert
      • type: entity
        entity: sensor.washer_error_message
        name: Error Msg
        icon: mdi:message-alert

from frontend.

piitaya avatar piitaya commented on July 25, 2024

Remove your vertical stack, it's not useful in sections. You can directly use conditional card in the section.

from frontend.

Ali229 avatar Ali229 commented on July 25, 2024

That's what it was thank you!

from frontend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.