From e2157aed9cca89a4d19559da71722f6bdfc1a791 Mon Sep 17 00:00:00 2001 From: Francesco Carucci Date: Fri, 23 Oct 2015 13:08:35 -0700 Subject: [PATCH] Append id to nest accessory name --- .gitignore | 4 ++++ platforms/Nest.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 81a1589..1ed5cf8 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,8 @@ npm-debug.log # HomeBridge config.json +config.test.json persist/ + + +.AppleDouble diff --git a/platforms/Nest.js b/platforms/Nest.js index 9d225c0..7853a67 100644 --- a/platforms/Nest.js +++ b/platforms/Nest.js @@ -47,7 +47,7 @@ function NestThermostatAccessory(log, name, device, deviceId) { if (name) { this.name = name; } else { - this.name = "Nest"; + this.name = "Nest" + device.serial_number; } this.model = device.model_version; this.serial = device.serial_number;