Skip to content

Commit

Permalink
Switch to using extra_state_attributes (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
raman325 authored Dec 14, 2021
1 parent add0b2a commit ecf06f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/sonarr_upcoming_media/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def state(self):
return self._state

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

0 comments on commit ecf06f0

Please sign in to comment.