Inspired by browser_mod and state-switch I have created a local version of conditional card. It allows to show/hide any card without need for binary inputs or other integrations. Perfect for displaying additional options or details without messing up other users’ interface.
First, really nice card and thanks for your work! Highly appreciated.
My post is more a request as a feedback. From my perspective, this card doesn’t match my dashboard style (unfortunately). One feature would make this card absolutely incredible. If you check custom restriction card, it adds a transparent layer over every card, while this laser acts as a switc, to toggle to lock or unlock the underlying card. So any card can be used.
I imagine a combination of the transparent layer with this local conditional card. With such an approach, we could design own cards, add them under local conditional card and the transparent layer button toggles the cards on and off. This would make this card incredible.
It should be possible to toggle visibility of this card from any other card, entities card is used just as an example. You just have to set appropriate tap-action and it should work. Would this meet your expectations?
Latest HA update broke some of my cards in terms of spacing. If you have placed your cards in e.g. a grid card, all hidden cards will cause a gap. Really annoying.
I found one work around for my mini local cards, by putting the cards into a custom:vertical-stack-in-card helps to keep the spacing correct.