Update discovery result look of wol network devices

This commit is contained in:
Simon Stürz 2021-06-08 13:24:19 +02:00
parent bae410388a
commit 2945c474da

View File

@ -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()) {