Update discovery result look of wol network devices
This commit is contained in:
parent
bae410388a
commit
2945c474da
@ -69,7 +69,7 @@ void IntegrationPluginWakeOnLan::discoverThings(ThingDiscoveryInfo *info)
|
|||||||
if (networkDevice.hostName().isEmpty()) {
|
if (networkDevice.hostName().isEmpty()) {
|
||||||
title = networkDevice.address().toString();
|
title = networkDevice.address().toString();
|
||||||
} else {
|
} else {
|
||||||
title = networkDevice.address().toString() + " (" + networkDevice.hostName() + ")";
|
title = networkDevice.hostName() + " (" + networkDevice.address().toString() + ")";
|
||||||
}
|
}
|
||||||
QString description;
|
QString description;
|
||||||
if (networkDevice.macAddressManufacturer().isEmpty()) {
|
if (networkDevice.macAddressManufacturer().isEmpty()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user