I think you'll find it's an issue in that release.
I reported it to Nick for v1.0.0-beta.2.
See below...
I've just upgraded to NR v1.0.0-beta-2 and found the fill and/or shape attribute doesn't work.
Here's a snippet that used to work fine in the previous release.
Cheers from David
var fsm_state = flow.get("state_counter");
if (fsm_state === 0 || fsm_state == 1){
msg.payload = 1;
node.status({fill:"red",shape:"dot",text:"Red ON"});
}
else {
msg.payload = 0;
node.status({});
}
return msg;
After some testings I found that fill and shape attribute doesn't work after first occurrence. And somehow the debug node can still handle the status with shape correctly.
Works until you once set empty object to status
node.status({});