Wanting to confirm how a dashboard button is supposed to work

:thinking: however, in my button change example it is possible:
you have to inject:

node.send({ui_control:{onicon:"fa-3x fa-lightbulb-o",oncolor:"#e6d00b"},label:"on",payload:true});

and this one to change icon, color ... :

node.send({ui_control:{officon:"fa-2x fa-lightbulb-o",offcolor:"grey"},label:"off",payload:false});

to a Switch node , and put variables in :


optionnal : {{msg.label}}

@Trying_to_learn did you try this example ?
What makes this work ? @dceejay says it's not possible? magic? lol