Hi,
Based on some research here I built a flow to manage my icon of a button for my light.
My flow start with a node that listen to the current state of my light.
If state is OFF I send this icon :
node.send({ui_control:{"icon":"iconify-emojione-monotone:light-bulb 8em"}});
If state is ON I send this icon :
node.send({ui_control:{"icon":"iconify-emojione:light-bulb 8em"}});
And the end of my flow is a node to toggle the light.
My concern is that after a state changed of my light the icon is not updated. Well in fact, the icon is updated but the dashboard do not refresh. If I force a full refresh of the page in the browser I can then see the new icon.
Is there a way to get the button refreshed ?
thanks