fix: return --- if the device was created without a name

This commit is contained in:
Andrew Welker
2025-06-26 14:14:04 -04:00
parent 253b2cddaf
commit c9b3205736
3 changed files with 101 additions and 86 deletions

View File

@@ -248,7 +248,7 @@ namespace PepperDash.Essentials.Core
foreach (var dev in Devices.Values.OfType<ICommunicationMonitor>())
{
CrestronConsole.ConsoleCommandResponse($"{dev.Key}|{dev.Name}: {dev.CommunicationMonitor.Status}\r\n");
CrestronConsole.ConsoleCommandResponse($"{dev}: {dev.CommunicationMonitor.Status}\r\n");
}
}