Skip to content

Commit

Permalink
Merge pull request #32 from licheng5625/patch-1
Browse files Browse the repository at this point in the history
device_state_attributes -> extra_state_attributes
  • Loading branch information
iantrich authored Jan 31, 2022
2 parents dbf04bc + 1c27ffe commit acb59b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/places/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def entity_picture(self):
return self._entity_picture

@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the state attributes."""
return{
ATTR_STREET_NUMBER: self._street_number,
Expand Down

0 comments on commit acb59b8

Please sign in to comment.