diff --git a/WeatherDashboard.Console/Program.cs b/WeatherDashboard.Console/Program.cs index b42a93c..ec8259e 100644 --- a/WeatherDashboard.Console/Program.cs +++ b/WeatherDashboard.Console/Program.cs @@ -30,10 +30,11 @@ var apiUrl = configuration["ApiUrl"]; var gotifyUrl = configuration["GotifyUrl"]; var weatherSet = await httpClient.GetFromJsonAsync(apiUrl); +var todaysForecast = weatherSet.Forecast.FirstOrDefault().Summary; var notificationResponse = await httpClient.PostAsJsonAsync(gotifyUrl, new { title = "Weather Conditions", - message = $"{weatherSet.Current.ConditionName} and {weatherSet.Current.Temperature} degrees", + message = $"Today will be {todaysForecast.ConditionName} a high of {todaysForecast.HighTemp} and a low of {todaysForecast.LowTemp}. Currently, it is {weatherSet.Current.ConditionName} and {weatherSet.Current.Temperature} degrees.", priority = 5 }); \ No newline at end of file