Using templates in Lovelace. Pretty much only the markdown card supports that.
Call a script that resets your helper or use this custom card and JavaScript templates: