Skip to content

Commit

Permalink
Update tools.py (Agip & Gulf) (#72)
Browse files Browse the repository at this point in the history
Added wikimedia logos for Agip & Gulf
  • Loading branch information
Nickduino authored Nov 3, 2024
1 parent 1b34d2b commit 0ae1024
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions custom_components/prix_carburant/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ def get_entity_picture(brand: str) -> str: # noqa: C901
match brand:
case "Aldi":
return "https://upload.wikimedia.org/wikipedia/commons/2/2c/Aldi_Nord_201x_logo.svg"
case "Agip":
return "https://upload.wikimedia.org/wikipedia/fr/a/ad/Agip.svg"
case "Atac":
return "https://upload.wikimedia.org/wikipedia/fr/c/c3/Logo_Atac_2015.svg"
case "Auchan":
Expand Down Expand Up @@ -357,6 +359,8 @@ def get_entity_picture(brand: str) -> str: # noqa: C901
return "https://upload.wikimedia.org/wikipedia/commons/0/0e/Esso-Logo.svg"
case "Géant":
return "https://upload.wikimedia.org/wikipedia/commons/3/31/Hypermarche_Geant_Casino.jpg"
case "Gulf":
return "https://upload.wikimedia.org/wikipedia/commons/7/70/Gulf_logo.png"
case "Huit à 8":
return (
"https://upload.wikimedia.org/wikipedia/fr/9/98/Logo_8_%C3%80_Huit.svg"
Expand Down

0 comments on commit 0ae1024

Please sign in to comment.