Codacy issues fix : reduce complexity 9
Codacy issues fix : reduce complexity 9

arlemi/node-red-node-watson,ylecleach/node-red-node-watson,arlemi/node-red-node-watson,DanCunnington/node-red-node-watson,chughts/node-red-node-watson,ylecleach/node-red-node-watson,chughts/node-red-node-watson,DanCunnington/node-red-node-watson