Skip to content

Commit

Permalink
device_state_attributes -> extra_state_attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
hmmbob authored Dec 5, 2021
1 parent 6301590 commit fe2a773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/spotcast/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit fe2a773

Please sign in to comment.