Dynamically change Gauge Units value

I am using a toggle function to change the values sent to a Gauge [ MPH - Knots ] and the principle gauge function is working well. The toggle also sets a global variable speed_units to reflect "MPH" or "KTS" depending on the state.

However I just cannot fathom how to modify the Gauge node units section to reflect the value of speed_units. I must say I am very new to this!

I wonder if anyone can kindly advise if this is possible, please?

Providing a simple version of your flow would make understanding your issue lots easier.

The unit field will not take mustache template.
but you can use {{speed_var}} {{speed_unit}} in the value format field

That is totally brilliant! Thank you very much - we now have an excellent result!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.