Cover question

My garage door opener is a cover. I want the cover control on my dashboard to NOT open or close the garage when pressed under certain circumstances (e.g., to not allow us to open it inadvertently while nobody is home).

However the cover UI object in the dashboard does not allow any conditions before opening it when you tap on the up or down arrow.

Is my only option to replace the cover UI with two buttons, one for open and one for close, in which case I can add conditions in the scripts or automations that are called for the opening or closing - checking first to see whether or not I am home to determine if the button press should be ignored?

(I don’t think I can programmatically enable/disable the cover on the dashboard…?)

You could use this to lock the control if you are not home:

1 Like

Thank you @tom_l , that gets me halfway there… What about the cover card when shown in ui_minimalist?

No idea. I’ve never used it.