🌻 Lovelace UI • Minimalist

Hi guys a couple questions -

  1. I have an older UI-Minimalist that I have built up and built up, and I see some people try to update the dashboard in the UI. I would assume that would never work and of course I get error messages when I try to do the same. If I start fro scratch is there now some way to have that configurable in the UI (I wouold think not?)?

  2. I have a cover in ui-minialist for my garage door; is there a way to put code for a condition in place, triggered by the click, to disallow it opening, such as if it is clicked while I am not home for exacmple? I know how to do all the coding but not where or how to insert the condition. As a workaround, is there a way on the fly to hide or disable that cover in UI-minimalist depending end upon some condition (such as my location)? The only way I can think of doing this is to remove the cover and place there instead an up and down button and write the ‘click’ condition and actions myself (which I can easily do but it is a hassle)… Anyone have an elegant solution to this?

There is a lovelace restriction card but I do not know if it would work with UI-minimalist…? Lovelace Restriction Card - Client-side Security