mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Add new mapped weather condition classes to Météo France (#33450)
* Update Meteo_France Weather constants Updating Meteo_France integration with more weather "condition" returned by the web service. Adding: - "Nuit claire" (note the lower 'c') mapped to "clear-night" - "Brume" mapped to "fog" * Black formatting update
This commit is contained in:
parent
9508c51403
commit
0e3c1dc031
@ -83,9 +83,14 @@ SENSOR_TYPES = {
|
||||
}
|
||||
|
||||
CONDITION_CLASSES = {
|
||||
"clear-night": ["Nuit Claire"],
|
||||
"clear-night": ["Nuit Claire", "Nuit claire"],
|
||||
"cloudy": ["Très nuageux"],
|
||||
"fog": ["Brume ou bancs de brouillard", "Brouillard", "Brouillard givrant"],
|
||||
"fog": [
|
||||
"Brume ou bancs de brouillard",
|
||||
"Brume",
|
||||
"Brouillard",
|
||||
"Brouillard givrant",
|
||||
],
|
||||
"hail": ["Risque de grêle"],
|
||||
"lightning": ["Risque d'orages", "Orages"],
|
||||
"lightning-rainy": ["Pluie orageuses", "Pluies orageuses", "Averses orageuses"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user