lib/lifx/light.js
function Light(constr) {
  this.client = constr.client;
  this.id = constr.id; // Used to target the light
  this.address = constr.address;
  this.port = constr.port;
  this.label = null;
  this.status = 'on';

  this.seenOnDiscovery = constr.seenOnDiscovery;
}
function Light(constr) {
  this.client = constr.client;
  this.id = constr.id; // Used to target the light
  this.address = constr.address;
  this.port = constr.port;
  this.label = null;
  this.status = 'on';

  this.seenOnDiscovery = constr.seenOnDiscovery;
}
function Light ( constr ) { this . client = constr . client ; this . id = constr . id ; // Used to target the light this . address = constr . address ; this . port = constr . port ; this . label = null ; this . status = 'on' ; this . seenOnDiscovery = constr . seenOnDiscovery ; }
A representation of a light bulb
@class
@param {Obj} constr constructor object
@param {Lifx/Client} constr.client the client the light belongs to
@param {String} constr.id the id used to target the light
@param {String} constr.address ip address of the light
@param {Number} constr.port port of the light
@param {Number} constr.seenOnDiscovery on which discovery the light was last seen
A representation of a light bulb