point blinkstick to latest pre-req

and remove rtf tags
This commit is contained in:
Dave Conway-Jones
2016-02-22 18:56:42 +00:00
parent b33571b240
commit fa1453c0d4
4 changed files with 25 additions and 13 deletions

View File

@@ -253,6 +253,7 @@ module.exports = function(RED) {
//Sanitize color value
node.color = msg.payload.toLowerCase().replace(/\s+/g,'');
if (node.color === "amber") { node.color = "#FFBF00"; }
if (node.color === "off") { node.color = "#000000"; }
}
if (Object.size(node.led) !== 0) {