diff --git a/fakegato-history.js b/fakegato-history.js index 84aa819..b062fce 100644 --- a/fakegato-history.js +++ b/fakegato-history.js @@ -90,7 +90,7 @@ module.exports = function(pHomebridge) { constructor(accessoryType, accessory, size) { if (typeof size === 'undefined') { size = 4032; } - super(accessory.name + " History", 'E863F007-079E-48FF-8F27-9C2605A29F52'); + super(accessory.displayName + " History", 'E863F007-079E-48FF-8F27-9C2605A29F52'); var entry2address = function(val) { var temp = val % this.memorySize; @@ -282,4 +282,4 @@ module.exports = function(pHomebridge) { } return FakeGatoHistoryService; -} \ No newline at end of file +}