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…?)