diff --git a/custom_components/prixCarburant/sensor.py b/custom_components/prixCarburant/sensor.py index 8c98da6..16520bb 100644 --- a/custom_components/prixCarburant/sensor.py +++ b/custom_components/prixCarburant/sensor.py @@ -119,7 +119,7 @@ def icon(self) -> str: return self._icon @property - def device_state_attributes(self): + def extra_state_attributes(self): """Return the device state attributes of the last update.""" attrs = {