mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-16 13:20:56 +00:00
Append id to nest accessory name
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -13,4 +13,8 @@ npm-debug.log
|
||||
|
||||
# HomeBridge
|
||||
config.json
|
||||
config.test.json
|
||||
persist/
|
||||
|
||||
|
||||
.AppleDouble
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user