Add provider to device data.

This commit is contained in:
Simo Kinnunen
2014-01-29 20:54:04 +09:00
parent 389db73f08
commit 6ab252857f
6 changed files with 29 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ module.exports = function(options) {
function pushDeviceStatus(device, type) {
push.send([wireutil.global,
wireutil.makeDeviceStatusMessage(device.id, type)])
wireutil.makeDeviceStatusMessage(device.id, type, options.name)])
}
function isWantedDevice(device) {