Skip to content

Commit

Permalink
add logos
Browse files Browse the repository at this point in the history
  • Loading branch information
Aohzan committed Oct 24, 2023
1 parent 9236dd3 commit 199ccf6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions custom_components/prix_carburant/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ def __init__(self, station_id, station_info, fuel, coordinator) -> None:
self._attr_entity_picture = "https://upload.wikimedia.org/wikipedia/fr/8/8c/Logo_Groupe_Les_Mousquetaires.svg"
case "Leclerc":
self._attr_entity_picture = "https://upload.wikimedia.org/wikipedia/commons/e/ed/Logo_E.Leclerc_Sans_le_texte.svg"
case "Carrefour":
self._attr_entity_picture = "https://upload.wikimedia.org/wikipedia/commons/5/5b/Carrefour_logo.svg"
case "Carrefour Market":
self._attr_entity_picture = "https://upload.wikimedia.org/wikipedia/commons/4/4f/Carrefour_market_logo.svg"

self._attr_device_info = DeviceInfo(
identifiers={(DOMAIN, self.station_id)},
Expand Down

0 comments on commit 199ccf6

Please sign in to comment.