Add a name to the accessory as well

This commit is contained in:
Sam Edwards
2015-08-25 12:12:58 -07:00
parent 7d5caae96d
commit 1050b4e550

View File

@@ -93,6 +93,7 @@ MiLight.prototype = {
.setCharacteristic(Characteristic.Manufacturer, "MiLight")
.setCharacteristic(Characteristic.Model, this.type)
.setCharacteristic(Characteristic.SerialNumber, "MILIGHT12345");
.setCharacteristic(Characteristic.Name, this.name);
var lightbulbService = new Service.Lightbulb();