private void OnDeviceConnectionLost(object sender, DeviceErrorEventArgs e) { Devices.FirstOrDefault(d => d.Id == e.Device.Id)?.Update(); _userDialogs.HideLoading(); _userDialogs.ErrorToast("Error", $"Connection LOST {e.Device.Name}", TimeSpan.FromMilliseconds(6000)); }