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

Use variable in visibility options #2

Open
jenseo opened this issue Nov 11, 2024 · 0 comments
Open

Use variable in visibility options #2

jenseo opened this issue Nov 11, 2024 · 0 comments

Comments

@jenseo
Copy link

jenseo commented Nov 11, 2024

Let me first just say, your improved version of the decluttering card is a godsend, this is exactly how I want to work with my dashboards.

Is your feature request related to a problem? Please describe.
It seems that the variables set in the decluttering template can't be used in the visibility options and I have to use a conditional card for that. Unfortunately, this rules out being able to use decluttering card, since a conditional card inside a decluttering template will still take up space, since the decluttering card is not hidden.

Describe the solution you'd like
If it would be possible to use the variables of decluttering card inside the visibility options, this would greatly improve things in my opinion. My use case for instance is to display a quick toggle for each room to turn of all lights in a room, but would only want to show the toggle for the room if there is a light on in that particular room. This to reduce the risk of accidentally turning on a light in a room where the kids are asleep for instance.

Describe alternatives you've considered
Conditional card, but it gives the problem I describe above and it would be awesome not having to duplicate a lot of conditional cards for every entity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant