mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-28 05:24:29 +00:00
Fix lint error.
This commit is contained in:
@@ -51,7 +51,7 @@ class NetworkMap {
|
||||
const friendlyName = friendlyDevice ? friendlyDevice.friendly_name : device.ieeeAddr;
|
||||
|
||||
// Add friendly name
|
||||
labels.push(friendlyName+":"+device.nwkAddr);
|
||||
labels.push(`${friendlyName}:${device.nwkAddr}`);
|
||||
|
||||
// Add the device type
|
||||
const deviceType = utils.correctDeviceType(device);
|
||||
|
||||
Reference in New Issue
Block a user