Update list-weather.ps1

This commit is contained in:
Markus Fleschutz 2023-01-31 13:31:05 +01:00
parent 0ac70b0858
commit 9189305c29

View File

@ -21,6 +21,7 @@ param([string]$Location = "") # empty means determine automatically
function GetDescription { param([string]$Text) function GetDescription { param([string]$Text)
switch($Text) { switch($Text) {
"Blizzard" { return "❄️ blizzard ⚠️" } "Blizzard" { return "❄️ blizzard ⚠️" }
"Blowing snow" { return "❄️ blowing snow ⚠️" }
"Clear" { return "🌙 clear" } "Clear" { return "🌙 clear" }
"Cloudy" { return "☁️ cloudy" } "Cloudy" { return "☁️ cloudy" }
"Fog" { return "🌫 fog" } "Fog" { return "🌫 fog" }
@ -47,6 +48,7 @@ function GetDescription { param([string]$Text)
"Patchy light snow" { return "❄️ patchy light snow" } "Patchy light snow" { return "❄️ patchy light snow" }
"Patchy moderate snow" { return "❄️ patchy moderate snow" } "Patchy moderate snow" { return "❄️ patchy moderate snow" }
"Patchy rain possible" { return "💧 patchy rain possible" } "Patchy rain possible" { return "💧 patchy rain possible" }
"Patchy snow possible" { return "❄️ patchy snow possible" }
"Sunny" { return "☀️ sunny" } "Sunny" { return "☀️ sunny" }
"Thundery outbreaks possible" { return "thundery outbreaks possible" } "Thundery outbreaks possible" { return "thundery outbreaks possible" }
default { return "$Text" } default { return "$Text" }