diff --git a/homeassistant/components/suez_water/sensor.py b/homeassistant/components/suez_water/sensor.py index 77b1de6555e..4c0fe16a197 100644 --- a/homeassistant/components/suez_water/sensor.py +++ b/homeassistant/components/suez_water/sensor.py @@ -93,7 +93,8 @@ class SuezSensor(SensorEntity): # _state holds the volume of consumed water during previous day self._state = self.client.state self._available = True - self._attributes["attribution"] = self.client.attributes["attribution"] + self._attr_attribution = self.client.attributes["attribution"] + self._attributes["this_month_consumption"] = {} for item in self.client.attributes["thisMonthConsumption"]: self._attributes["this_month_consumption"][