diff --git a/custom_components/spotcast/sensor.py b/custom_components/spotcast/sensor.py index eebb4e11..211915be 100755 --- a/custom_components/spotcast/sensor.py +++ b/custom_components/spotcast/sensor.py @@ -38,7 +38,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 @@ -81,7 +81,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