Is it possible to hide a header button based on a variable value? If it is not can it be added to the existing widget?
If not, here is my scenario and let me know if I can solve using another method. I have a pump that can run in auto mode or manual mode. In manual mode I want to use a push button widget that controls the output via downlink (start/stop), but if the pump is in auto mode I do not want the user to be able to see the push button widget because it in fact has no function when in auto mode.
So either hiding a header button, the widget as a whole or something is what I am looking for.
Thanks!