Easier way to show dynamic data in buttons

I've been able to use an AppleScript Widget button to show some dynamic text in a stream deck button, but when I want something simple (like just displaying the value of a BTT variable), it would be great if that could be built-in as a merge variable somehow in the text engine.

You can display a BTT variable like this:

The problem is, this will only be refreshed when the button is rendered, which might not be super useful for dynamic data.