diff --git a/wakeonlan/integrationpluginwakeonlan.cpp b/wakeonlan/integrationpluginwakeonlan.cpp index 0f2fb10e..c2f1f685 100644 --- a/wakeonlan/integrationpluginwakeonlan.cpp +++ b/wakeonlan/integrationpluginwakeonlan.cpp @@ -69,7 +69,7 @@ void IntegrationPluginWakeOnLan::discoverThings(ThingDiscoveryInfo *info) if (networkDevice.hostName().isEmpty()) { title = networkDevice.address().toString(); } else { - title = networkDevice.address().toString() + " (" + networkDevice.hostName() + ")"; + title = networkDevice.hostName() + " (" + networkDevice.address().toString() + ")"; } QString description; if (networkDevice.macAddressManufacturer().isEmpty()) {