diff --git a/SmartGlass/Device.cs b/SmartGlass/Device.cs index ef1517f..a616679 100644 --- a/SmartGlass/Device.cs +++ b/SmartGlass/Device.cs @@ -127,6 +127,7 @@ public static async Task PowerOnAsync(string liveId, int times = 5, int /// Friendly name /// Live ID /// Hardware Id + [JsonConstructor] public Device(DeviceType type, IPAddress address, string name, string liveId, Guid hardwareId) { Address = address;