Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Raimond Brookman committed Nov 21, 2018
1 parent b937449 commit ea87115
Show file tree
Hide file tree
Showing 3 changed files with 144 additions and 74 deletions.
4 changes: 0 additions & 4 deletions daylight-rgbw.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ module.exports = function(RED) {
this.colorTemp = this.minTemp;

var node = this;
var msg = {};

// This will be executed on every input message
this.on('input', function (msg) {
Expand Down Expand Up @@ -81,9 +80,6 @@ module.exports = function(RED) {

this.log("Color-temp:" + this.colorTemp);

node.uri = null;
node.value = null;

this.status({fill:"yellow",shape:"ring",text:"calculating for:" + this.colorTemp.toFixed(1)});

if(this.itemState == "ON")
Expand Down
Loading

0 comments on commit ea87115

Please sign in to comment.