Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visibility conditions do not work #161

Open
jploonstra opened this issue Sep 7, 2024 · 3 comments
Open

visibility conditions do not work #161

jploonstra opened this issue Sep 7, 2024 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@jploonstra
Copy link

I like your card (a lot) better then the standard vertical stack card, but your card does not support the usage of:

visibility:
  - condition: state
    entity: "some entity"
    state: "Some State"

inside the embedded cards

I use the vertical stack for instance with my espresso maker, to only show most entities when the machine is on, and hide them when it's off

Hope you find a solution to this soon!

@lacrima08
Copy link

Hi,

Same for me here, visibility condition doesn't work with vertical-stack-in-card while it's ok with "basic" vertical stack card

@ofekashery ofekashery added bug Something isn't working help wanted Extra attention is needed labels Dec 12, 2024
@Kanecaine
Copy link

I use this card in the new section view. The visibility conditions and the layout options only work to a limited extent in this case: I can set both settings and they are applied, but as soon as I open the editor the next time, the settings are reset.

For example, the UI editor removes the following card settings:

grid_options:
  columns: full
  rows: 3
visibility:
  - condition: state
    entity: switch.test
    state: “on”

This means that these settings must be made again each time a change is made. Perhaps this behavior has the same cause as with the other users.

@RobertoCravallo
Copy link

Same problem, my visibility entries disappear when I edit the card. Up to that point, the visibility setting is respected and works. Just don't edit the card again.... ;-) or be aware that with each change, the "visibility" has to be setup again.

A fix would be nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants