Skip to content

Commit

Permalink
use extra_state_attributes
Browse files Browse the repository at this point in the history
closes #111
  • Loading branch information
pinkywafer committed Dec 13, 2021
1 parent 2a8f623 commit 312b8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/anniversaries/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def state(self):
return self._state

@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the state attributes."""
res = {}
res[ATTR_ATTRIBUTION] = ATTRIBUTION
Expand Down

0 comments on commit 312b8ba

Please sign in to comment.