diff --git a/custom_components/weatherrating/sensor.py b/custom_components/weatherrating/sensor.py index f7c2e01..8e73eef 100644 --- a/custom_components/weatherrating/sensor.py +++ b/custom_components/weatherrating/sensor.py @@ -64,7 +64,7 @@ def state(self): return self._state @property - def device_state_attributes(self): + def extra_state_attributes(self): # Return the state attributes. return self._attributes