Skip to content

Commit

Permalink
Merge pull request #18 from raman325/extra
Browse files Browse the repository at this point in the history
Switch to using extra_state_attributes
  • Loading branch information
maykar authored Dec 14, 2021
2 parents 0386f2c + 90f2cfb commit 66dd8c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/radarr_upcoming_media/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def state(self):
return self._state

@property
def device_state_attributes(self):
def extra_state_attributes(self):
attributes = {}
if self.change_detected:
"""Return JSON for the sensor."""
Expand Down

0 comments on commit 66dd8c7

Please sign in to comment.