Another question about dashboard header!

Hi,

I'm trying to adapt this code for my needs, however it would be good if one ui_template could handle multiple changes.

Is it possible to substitute the values classname and headerstatus with data from the msg.

eg use something like msg.element_id , msg.elem and msg payload to allow any property of any element to be set via the payload ?

Thanks

@ robertsLando