Update upstream weatherapi alert handling
This commit is contained in:
@@ -20,10 +20,8 @@ Current conditions are unavailable.
|
||||
## Hourly Forecast
|
||||
{{ with .Modules.HourlyForecast }}{{ range .Periods }}
|
||||
- **{{ if .HourLabel }}{{ .HourLabel }}{{ else }}{{ .Name }}{{ end }}:**{{ with .TemperatureF }} {{ . }}°F{{ end }}{{ with .TextDescriptionLower }} and {{ . }}{{ else }}{{ with .TextDescription }} and {{ . }}{{ end }}{{ end }}.{{ if .MentionPrecipitation }}{{ with .ProbabilityOfPrecipitationPercent }} Probability of precipitation is {{ . }}%.{{ end }}{{ end }}
|
||||
{{ else }}
|
||||
- No hourly forecast rows are available.
|
||||
{{ end }}{{ else }}
|
||||
- No hourly forecast rows are available.
|
||||
{{ else }}- No hourly forecast rows are available.
|
||||
{{ end }}{{ else }}- No hourly forecast rows are available.
|
||||
{{ end }}
|
||||
|
||||
{{ template "precipitation_timing" . }}
|
||||
|
||||
Reference in New Issue
Block a user