This commit is contained in:
Jules 2025-05-05 19:12:41 +02:00
parent 5b5c83401d
commit 7407cd3b58
Signed by: jdejaegh
GPG key ID: 99D6D184CA66933A

View file

@ -2,6 +2,7 @@ from typing import Final
from irm_kmi_api.data import IrmKmiConditionEvol from irm_kmi_api.data import IrmKmiConditionEvol
# TODO enum as well for those three values?
POLLEN_NAMES: Final = {'Alder', 'Ash', 'Birch', 'Grasses', 'Hazel', 'Mugwort', 'Oak'} POLLEN_NAMES: Final = {'Alder', 'Ash', 'Birch', 'Grasses', 'Hazel', 'Mugwort', 'Oak'}
POLLEN_LEVEL_TO_COLOR = {'null': 'green', 'low': 'yellow', 'moderate': 'orange', 'high': 'red', 'very high': 'purple', POLLEN_LEVEL_TO_COLOR = {'null': 'green', 'low': 'yellow', 'moderate': 'orange', 'high': 'red', 'very high': 'purple',
'active': 'active'} 'active': 'active'}