public async Task Disconnect() { if (WeatherData != null) { Logger.Info("Disconnected Weather Device"); } if (updateTimer != null) { await updateTimer.Stop(); } WeatherData?.Disconnect(); WeatherData = null; WeatherDataInfo = DeviceInfo.CreateDefaultInstance <WeatherDataInfo>(); BroadcastWeatherDataInfo(); RaisePropertyChanged(nameof(WeatherData)); }