Skip to content

Commit

Permalink
Correct constant declaration order
Browse files Browse the repository at this point in the history
  • Loading branch information
kamaradclimber committed Nov 19, 2024
1 parent 2ae213e commit 67b8f53
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions custom_components/vigieau/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

GEOAPI_GOUV_URL = "https://geo.api.gouv.fr/communes?&fields=code,nom,centre"
HA_COORD = 0
ZIP_CODE = 1
SELECT_COORD = 2

LOCATION_MODES = {
HA_COORD: "Coordonnées Home Assistant",
Expand All @@ -24,11 +26,8 @@

NAME = "Vigieau"

SELECT_COORD = 2

VIGIEAU_API_URL = "https://api.vigieau.gouv.fr"

ZIP_CODE = 1
ZONE_TYPES = {
"SUP": "Eaux de surface",
"AEP": "Alimentation en eau potable",
Expand Down

0 comments on commit 67b8f53

Please sign in to comment.