Hello @Winston_Ewert,
how about creating a “small” custom widget. Check
- HABPanel Development & Advanced Features: Start Here!
- Template widget - tutorial & examples - make your own widget!
Here you could show/hide the buttons depending on the state of an item.
e.g. via
<div ng-if="itemState('Test') != 'ON'">
The static elements then just remain standard widgets.