Skip to content

Commit

Permalink
Merge pull request #12 from sebcaps/apiupdate
Browse files Browse the repository at this point in the history
Update quality level list
  • Loading branch information
sebcaps authored Dec 27, 2023
2 parents f365d29 + bf8f3f5 commit ab90641
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion custom_components/atmofrance/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,16 @@
CONF_INSEE_CODE = "INSEE"
CONF_CITY = "city"
TITLE = "Atmo France"
QUALITY_LEVEL = {1: "Bon", 2: "Moyen", 3: "Dégradé", 4: "Mauvais", 5: "Trés Mauvais"}
QUALITY_LEVEL = {
0: "Indisponible",
1: "Bon",
2: "Moyen",
3: "Dégradé",
4: "Mauvais",
5: "Trés Mauvais",
6: "Extrêmement mauvais",
8: "Évènement",
}
REFRESH_INTERVALL = 60


Expand Down

0 comments on commit ab90641

Please sign in to comment.